I does look like an SSL problem , but I'm quite confident the certificate is valid, it is a wildcard certificate issued by Godaddy/Starfield to the entire domain and is used by other servers in the domain without problem. It is definitely not expired. Also, I have no problem accessing the "problem" server with SSL via the tunnel from my location. It is when they try to access from behind their firewall they get the problem.
But, as suggested, I disabled SSL. I did this by unchecking the SocketFactory.useSSL: checkbox. Again, no problem accessing from our site, but when the customer tries he gets:
- Code: Select all
Jan 3, 2011 2:21:12 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:12 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
Jan 3, 2011 2:21:12 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:12 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
ERROR - Debug - Error getting the service servoy.IApplicationServer from host cbh1.cmhcihost.net:1099
java.rmi.ConnectException: Connection refused to host: cbh1.cmhcihost.net; nested exception is:
java.net.ConnectException: could not connect to port=1099 of server with id=null
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1739)
at com.servoy.j2db.smart.J2DBClient.startApplicationServer(J2DBClient.java:1718)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:286)
at com.servoy.j2db.smart.J2DBClient.applicationServerInit(J2DBClient.java:1075)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:750)
at com.servoy.j2db.smart.J2DBClient$5.run(J2DBClient.java:669)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: could not connect to port=1099 of server with id=null
at com.sebster.tunnel.impl.rd.createSocket(rd.java:2)
at com.servoy.j2db.server.rmi.tunnel.WrappingCompressingRMIClientSocketFactory.createSocket(WrappingCompressingRMIClientSocketFactory.java:28)
... 19 more
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at com.sebster.tunnel.impl.vb.g(vb.java:147)
at com.sebster.tunnel.impl.me.connect(me.java:2)
at com.sebster.tunnel.port.PortTunnelClient.connect(PortTunnelClient.java:10)
at com.sebster.tunnel.impl.rd.createSocket(rd.java:16)
... 20 more
ERROR - Debug - Failure error in the tunnel, trying to reconnect
java.io.IOException: Error in read
at com.sebster.tunnel.impl.nd.a(nd.java:66)
at com.sebster.tunnel.impl.lc.h(lc.java:123)
at com.sebster.tunnel.impl.lc.d(lc.java:43)
at com.sebster.tunnel.impl.lc.read(lc.java:167)
at com.sebster.tunnel.impl.nd.a(nd.java:48)
at com.sebster.tunnel.impl.ie.run(ie.java:48)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: server error: Not Implemented
at com.sebster.tunnel.impl.cd.run(cd.java:39)
... 1 more
Jan 3, 2011 2:21:13 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:13 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
Jan 3, 2011 2:21:13 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:13 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
Jan 3, 2011 2:21:13 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:13 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
Jan 3, 2011 2:21:13 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:13 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
ERROR - Debug - Fatal Exception
ERROR - Debug - Error reregistering client
java.lang.NullPointerException
at com.servoy.j2db.ClientState.registerClient(ClientState.java:575)
at com.servoy.j2db.smart.J2DBClient.registerClient(J2DBClient.java:3354)
at com.servoy.j2db.smart.J2DBClient$32.run(J2DBClient.java:3807)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
ERROR - Debug - Throwable
java.lang.NullPointerException
at com.servoy.j2db.ClientState.registerClient(ClientState.java:575)
at com.servoy.j2db.smart.J2DBClient.registerClient(J2DBClient.java:3354)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:288)
at com.servoy.j2db.smart.J2DBClient.applicationServerInit(J2DBClient.java:1075)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:750)
at com.servoy.j2db.smart.J2DBClient$5.run(J2DBClient.java:669)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
ERROR - Debug - Failure error in the tunnel, trying to reconnect
java.io.IOException: Error in read
at com.sebster.tunnel.impl.nd.a(nd.java:66)
at com.sebster.tunnel.impl.lc.h(lc.java:123)
at com.sebster.tunnel.impl.lc.d(lc.java:43)
at com.sebster.tunnel.impl.lc.read(lc.java:167)
at com.sebster.tunnel.impl.nd.a(nd.java:48)
at com.sebster.tunnel.impl.ie.run(ie.java:48)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: server error: Not Implemented
at com.sebster.tunnel.impl.cd.run(cd.java:39)
... 1 more
Jan 3, 2011 2:21:28 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:28 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
ERROR - Debug - Failure error in the tunnel, trying to reconnect
java.io.IOException: Error in read
at com.sebster.tunnel.impl.nd.a(nd.java:66)
at com.sebster.tunnel.impl.lc.h(lc.java:123)
at com.sebster.tunnel.impl.lc.d(lc.java:43)
at com.sebster.tunnel.impl.lc.read(lc.java:167)
at com.sebster.tunnel.impl.nd.a(nd.java:48)
at com.sebster.tunnel.impl.ie.run(ie.java:48)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: server error: Not Implemented
at com.sebster.tunnel.impl.cd.run(cd.java:39)
... 1 more
Jan 3, 2011 2:21:28 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:28 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
Jan 3, 2011 2:21:28 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:28 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
Jan 3, 2011 2:21:28 PM com.sebster.tunnel.impl.jb b
INFO: using proxy http://10.10.1.3:80
Jan 3, 2011 2:21:28 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
ERROR - Debug - Error reregistering client
java.lang.NullPointerException
at com.servoy.j2db.ClientState.registerClient(ClientState.java:575)
at com.servoy.j2db.smart.J2DBClient.registerClient(J2DBClient.java:3354)
at com.servoy.j2db.smart.J2DBClient$32.run(J2DBClient.java:3807)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
ERROR - Debug - Failure error in the tunnel, trying to reconnect
java.io.IOException: Error in read
at com.sebster.tunnel.impl.nd.a(nd.java:66)
at com.sebster.tunnel.impl.lc.h(lc.java:123)
at com.sebster.tunnel.impl.lc.d(lc.java:43)
at com.sebster.tunnel.impl.lc.read(lc.java:167)
at com.sebster.tunnel.impl.nd.a(nd.java:48)
at com.sebster.tunnel.impl.ie.run(ie.java:48)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: server error: Not Implemented
at com.sebster.tunnel.impl.cd.run(cd.java:39)
... 1 more
ERROR - Debug - Failure error in the tunnel, trying to reconnect
java.io.IOException: Error in read
at com.sebster.tunnel.impl.nd.a(nd.java:66)
at com.sebster.tunnel.impl.lc.h(lc.java:123)
at com.sebster.tunnel.impl.lc.d(lc.java:43)
at com.sebster.tunnel.impl.lc.read(lc.java:167)
at com.sebster.tunnel.impl.nd.a(nd.java:48)
at com.sebster.tunnel.impl.ie.run(ie.java:48)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: server error: Not Implemented
at com.sebster.tunnel.impl.cd.run(cd.java:39)
... 1 more
So the SSL mesages are gone. But why is it trying to access port 1099, which is probably plugged by his firewall? I noticed the same error when using SSL. I thought the whole idea of the HTTP tunnel was to only use port 8080?
BTW - I agree about the HTTP version, if that is indeed the problem I'll talk with them about upgrading, but I think something else is going on here. I should mention that this server, like our others, is hosted on Amazon, so it's not a question of local access vs over the internet.