Hi Everyone,
I really hope someone can help me here - I've been working on this every morning and evening for over a week straight... I've been using regular VNC for awhile now on port 23 (one of the few that were open), but my work changed some firewall / proxy settings and it no longer works. Worse, TightVNC with its HTTP daemon won't work on port 80 because it makes use of another port that is blocked (I've even tried 80 & 23 but I'll try again on 80 & 21). So, I realized I needed something that would work in a web browser *and* sent all data / connections on port 80. The best thing I could find was Jim Redman's VNC HTTP Tunneling that is supposed to send all data via valid HTTP packets on whatever port you specify as your web server:
http://www.ergotech.com/misc/VNCProxy.html
It's been difficult to configure for someone with my level of knowledge (I had to install Java SDK, TiniHttpServer, 1Wire, Java Communications, and his Java Servlet - none of which I am very familiar with). I got it partially working, but I've come to a point where Jim doesn't think he can help me much more. Does anyone else have experience with getting this to work OR have another suggestion for me to try?
I have my own LAN at home behind a LinkSys firewall + router (both machines are 2 GHz & run Win XP). Here are the problems I'm having with Jim's VNC HTTP Tunneling:
1. When having a friend try to access my system remotely, he gets either of the following messages in his Applet window (depending on whether I have my local IP or external domain name specified for the servlet):
A. Error: Unable to check numeric address 192.168.1.160.
B. Sorry, try again.
2. When accessing the system on my LAN that is running TiniHttpServer, Jim's Java Servlet, and TightVNC, I get a lot of errors in the Java console on the computer I'm connecting *from*. It's very slow response on everything, but I do get authenticated, it detects the desktop name, the dektop size, and even displays the desktop after a long while, but it usually doesn't let me do anything to control the other computer and if I can, it takes a minute or so to process a single click (view only seems to work a little better). Here is the primary error I get in the Java Console on the computer I'm connecting from:
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at ServerOutputStream.write(ServerOutputStream.java:64)
at RfbProto.writeVersionMsg(RfbProto.java:172)
at VncViewer.tryAuthenticate(VncViewer.java:342)
at VncViewer.connectAndAuthenticate(VncViewer.java:324)
at VncViewer.run(VncViewer.java:145)
at java.lang.Thread.run(Thread.java:536)


Any ideas?  I've also received this error once or twice:
java.lang.Exception: Framebuffer update rectangle too large: 15079x16247 at
(7608,62350)
       at RfbProto.readFramebufferUpdateRectHdr(RfbProto.java:384)
       at VncCanvas.processNormalProtocol(VncCanvas.java:293)
       at VncViewer.run(VncViewer.java:177)
       at java.lang.Thread.run(Thread.java:536)
Error: Framebuffer update rectangle too large: 15079x16247 at (7608,62350)

I would be happy to email anyone that may be able to help with all my properties files, logs, html page, etc. Just let me know!

I had also gotten this error until I enabled loopback connections in the VNC server:
"Error: Local loop-back connections are disabled."


Here's the *full* Java Console text when I've been trying to connect and control the computer:
SecurityManager restricts session recording.
RFB server supports protocol version 3.3
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at ServerOutputStream.write(ServerOutputStream.java:64)
at RfbProto.writeVersionMsg(RfbProto.java:172)
at VncViewer.tryAuthenticate(VncViewer.java:342)
at VncViewer.connectAndAuthenticate(VncViewer.java:324)
at VncViewer.run(VncViewer.java:145)
at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at ServerOutputStream.write(ServerOutputStream.java:64)
at VncViewer.tryAuthenticate(VncViewer.java:363)
at VncViewer.connectAndAuthenticate(VncViewer.java:324)
at VncViewer.run(VncViewer.java:145)
at java.lang.Thread.run(Thread.java:536)
VNC authentication succeeded
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at ServerOutputStream.write(ServerOutputStream.java:72)
at RfbProto.writeClientInit(RfbProto.java:208)
at VncViewer.doProtocolInitialisation(VncViewer.java:398)
at VncViewer.run(VncViewer.java:146)
at java.lang.Thread.run(Thread.java:536)
Desktop name is av
Desktop size is 1024 x 768
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at ServerOutputStream.write(ServerOutputStream.java:64)
at RfbProto.writeSetEncodings(RfbProto.java:544)
at VncViewer.setEncodings(VncViewer.java:412)
at VncViewer.doProtocolInitialisation(VncViewer.java:402)
at VncViewer.run(VncViewer.java:146)
at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at ServerOutputStream.write(ServerOutputStream.java:64)
at RfbProto.writeSetPixelFormat(RfbProto.java:495)
at VncCanvas.setPixelFormat(VncCanvas.java:185)
at VncCanvas.<init>(VncCanvas.java:80)
at VncViewer.run(VncViewer.java:147)
at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at ServerOutputStream.write(ServerOutputStream.java:64)
at RfbProto.writeFramebufferUpdateRequest(RfbProto.java:470)
at VncCanvas.processNormalProtocol(VncCanvas.java:278)
at VncViewer.run(VncViewer.java:177)
at java.lang.Thread.run(Thread.java:536)
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at RfbProto.writePointerEvent(RfbProto.java:641)
at VncCanvas.processLocalMouseEvent(VncCanvas.java:1231)
at VncCanvas.mouseMoved(VncCanvas.java:1183)
at java.awt.Component.processMouseMotionEvent(Component.java:5179)
at java.awt.Component.processEvent(Component.java:4935)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
java.io.IOException: Server returned HTTP response code: 500 for URL:
<http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250>http://192.168.1.160/servlet/VNCProxyServlet?CLIENT_ID=1048307848250
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:709)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:268)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
at java.net.URLConnection.getContentLength(URLConnection.java:370)
at ServerOutputStream$HttpClient.sendRequest
(ServerOutputStream.java:169)
at ServerOutputStream.write(ServerOutputStream.java:79)
at RfbProto.writePointerEvent(RfbProto.java:641)
at VncCanvas.processLocalMouseEvent(VncCanvas.java:1231)
at VncCanvas.mouseMoved(VncCanvas.java:1183)
at java.awt.Component.processMouseMotionEvent(Component.java:5179)
at java.awt.Component.processEvent(Component.java:4935)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)


Thanks in advance,
        --Kyle Yamnitz
          The Lesson Plans Page:
                http://www.LessonPlansPage.com
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to