HTTP 1.1 vs 1.0?

Questions, answers, tips and ideas on Servoy Client

HTTP 1.1 vs 1.0?

Postby msedita » Wed Dec 29, 2010 5:08 pm

I have a customer who is having problems running the smart client. They have some kind of terminal services based firewall or filtering. They claim the problem is the we are using http 1.1 and their filter can only handle 1.0. They are asking if we could change it. Does this make sense to anyone? They can run the web client without difficulty.
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 224
Joined: Thu Dec 13, 2007 8:01 pm

Re: HTTP 1.1 vs 1.0?

Postby jcompagner » Wed Dec 29, 2010 5:47 pm

you are using the smart client with the http tunnel?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8248
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: HTTP 1.1 vs 1.0?

Postby msedita » Wed Dec 29, 2010 5:54 pm

No, but I will try it if that might be the problem. The wiki says the tunnel is for a server located behind a firewall, in this case the clients are behind a firewall.
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 224
Joined: Thu Dec 13, 2007 8:01 pm

Re: HTTP 1.1 vs 1.0?

Postby msedita » Thu Dec 30, 2010 12:27 am

OK, I configured the server for http tunneling, I think, and it runs fine from my test computers, however when our customer tries, the client downloads and the login screen outline comes up with as a grey form. This is what his java console shows:
Code: Select all
Could not launch from cache. Will try online mode. [Some of required resources are not cached.]
Dec 29, 2010 4:07:16 PM com.sebster.tunnel.impl.jb b
INFO: using proxy https://10.10.1.3:80
Dec 29, 2010 4:07:16 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
   at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
   at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
   at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)
   at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
   at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
   at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
   at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:417)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:689)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:624)
   at com.sebster.tunnel.impl.jb.a(jb.java:39)
   at com.sebster.tunnel.http.client.HttpTunnelClient.connect(HttpTunnelClient.java:8)
   at com.sebster.tunnel.http.client.AuthenticatingHttpTunnelClient.connect(AuthenticatingHttpTunnelClient.java:6)
   at com.sebster.tunnel.impl.pe.connect(pe.java:2)
   at com.sebster.tunnel.DelegatingTunnelClient.connect(DelegatingTunnelClient.java:5)
   at com.sebster.tunnel.impl.w.<init>(w.java:8)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider$1.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:2)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:10)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:12)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory$RmiSocketFactoryProvider.<init>(ClientTunnelRMISocketFactoryFactory.java:300)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory$RmiSocketFactoryProvider.<init>(ClientTunnelRMISocketFactoryFactory.java:298)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.createFactoryProvider(ClientTunnelRMISocketFactoryFactory.java:252)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.<init>(ClientTunnelRMISocketFactoryFactory.java:240)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at com.servoy.j2db.smart.J2DBClient.initRMISocketFactory(J2DBClient.java:807)
   at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:744)
   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)
Dec 29, 2010 4:07:20 PM com.sebster.tunnel.impl.jb b
INFO: using proxy https://10.10.1.3:80
Dec 29, 2010 4:07:20 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
   at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
   at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
   at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)
   at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
   at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
   at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
   at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:417)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:689)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:624)
   at com.sebster.tunnel.impl.jb.a(jb.java:39)
   at com.sebster.tunnel.http.client.HttpTunnelClient.connect(HttpTunnelClient.java:8)
   at com.sebster.tunnel.http.client.AuthenticatingHttpTunnelClient.connect(AuthenticatingHttpTunnelClient.java:6)
   at com.sebster.tunnel.impl.pe.connect(pe.java:2)
   at com.sebster.tunnel.DelegatingTunnelClient.connect(DelegatingTunnelClient.java:5)
   at com.sebster.tunnel.impl.w.<init>(w.java:8)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider$1.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:2)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:10)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:12)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory$RmiSocketFactoryProvider.<init>(ClientTunnelRMISocketFactoryFactory.java:300)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory$RmiSocketFactoryProvider.<init>(ClientTunnelRMISocketFactoryFactory.java:298)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.createFactoryProvider(ClientTunnelRMISocketFactoryFactory.java:252)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.getRemoteClientSocketFactory(ClientTunnelRMISocketFactoryFactory.java:264)
   at com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1737)
   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)
ERROR - Debug                      - Error getting the service servoy.IApplicationServer from host cbh1.cmhcihost.net:1099
java.lang.NullPointerException
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.getRemoteClientSocketFactory(ClientTunnelRMISocketFactoryFactory.java:265)
   at com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1737)
   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)
