First of all I want to say how much I appreciate your application; it has really made my life easier! However, the last couple of months I have been getting irregular error messages when trying to connect to my desktop Mac through the 3G network (in Sweden) via my iPhone. Approx 4 out of 5 times I get the following error: “Connection Closed: The server closed the connection” when the connection status says “loading screen” (never during the earlier stages of the connection procedure). I then have to try to reconnect 2-5 times before the app manages to establish a working connection.
I have been trying to locate the cause; I think these error messages first appeared en masse when I upgraded to Snow Leopard, but since I upgraded some time ago I can’t be really sure. I’ve also upgraded my iphone OS a couple of times since the problem first appeared, without any changes to the above situation.
Do you have any ideas of what might be causing this? Any possible resolutions?
I use the following setup:
iPhone 3GS (3.1.2)
Jaadu VNC 3.0.1
Jaadu VNC Connect
Netgear RangeMax router
PS. I have also been in touch with the Jaadu-people concerning this. During this dialogue I tried switching to the generic OSX Screen sharing method and the connection problems went away at once - so I figure the problem must have something to do with the Vine application.
Check the Console utility on your Mac and see if Vine is logging any error messages.
I can’t seem to find any errors. One strange thing is that at the same time as I get the error message the VineServer.log file gets erased and the server starts over again with the following text:
2010-02-11 07:50:13 +0100 Starting Vine Server 3.12Beta(1058)
-rfbport 0 -desktop Adrien-Combier-Hoggs-iMac (ACH) -donotloadproxy -rfbauth /Users/ACH/.vinevncauth -restartonuserswitch N -UnicodeKeyboard 0 -keyboardLoading N -pressModsForKeys N -EventTap 3 -EventSource 2 -swapButtons -rendezvous Y
2010-02-11 07:50:13.227 OSXvnc-server[39004:903] Arguments: -rfbport 0 -desktop Adrien-Combier-Hoggs-iMac (ACH) -donotloadproxy -rfbauth /Users/ACH/.vinevncauth -restartonuserswitch N -UnicodeKeyboard 0 -keyboardLoading N -pressModsForKeys N -EventTap 3 -EventSource 2 -swapButtons -rendezvous Y
2010-02-11 07:50:13.231 OSXvnc-server[39004:903] Main Bundle: /Applications/Vine Server.app/Contents/Resources
2010-02-11 07:50:13.232 OSXvnc-server[39004:903] Loading Bundle /Applications/Vine Server.app/Contents/Resources/TigerBundle.bundle
2010-02-11 07:50:13.234 OSXvnc-server[39004:903] Loading Bundle /Applications/Vine Server.app/Contents/Resources/JaguarBundle.bundle
objc: Class VNCBundle is implemented in both /Applications/Vine Server.app/Contents/Resources/TigerBundle.bundle/Contents/MacOS/TigerBundle and /Applications/Vine Server.app/Contents/Resources/JaguarBundle.bundle/Contents/MacOS/JaguarBundle. One of the two will be used. Which one is undefined.
2010-02-11 07:50:13.245 OSXvnc-server[39004:903] Running in Little Endian
2010-02-11 07:50:13.249 OSXvnc-server[39004:903] Waiting for clients
2010-02-11 07:50:13.249 OSXvnc-server[39004:2b03] Using Private Event Source
2010-02-11 07:50:13.251 OSXvnc-server[39004:2b03] Using Smart Event Tap – HID for console user
2010-02-11 07:50:13.252 OSXvnc-server[39004:2b03] Registering Bonjour Service(_rfb._tcp.) - Adrien-Combier-Hoggs-iMac (ACH)
2010-02-11 07:50:13.253 OSXvnc-server[39004:4103] IPv6: Failed to Bind Socket: Port 5900 may be in use by another VNC
2010-02-11 07:50:13.254 OSXvnc-server[39004:2b03] Started Listener Thread on port 5900
2010-02-11 07:50:14.506 OSXvnc-server[39004:903] Waiting for clients
Again, when the error occurs, what has been entered in the log gets erased and the above gets written. I think its the exact same thing that happens when you manually push the “Restart Server” button… Could the server automatically restarting itself each time I get the mentioned connection error?
- when I try other servers (OSX generic, RealVNC Enterprise) the problem doesn’t seem to occur at all…
One might think that this solves the problem. However, I think that Vine is better for my purposes than the other server solutions.
Yes, Vine could definitely be restarting – there is an option under “Startup” called “Restart server if it stops unexpectedly”. If that’s checked and the underlying server crashes it will restart.
However, I’m not sure what would be causing the crash in the first place.