Jigsaw-Code / outline-apps

Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
https://getoutline.org/
Apache License 2.0
8.22k stars 1.35k forks source link

Outline Client for Linux periodically reconnects #1959

Open jyyi1 opened 3 months ago

jyyi1 commented 3 months ago

Application

Outline Client

Describe the bug

Multiple users have reported that Outline Client for Linux are consistently reconnecting in Ubuntu and other distros, here is the log:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.10
DISTRIB_CODENAME=mantic
DISTRIB_DESCRIPTION="Ubuntu 23.10"

starting routing daemon
tun2socks started
connected to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnecting to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnected to b80cfa8d-957c-4c0d-8028-c78da9636718
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnected to b80cfa8d-957c-4c0d-8028-c78da9636718
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnected to b80cfa8d-957c-4c0d-8028-c78da9636718
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnected to b80cfa8d-957c-4c0d-8028-c78da9636718
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
[EXIT - tun2socks]: Exited with code 0
tun2socks exited with no errors
disconnected from b80cfa8d-957c-4c0d-8028-c78da9636718

Steps to reproduce

  1. Launch Outline Client
  2. Click "Connect"

What did you expect to happen?

No response

What actually happened?

No response

Outline Version

1.12.1 (471860)

What operation system are you using?

Linux

Operating System Version

Ubuntu 23, other Linux distros

Screenshots and Videos

No response

jyyi1 commented 3 months ago

Here are some related comments copied from #1722:

sergey-somkov The same issue on Ubuntu 23.10. Outline-Client.AppImage 1.12.1

alamar I have the same issue on Ubuntu

hapugov Same Ubuntu 23.10 Outline Version 1.12.1 (471860)

konstantin83 Same Ubuntu 23.10 Outline Version 1.12.1

Outline VPN is somehow working anyway. But those iternal reconnections every couple of seconds looks like a problem to me. Any chances for this bug to be fixed in nearest future?

righthippie There is a temporary solution to use Outline CLI VPN client. It work fine on Linux without reconnections. See https://github.com/Jigsaw-Code/outline-sdk/tree/main/x/examples/outline-cli

Still no fix for Outline GUI VPN client for new 6.x.x kernel. It reconnect every couple of seconds.

cornzzy commented 2 months ago

Not sure if related but if the connect/disconnect button is clicked while the state is connecting/disconnecting, it becomes unresponsive. Wouldn't it be better if the buttons were disabled if connecting/disconnecting? This prevents some android client issues too.

It seems like sometimes the GUI becomes out of sync with the state of the network. On windows, reconnecting happens if you're connected on outline and then you turn off wifi, for example.