Dec 29, 2010 4:07:20 PM com.sebster.tunnel.impl.jb b
INFO: using proxy https://10.10.1.3:80
Dec 29, 2010 4:07:20 PM com.sebster.tunnel.impl.jb b
INFO: jcifs library found; NTLM support enabled
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
   at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
   at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
   at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)
   at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
   at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
   at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
   at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:417)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:689)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:624)
   at com.sebster.tunnel.impl.jb.a(jb.java:39)
   at com.sebster.tunnel.http.client.HttpTunnelClient.connect(HttpTunnelClient.java:8)
   at com.sebster.tunnel.http.client.AuthenticatingHttpTunnelClient.connect(AuthenticatingHttpTunnelClient.java:6)
   at com.sebster.tunnel.impl.pe.connect(pe.java:2)
   at com.sebster.tunnel.DelegatingTunnelClient.connect(DelegatingTunnelClient.java:5)
   at com.sebster.tunnel.impl.w.<init>(w.java:8)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider$1.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:2)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:10)
   at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:12)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory$RmiSocketFactoryProvider.<init>(ClientTunnelRMISocketFactoryFactory.java:300)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory$RmiSocketFactoryProvider.<init>(ClientTunnelRMISocketFactoryFactory.java:298)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.createFactoryProvider(ClientTunnelRMISocketFactoryFactory.java:252)
   at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.getClientSocketFactory(ClientTunnelRMISocketFactoryFactory.java:275)
   at com.servoy.j2db.smart.J2DBClient.exportObject(J2DBClient.java:3254)
   at com.servoy.j2db.smart.J2DBClient.bindUserClient(J2DBClient.java:3226)
   at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:287)
   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)

and it goes on for quite a while. Ignore the "could not load from cache" message, all our servers seem to be doing that and I haven't figured out why, but I don't think it's relevant to this problem.

On the server log, my access looks like this:
Code: Select all
173.15.178.117 - - [29/Dec/2010:15:47:03 -0500] "GET /servoy_messages?lastmodified=1293655598163&language=en_US HTTP/1.1" 200 -
173.15.178.117 - - [29/Dec/2010:15:47:03 -0500] "POST /tunnel HTTP/1.1" 200 -

while his looks like this:
Code: Select all
167.206.231.130 - - [29/Dec/2010:16:08:45 -0500] "GET /servoy_messages?lastmodified=-1&language=en_US HTTP/1.1" 200 632513
167.206.231.130 - - [29/Dec/2010:16:08:47 -0500] "GET /servoy-rmi-portserver HTTP/1.1" 200 4


The client is Windows Vista, IE, java 6.23 So any ideas? They are used to having an on-premise solution that only runs locally on terminal server, with internet access tightly controlled. Now I'm trying to get them to go with a hosted solution and they aren't making it easy. Thanks in advance for any advice.
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 224
Joined: Thu Dec 13, 2007 8:01 pm

Re: HTTP 1.1 vs 1.0?

Postby jcompagner » Fri Dec 31, 2010 11:37 am

when you don't use the tunnel, servoy uses a few http calls to get some data (like the i18n messages and so on)
We use there just the URL class of java from and it seems that http1.1 is hard coded there, so that is not easy to change.
I also don't know, have to ask, if the tunnel would work in http1.0 mode or if it really relies on 1.1 (because it kind of uses a persistent http connection)

the error you get is an ssl error.
Are you using a good certificate on that server that you connect to?
Can you test with none ssl? (so just http)

But that they only support http1.0 which is very old. can't they just upgrade there software?
http1.1 was introduced in 1997! and updates the last time i think in 1999 !! thats more then a decade ago...
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8248
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: HTTP 1.1 vs 1.0?

Postby msedita » Mon Jan 03, 2011 11:18 pm

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.
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 224
Joined: Thu Dec 13, 2007 8:01 pm

Re: HTTP 1.1 vs 1.0?

Postby sebster » Tue Jan 04, 2011 7:34 pm

Hi,

This line:

Code: Select all
Caused by: java.io.IOException: server error: Not Implemented
   at com.sebster.tunnel.impl.cd.run(cd.java:39)


says it all. It's the message in the HTTP response status line from the remote server. It's saying it doesn't implement the HTTP/1.1 protocol. The tunnel does not support HTTP/1.0, which is ancient (RFC dates from 1996, HTTP/1.1 RFC dates from 1999).

Best regards,
Sebastiaan van Erk
Servoy
sebster
 
Posts: 251
Joined: Thu Apr 24, 2003 10:03 am
Location: Utrecht, The Netherlands

Re: HTTP 1.1 vs 1.0?

Postby msedita » Tue Jan 04, 2011 7:55 pm

Thank you very much Sebastiaan. They will have to update their filter.
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 224
Joined: Thu Dec 13, 2007 8:01 pm


Return to Servoy Client

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron