Can't sync with Connect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2013 11:47 AM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2013 12:19 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2013 10:28 AM
I do have the exact same issue when running a nuxeo in OpenShift.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2013 03:14 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2013 10:00 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2013 11:31 AM
> Julien, do you mean that therefore httpclient 3.x with its regular API cannot be used anywhere on OpenShift?
