Important: Please read the FAQ before posting (or your question may be ignored).
login about faq

Info: I have the server running on a Windows XP 32-bit machine, and a single client running on a Redhat 64-bit machine. Both machines are running version 1.3.1 of Synergy because of a dependency issue for GLIBC++.

The problem is, synergyc is constantly dropping the connection to the server. The process is not crashing, because it has the same PID. However, when I run netstat, I can see that it opens a new local port to connect to the server after each disconnect. I don't think the server is dropping the connection, because when I run a 3rd party tool, CurrPorts, it supplies the time stamp of when the port (24800) was first opened. That time doesn't change unless I kill the server.

I've also noticed that once a connection is dropped, a new port will be opened on the Redhat (client) side. It takes several minutes for the old port to be closed. After several "connect and then the connection drops" scenarios, I'm left with several open ports to the server:24800 in the state of TIME_WAIT.

Any suggestions??

asked Jun 13 '11 at 10:29

jmoney38's gravatar image

jmoney38
11

edited Jun 13 '11 at 13:21

Could you please include a copy of your log file?

(Jun 13 '11 at 15:38) willichan ♦

Sorry for having to copy/paste here - I don't have a server to link to currently.

Client Log

INFO: synergyc.cpp,716: Synergy client 1.3.1 on Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64
DEBUG: CXWindowsScreen.cpp,840: XOpenDisplay(":0.0")
DEBUG: CXWindowsScreenSaver.cpp,339: xscreensaver window: 0x00000000
DEBUG: CXWindowsScreen.cpp,110: screen shape: 0,0 1600x1200 
DEBUG: CXWindowsScreen.cpp,111: window is 0x01800004
DEBUG: CScreen.cpp,38: opened display
NOTE: synergyc.cpp,330: started client
...clipboard stuff...
NOTE: synergyc.cpp,247: connected to server
INFO: CScreen.cpp,98: entering screen
...clipboard stuff...
NOTE: CServerProxy.cpp,315: server is dead
INFO: CScreen.cpp,116: leaving screen
WARNING: synergyc.cpp,265: failed to connect to server: server is not responding
DEBUG: synergyc.cpp,237: retry in 1 seconds
...clipboard stuff...
NOTE: synergyc.cpp,247: connected to server
NOTE: CServerProxy.cpp,315: server is dead
WARNING: synergyc.cpp,265: failed to connect to server: server is not responding
DEBUG: synergyc.cpp,237: retry in 1 seconds
...clipboard stuff...
NOTE: synergyc.cpp,247: connected to server
NOTE: CServerProxy.cpp,315: server is dead
WARNING: synergyc.cpp,265: failed to connect to server: server is not responding
DEBUG: synergyc.cpp,237: retry in 1 seconds
... over and over and over ...

Server log (Windows)

NOTE: accepted client connection
DEBUG: received client "lnstd0604" info shape=0,0 1600x1200
DEBUG: active sides: 2
NOTE: client "lnstd0604" has connected
NOTE: client "lnstd0604" has disconnected
DEBUG: active sides: 2
NOTE: accepted client connection
DEBUG: received client "lnstd0604" info shape=0,0 1600x1200
DEBUG: active sides: 2
NOTE: client "lnstd0604" has connected
NOTE: client "lnstd0604" has disconnected
...
(Jun 13 '11 at 17:08) jmoney38

Are these machines on the same subnet? Are either of them running on wireless?

(Jun 13 '11 at 17:28) willichan ♦

I'm fairly certain they're both on the same subnet - They both have the same subnet mask (255.255.252.0)? Neither computer is using a wireless connection.

(Jun 14 '11 at 07:50) jmoney38

My only recommendation at this point would be to try to resolve whatever dependency issue you have, and load the latest version.

(Jun 14 '11 at 09:59) willichan ♦

Some days, like today, it's acting perfectly fine. My guess would be that it's probably unrelated to the software, and instead a problem with the network traffic. I have spoken with others within my company that use Synergy and they do not have this problem. The communication is over TCP, so the transfer of the packets should be guaranteed for as long as the connection remains open on both ends. Could you or anyone else provide any thoughts on what could disrupt the communication between the client and server?

Also one other question - Based on the log output I provided, which entity do you think is closing the connection first? The server? I could look into the code for myself, but maybe you know based on that output.

Thanks for the input!

(Jun 14 '11 at 12:02) jmoney38

Cheap Network Routers and Switches can plague a network with "Ghost problems". But hey, you get what you pay for. My suggestion is to monitor it and log it, if a router, or switch reboot fixes the problem then you've narrowed it down, pat yourself on the back and pick up a cisco 2950 on ebay for $20-30.

Krazy2K

(Jun 14 '11 at 22:48) Krazy2k
showing 5 of 7 show all

Can't say which is loosing connection first, but that doesn't really make much difference. Your problem sounds like a network issue. I would let your IT department/person know, so they can trace the problem. It may be network hardware, or you may have a machine on your network that is generating excessive network traffic.

link

answered Jun 15 '11 at 11:27

willichan's gravatar image

willichan ♦
54110

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×66
×60

Asked: Jun 13 '11 at 10:29

Seen: 687 times

Last updated: Jun 15 '11 at 11:28

powered by OSQA