Outline-client: Websocket and SSH connections times out

Created on 19 Jul 2019  路  2Comments  路  Source: Jigsaw-Code/outline-client

Describe the bug
Websocket and SSH connections times out in 30 seconds

To Reproduce
Steps to reproduce the behavior (Websocket):

  1. Go to http://www.websocket.org/echo.html
  2. Click on the 'Connect' button
  3. Wait 30 seconds
  4. See 'Disconnected' message
    image

Steps to reproduce the behavior (SSH):

  1. Connect to a VPS using SSH
  2. Wait 30 seconds
  3. See 'Connection closed' message
    screenshot from 2019-01-22 21-10-02

Expected behavior
SSH and websocket connections should no time out

Desktop (please complete the following information):

  • OS: Linux (Ubuntu 18.04)

Additional context
Duplicate of https://github.com/Jigsaw-Code/outline-server/issues/85
Confirmed by @fortuna on https://github.com/Jigsaw-Code/outline-server/issues/85#issuecomment-498804252

Thank you all.
It seems that this is an issue specific to our Electron-based clients: Windows and Linux.

I checked whether we were disabling the timeout for ss-local, but it seems we are:
https://github.com/Jigsaw-Code/outline-client/blob/91a46da368f35faffa4b81efa6919fd334206224/src/electron/process_manager.ts#L340

@alalamav any ideas? Maybe it's something to do with tun2socks?

Most helpful comment

Hi @helnokaly, we are working on a fix (#634) to this issue. shadowsocks-libev v3.3.0 disables client timeouts and I have verified that with this update ssh and websockets do not timeout. I'll follow up once the fix has been merged.

All 2 comments

Hi @helnokaly, we are working on a fix (#634) to this issue. shadowsocks-libev v3.3.0 disables client timeouts and I have verified that with this update ssh and websockets do not timeout. I'll follow up once the fix has been merged.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shanghaix picture shanghaix  路  5Comments

prashant-shahi picture prashant-shahi  路  5Comments

RedL0tus picture RedL0tus  路  8Comments

HippoBaro picture HippoBaro  路  6Comments

d1eselboy picture d1eselboy  路  4Comments