{"action":"created","issue":{"url":"https://api.github.com/repos/ubergeek42/weechat-android/issues/248","labels_url":"https://api.github.com/repos/ubergeek42/weechat-android/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/ubergeek42/weechat-android/issues/248/comments","events_url":"https://api.github.com/repos/ubergeek42/weechat-android/issues/248/events","html_url":"https://github.com/ubergeek42/weechat-android/issues/248","id":118641235,"number":248,"title":"0.12 - Unable to connect using SSH","user":{"login":"Edholm","id":1151328,"avatar_url":"https://avatars.githubusercontent.com/u/1151328?v=3","gravatar_id":"","url":"https://api.github.com/users/Edholm","html_url":"https://github.com/Edholm","followers_url":"https://api.github.com/users/Edholm/followers","following_url":"https://api.github.com/users/Edholm/following{/other_user}","gists_url":"https://api.github.com/users/Edholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Edholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Edholm/subscriptions","organizations_url":"https://api.github.com/users/Edholm/orgs","repos_url":"https://api.github.com/users/Edholm/repos","events_url":"https://api.github.com/users/Edholm/events{/privacy}","received_events_url":"https://api.github.com/users/Edholm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-24T16:02:14Z","updated_at":"2015-12-01T20:20:15Z","closed_at":"2015-12-01T20:20:15Z","body":"I get ERRCONNRESET (Connection reset by peer) when trying to connect on the latest nightly (g7432c3c).\r\n\r\nThe connection seems to be successful since I get ` relay: reading data on socket for client 3/weechat/127.0.0.1: error 3111 (connection closed by peer)` in WeeChat.\r\n\r\n```\r\n16:57:52.474  3558  3930 E AbstractConnection: readLoop(): exception while state == CONNECTED\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:588)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat libcore.io.IoBridge.recvfrom(IoBridge.java:552)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat java.net.PlainSocketImpl.read(PlainSocketImpl.java:481)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat java.net.PlainSocketImpl.-wrap0(PlainSocketImpl.java)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat com.ubergeek42.weechat.relay.connection.AbstractConnection.readAll(AbstractConnection.java:164)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat com.ubergeek42.weechat.relay.connection.AbstractConnection.access$300(AbstractConnection.java:2144)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat com.ubergeek42.weechat.relay.connection.AbstractConnection$2.run(AbstractConnection.java:83)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat java.lang.Thread.run(Thread.java:818)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: Caused by: android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat libcore.io.Posix.recvfromBytes(Native Method)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat libcore.io.Posix.recvfrom(Posix.java:189)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \tat libcore.io.IoBridge.recvfrom(IoBridge.java:549)\r\n11-24 16:57:52.474  3558  3930 E AbstractConnection: \t... 7 more\r\n11-24 16:57:52.474  3558  3930 E RelayService: onException(SocketException)\r\n11-24 16:57:52.474  3558  3930 I Jsch    : Disconnecting from <my_address> port 22\r\n11-24 16:57:52.475  3558  3928 I Jsch    : Caught an exception, leaving main loop due to Socket closed\r\n```\r\n\r\nDunno if this is related as well:\r\n\r\n```\r\n11-24 16:57:55.550  3872  3908 W a.a.a.ab: Wait for canceled timed out: DNS: connectsdk [/<ip-address-here>] state: canceling 1 task: null\r\n11-24 16:57:55.550  3872  3908 W a.a.a.aj: connectsdkrecover() Could not recover we are Down!\r\n11-24 16:57:58.351   371  1176 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback speaker\r\n11-24 16:57:58.353   371  1176 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: ServiceResolver(connectsdk).run() exception \r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: java.net.SocketException: sendto failed: EPERM (Operation not permitted)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:542)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat libcore.io.IoBridge.sendto(IoBridge.java:511)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:184)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat java.net.DatagramSocket.send(DatagramSocket.java:305)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat a.a.a.aj.a(SourceFile:1541)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat a.a.a.b.a.a.run(SourceFile:74)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat java.util.Timer$TimerImpl.run(Timer.java:284)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: Caused by: android.system.ErrnoException: sendto failed: EPERM (Operation not permitted)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat libcore.io.Posix.sendtoBytes(Native Method)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat libcore.io.Posix.sendto(Posix.java:211)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:278)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \tat libcore.io.IoBridge.sendto(IoBridge.java:509)\r\n11-24 16:58:05.621  3872  3941 W a.a.a.b.a.a: \t... 5 more\r\n11-24 16:58:05.622  3872  3943 W a.a.a.aj: RECOVERING\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ubergeek42/weechat-android/issues/comments/161084050","html_url":"https://github.com/ubergeek42/weechat-android/issues/248#issuecomment-161084050","issue_url":"https://api.github.com/repos/ubergeek42/weechat-android/issues/248","id":161084050,"user":{"login":"oakkitten","id":1710718,"avatar_url":"https://avatars.githubusercontent.com/u/1710718?v=3","gravatar_id":"","url":"https://api.github.com/users/oakkitten","html_url":"https://github.com/oakkitten","followers_url":"https://api.github.com/users/oakkitten/followers","following_url":"https://api.github.com/users/oakkitten/following{/other_user}","gists_url":"https://api.github.com/users/oakkitten/gists{/gist_id}","starred_url":"https://api.github.com/users/oakkitten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oakkitten/subscriptions","organizations_url":"https://api.github.com/users/oakkitten/orgs","repos_url":"https://api.github.com/users/oakkitten/repos","events_url":"https://api.github.com/users/oakkitten/events{/privacy}","received_events_url":"https://api.github.com/users/oakkitten/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T20:20:15Z","updated_at":"2015-12-01T20:20:15Z","body":"woohoo fixed in d4631cd33a87dc2cbe56eda4e21fbebb3d633b4e"}}