cancel
Showing results for 
Search instead for 
Did you mean: 

Can't sync with Connect

SJanzen_
Champ on-the-rise
Champ on-the-rise

Recently I have been having trouble syncing my customer's server with my project on Studio. They are using a proxy server, but I'm not sure what port Connect uses to sync my project. I am able to browse the web from the server, so clearly port 80 is open. Does anybody have any idea what port Connect uses? I have pasted the error message from the server log below. Thanks Stuart

2013-02-27 10:31:08,623 INFO  [org.apache.commons.httpclient.HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
2013-02-27 10:31:08,623 INFO  [org.apache.commons.httpclient.HttpMethodDirector] Retrying request
2013-02-27 10:31:12,176 INFO  [org.apache.commons.httpclient.HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
2013-02-27 10:31:12,176 INFO  [org.apache.commons.httpclient.HttpMethodDirector] Retrying request
2013-02-27 10:31:15,489 INFO  [org.apache.commons.httpclient.HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
2013-02-27 10:31:15,489 INFO  [org.apache.commons.httpclient.HttpMethodDirector] Retrying request
2013-02-27 10:31:16,489 WARN  [org.nuxeo.connect.connector.http.ConnectHttpConnector] Connect Server is not reachable
2013-02-27 10:31:16,489 WARN  [org.nuxeo.connect.client.status.ConnectStatusHolder] can not reach connect server
org.nuxeo.connect.connector.CanNotReachConnectServer: Connection refused: connect
	at org.nuxeo.connect.connector.http.ConnectHttpConnector.execServerCall(ConnectHttpConnector.java:138)
	at org.nuxeo.connect.connector.AbstractConnectConnector.execCall(AbstractConnectConnector.java:59)
	at org.nuxeo.connect.connector.AbstractConnectConnector.getConnectStatus(AbstractConnectConnector.java:68)
	at org.nuxeo.connect.connector.http.ConnectHttpConnector.getConnectStatus(ConnectHttpConnector.java:173)
	at org.nuxeo.connect.client.status.ConnectStatusHolder.getStatus(ConnectStatusHolder.java:90)
	at org.nuxeo.connect.client.status.ConnectStatusHolder.getStatus(ConnectStatusHolder.java:70)
	at org.nuxeo.connect.client.jsf.ConnectStatusActionBean.isConnectServerReachable(ConnectStatusActionBean.java:208)
5 REPLIES 5

Julien_Carsique
Elite Collaborator
Elite Collaborator

Hi,

Please provide the version of your Nuxeo server, especially the nuxeo-connect-client version.

Default port is 443 (HTTPS), not 80. Note you can provide some proxy parameters to the Connect client.

Julien_Eluard
Confirmed Champ
Confirmed Champ

I do have the exact same issue when running a nuxeo in OpenShift.

Julien_Eluard
Confirmed Champ
Confirmed Champ

So after some digging it looks like this is due to a limitation of httpclient 3.x which forces a local socket binding on '0.0.0.0'. As OpenShift prevents this it fails.

Florent_Guillau
World-Class Innovator
World-Class Innovator

Julien, do you mean that therefore httpclient 3.x with its regular API cannot be used anywhere on OpenShift? I don't understand why connecting to a remote server would binds locally to 0.0.0.0. Can you share stack traces of what happens? Note that connecting to the Nuxeo Connect server should not require binding to a local port on the Nuxeo server.

Julien_Eluard
Confirmed Champ
Confirmed Champ

> Julien, do you mean that therefore httpclient 3.x with its regular API cannot be used anywhere on OpenShift?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.