Jump to content

Hello! 👋

These forums are now archived (read only).

Join us on Discord.

synergy terminated unexpectedly with an exit code of 4


Recommended Posts

Esther Singer
I was quite happy with Synergy 1.7.2. FINALLY got THAT to work!!! But now I got a new client computer and needed to re-insatll and configure. I am using a Mac as server and windows PC as client. So what does that error code mean? I already disabled SSL encryption, and allowed windows firewall on the PC CLIENT.[attachment=2]Screen Shot 2015-06-15 at 11.41.44 AM.png[/attachment][attachment=2][attachment=2]Screen Shot 2015-06-15 at 11.41.44 AM.png[/attachment]
Link to post
Share on other sites
Esther - it looks like there is an issue with the configuration. In the screenshot you posted, I can see "cannot read configuration" - but I can't see the reason for it. It's off to the right of what we can see now. If you can run Synergy again, and scroll the log to the right, I hope the reason will become clear. Post a screenshot of that part, and I bet we will be able to find the problem.
Link to post
Share on other sites
Ben Koenig
I get this every once and a while. A temporary file in memory is most likely missing or corrupt. Rebooting the server works for me. Try rebooting the server machine and let me know if it works. Make sure you say off, not suspend/sleep.
Link to post
Share on other sites
Ben Koenig
Wait a second. Why is Synergy looking for your config file in two different locations? This is what I get for normal output: [code]NOTE: config file: /tmp/qt_temp.hZ2527 NOTE: log level: INFO INFO: started server, waiting for clients[/code] For some reason your server is looking for the config file in two (?!) different locations. Copy and past isn't great with images but I see that the [b]ERROR[/b] is looking at a completely different file. [code] INFO: ... Synergy.VR3193 ... ERROR: cannot read configuration ... Synergy.BT3193 [/code] Those extensions are different. If you didn't get a file not found error then I would assume your Mac had learned to think for itself! My previous post mentioned rebooting. Other ideas include exporting your config to a file and manually loading it.
Link to post
Share on other sites
Esther Singer
ok heres the complete code: I figured its a configuration thing, because when i use "use existing configuration", Synergy runs. but then it doesn't connect to client. Server is a Mac OSX 10.8.5 NOTE: starting server NOTE: config file: /Applications/Synergy.app NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-22 10:54:34.854 synergys[284:707] starting cocoa loop NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.HaQ230 NOTE: log level: INFO INFO: drag and drop enabled synergys: no configuration available ERROR: cannot read configuration "/var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.BMJ230": read error: line 34: unknown screen name in switchToScreen NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.TAw230 NOTE: log level: INFO INFO: drag and drop enabled synergys: no configuration available ERROR: cannot read configuration "/var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.RDH230": read error: line 34: unknown screen name in switchToScreen NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.Hts230 NOTE: log level: INFO INFO: drag and drop enabled synergys: no configuration available ERROR: cannot read configuration "/var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.VRB230": read error: line 34: unknown screen name in switchToScreen NOTE: stopping synergy desktop process message from client PC: windows 7 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused
Link to post
Share on other sites
Esther Singer
so where would i find "/var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.VRB230": read error: line 34:" ?
Link to post
Share on other sites
You don't really need to find the configuration file at that path. It wouldn't help you in this case anyway. What you can do is click Configure Server, and then switch to the Hotkeys tab. Delete anything you find in here, click OK, switch back to Configure Interactively, then click Apply. If this is supposed to be the client, you'll have to switch it to Server mode temporarily to do the above. Then you can switch back to Client mode at the end.
Link to post
Share on other sites
Esther Singer
thanks wes. synergy running now. but still these guys not connecting. server design 1 detects client desk4 client: design1s-iMac.local NOTE: starting server NOTE: config file: /Applications/Synergy.app NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-22 10:54:34.854 synergys[284:707] starting cocoa loop NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.HaQ230 NOTE: log level: INFO INFO: drag and drop enabled synergys: no configuration available ERROR: cannot read configuration "/var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.BMJ230": read error: line 34: unknown screen name in switchToScreen NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.TAw230 NOTE: log level: INFO INFO: drag and drop enabled synergys: no configuration available ERROR: cannot read configuration "/var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.RDH230": read error: line 34: unknown screen name in switchToScreen NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.Hts230 NOTE: log level: INFO INFO: drag and drop enabled synergys: no configuration available ERROR: cannot read configuration "/var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.VRB230": read error: line 34: unknown screen name in switchToScreen NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.MyN230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-23 10:16:06.311 synergys[14747:707] starting cocoa loop NOTE: stopping synergy desktop process NOTE: stopping synergy desktop process NOTE: zeroconf server detected: 192.168.0.15 NOTE: starting client NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.ten230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 2015-06-23 10:18:01.636 synergyc[14785:707] starting cocoa loop NOTE: stopping synergy desktop process NOTE: starting client NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.bFr230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 2015-06-23 10:18:04.294 synergyc[14786:707] starting cocoa loop WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 NOTE: stopping synergy desktop process NOTE: starting client NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.snN230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 2015-06-23 10:18:31.404 synergyc[14797:707] starting cocoa loop WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 NOTE: zeroconf server detected: 192.168.0.15 NOTE: stopping synergy desktop process NOTE: starting client NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.lwV230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 2015-06-23 10:19:41.071 synergyc[14822:707] starting cocoa loop NOTE: stopping synergy desktop process NOTE: starting client NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.rMl230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 2015-06-23 10:19:42.530 synergyc[14823:707] starting cocoa loop WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 NOTE: zeroconf server detected: 192.168.0.15 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 WARNING: failed to connect to server: Timed out NOTE: connecting to '192.168.0.15': 192.168.0.15:24798 NOTE: zeroconf client detected: design1s-iMac.local NOTE: zeroconf client detected: Desk4 WARNING: failed to connect to server: Timed out NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.ksR230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-23 10:22:22.574 synergys[14881:707] starting cocoa loop NOTE: zeroconf client detected: Desk4 NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.nWg230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-23 10:24:33.211 synergys[14925:707] starting cocoa loop INFO: screen "design1s-iMac.local" grabbed clipboard 0 from "design1s-iMac.local" INFO: screen "design1s-iMac.local" grabbed clipboard 1 from "design1s-iMac.local" INFO: screen "design1s-iMac.local" grabbed clipboard 0 from "design1s-iMac.local" INFO: screen "design1s-iMac.local" grabbed clipboard 1 from "design1s-iMac.local" INFO: screen "design1s-iMac.local" grabbed clipboard 0 from "design1s-iMac.local" INFO: screen "design1s-iMac.local" grabbed clipboard 1 from "design1s-iMac.local" INFO: screen "design1s-iMac.local" grabbed clipboard 0 from "design1s-iMac.local" INFO: screen "design1s-iMac.local" grabbed clipboard 1 from "design1s-iMac.local" NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.ZtA230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-23 10:38:05.359 synergys[15232:707] starting cocoa loop NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.NSV230 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-23 10:38:06.822 synergys[15233:707] starting cocoa loop Client: Desk4 NOTE: connecting to service... NOTE: connection established INFO: watchdog status: error NOTE: starting client NOTE: config file: C:/Users/Desk/AppData/Local/Temp/qt_temp.Hp2660 NOTE: log level: INFO INFO: service command updated INFO: starting new process activeDesktop:Default INFO: starting new process INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 INFO: watchdog status: ok WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800
Link to post
Share on other sites
Hmmm, it's hard to see what the problem is here. Would you please reboot both systems and post new screenshots of both Synergy windows?
Link to post
Share on other sites
Esther Singer
ok here goes. restarted both NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.HaQ346 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-24 11:41:25.483 synergys[391:707] starting cocoa loop NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.TAw346 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-24 11:41:46.039 synergys[415:707] starting cocoa loop NOTE: zeroconf client detected: Desk4 client: NOTE: zeroconf server detected: 192.168.0.20 NOTE: starting client NOTE: config file: C:/Users/Desk/AppData/Local/Temp/qt_temp.Uh6108 NOTE: log level: INFO NOTE: zeroconf server detected: 192.168.0.15 INFO: service command updated INFO: got ipc shutdown message NOTE: stopped server NOTE: zeroconf server detected: 192.168.0.20 INFO: process 5412 was shutdown gracefully INFO: starting new process activeDesktop:Default INFO: starting new process INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 INFO: watchdog status: ok WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 NOTE: starting client NOTE: config file: C:/Users/Desk/AppData/Local/Temp/qt_temp.em6108 NOTE: log level: INFO INFO: service command updated WARNING: failed to connect to server: Connection was refused INFO: got ipc shutdown message NOTE: stopped client INFO: process 2992 was shutdown gracefully INFO: starting new process activeDesktop:Default INFO: starting new process INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 INFO: watchdog status: ok WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 WARNING: failed to connect to server: Connection was refused
Link to post
Share on other sites
Hmmm, still the same. Still very odd. On the server, open the Synergy menu and go into Preferences and see if the Port is still set to 24800. Did it get changed? That could also cause the behavior showing in the logs, but I don't see it very often.
Link to post
Share on other sites
Esther Singer
no it was 24787 changed to 24800 good news. got this bad news client still crazy not connectiong NOTE: stopping synergy desktop process NOTE: starting server NOTE: config file: /var/folders/nt/dxhb70bd569fpxxsrfv1sj_c0000gn/T/Synergy.bFr346 NOTE: log level: INFO INFO: drag and drop enabled NOTE: started server, waiting for clients 2015-06-29 12:12:36.112 synergys[47643:707] starting cocoa loop NOTE: accepted client connection NOTE: accepted client connection NOTE: accepted client connection NOTE: accepted client connection NOTE: accepted client connection NOTE: accepted client connection NOTE: new client is unresponsive NOTE: accepted client connection NOTE: new client is unresponsive NOTE: accepted client connection NOTE: new client is unresponsive NOTE: accepted client connection NOTE: new client is unresponsive NOTE: accepted client connection NOTE: new client is unresponsive NOTE: new client is unresponsive NOTE: new client is unresponsive NOTE: new client is unresponsive NOTE: accepted client connection NOTE: new client is unresponsive NOTE: accepted client connection NOTE: new client is unresponsive NOTE: accepted client connection NOTE: accepted client connection Client: NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 INFO: watchdog status: ok ERROR: ssl error occurred (generic failure) ERROR: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol ERROR: failed to connect secure socket NOTE: disconnected from server NOTE: stopped client WARNING: detected application not running, pid=6040 INFO: backing off, wait=2s, failures=1 INFO: starting new process activeDesktop:Default INFO: starting new process INFO: drag and drop enabled NOTE: started client NOTE: connecting to '192.168.0.20': 192.168.0.20:24800 INFO: watchdog status: ok ERROR: ssl error occurred (generic failure) ERROR: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol ERROR: failed to connect secure socket NOTE: disconnected from server NOTE: stopped client
Link to post
Share on other sites
Ben Koenig
Glad you got it working! :D I do want to recommend you keep an eye on future releases to get encryption working. Considering that Synergy is designed for remote control having the option to enable SSL is a very good idea.
Link to post
Share on other sites
I do highly recommend going to 1.7.4 once it comes out, there are some very important bug fixes in there, but I would totally understand holding off for a while after that.
Link to post
Share on other sites
  • 2 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...