error loop connecting to systray

Bug #808693 reported by Shish on 2011-07-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Syncany
Confirmed
Undecided
Unassigned

Bug Description

I noticed this after my laptop woke from suspend, though it may have happened before that... the systray icon is gone and the debug console is an infinite loop of:

11-07-11 10:32:30 | min | LinuxNativeClient | TrayListener | WARNING : Cannot connect to native server on port 56127. RETRYING ...
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
        at java.net.Socket.connect(Socket.java:546)
        at org.syncany.gui.linux.LinuxNativeClient.connect(LinuxNativeClient.java:156)
        at org.syncany.gui.linux.LinuxNativeClient.send(LinuxNativeClient.java:105)
        at org.syncany.gui.tray.linux.LinuxTray$2.run(LinuxTray.java:163)
        at java.lang.Thread.run(Thread.java:679)
^C11-07-11 10:32:30 | min | LinuxNativeClient | TrayListener | WARNING : Cannot connect to native server on port 56127. RETRYING ...
java.net.SocketException: Socket closed
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
        at java.net.Socket.connect(Socket.java:546)
        at org.syncany.gui.linux.LinuxNativeClient.connect(LinuxNativeClient.java:156)
        at org.syncany.gui.linux.LinuxNativeClient.send(LinuxNativeClient.java:105)
        at org.syncany.gui.tray.linux.LinuxTray$2.run(LinuxTray.java:163)
        at java.lang.Thread.run(Thread.java:679)

Hm. That's because the systray dies if there is no query in a certain time period... This is definitely a bug. Thanks for reporting.

Changed in syncany:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers