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.4k stars 1.36k forks source link

[Bug]: Endless "Outline has been successfully initialized, please try again to connect to the server." (Ubuntu 18.04) #2052

Open OlegPlatonov opened 2 months ago

OlegPlatonov commented 2 months ago

Application

Outline Client

Describe the bug

When I try to connect to a server, I get a message "We will initialize Outline, which may require admin permissions. Would you like to proceed?". I press Ok, enter my password, and after a few seconds get the following message: "Outline has been successfully initialized, please try again to connect to the server.". When I press connect again, the same exact process repeats. So I cannot actually connect to a server, it seems that I am just endlessly initializing Outline.

Steps to reproduce

  1. Download the Outline AppImage, make the file executable, double click on the icon.
  2. Add a server.
  3. Click connect on the newly added server, get "We will initialize outline, which may require admin permissions. Would you like to proceed?" message.
  4. Click Ok, enter your password when prompted, get "Initializing Outline..." message, then in a few seconds get "Outline has been successfully initialized, please try again to connect to the server." message.
  5. Repeat steps 3-4 for as long as you like without any changes happening.

What did you expect to happen?

I should be able to connect to a server after Outline has been initialized (i.e., after the first or the second time I press connect).

What actually happened?

I do not connect to a server, just keep initializing Outline.

Outline Version

1.13.1 (476278)

What operation system are you using?

Linux

Operating System Version

Ubuntu 18.04 LTS

Screenshots and Videos

image

VoidEvWh commented 1 month ago

I have the same problem. Did you fixed it?

OlegPlatonov commented 1 month ago

@VoidEvWh Nope, I have not found a solution yet.

ProfaneServitor commented 1 month ago

Same problem.

Here is console log:

connecting to b3246ced-b2f3-4a0e-b393-20dad5e70fd9...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
UDP support: true
starting routing daemon
Routing daemon socket setup failed Error: connect ENOENT /var/run/outline_controller
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'connect',
  address: '/var/run/outline_controller'
}
could not connect: G (routing daemon is not running)
[EXIT - tun2socks]: Exited with code 12
could not stop tun2socks: Process terminated by non-zero exit code: 12
tun2socks terminated due to Error: Process terminated by non-zero exit code: 12
disconnected from b3246ced-b2f3-4a0e-b393-20dad5e70fd9
installing outline routing service...
copying service installation files to /tmp/SiA5Wp
all service installation files copied to /tmp/SiA5Wp successfully
trying to run command as root:  trap "/usr/bin/chattr -R -i /tmp/SiA5Wp" EXIT; /usr/bin/chattr -R +i /tmp/SiA5Wp && /usr/bin/echo "e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/SiA5Wp/install_linux_service.sh" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/SiA5Wp/OutlineProxyController" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/SiA5Wp/outline_proxy_controller.service" | /usr/bin/shasum -a 256 -c && "/tmp/SiA5Wp/install_linux_service.sh" "why"
/tmp/SiA5Wp/install_linux_service.sh: OK
/tmp/SiA5Wp/OutlineProxyController: OK
/tmp/SiA5Wp/outline_proxy_controller.service: OK
user why has been added to outlinevpn group

+ readonly PREFIX=/usr/local
+ PREFIX=/usr/local
+ readonly SERVICE_DIR=/etc/systemd/system
+ SERVICE_DIR=/etc/systemd/system
+ readonly SERVICE_NAME=outline_proxy_controller.service
+ SERVICE_NAME=outline_proxy_controller.service
+ readonly GROUP_NAME=outlinevpn
+ GROUP_NAME=outlinevpn
++ dirname /tmp/SiA5Wp/install_linux_service.sh
+ readonly SCRIPT_DIR=/tmp/SiA5Wp
+ SCRIPT_DIR=/tmp/SiA5Wp
+ /usr/sbin/groupadd -f outlinevpn
+ /usr/bin/id why
+ /usr/sbin/usermod -aG outlinevpn why
+ /usr/bin/echo 'user why has been added to outlinevpn group'
+ /usr/bin/cp -f /tmp/SiA5Wp/OutlineProxyController /usr/local/sbin
+ /usr/bin/cp -f /tmp/SiA5Wp/outline_proxy_controller.service /etc/systemd/system/
+ /usr/bin/id why
++ id -u why
+ owneruid=1000
+ /usr/bin/sed -i s/--owning-user-id=-1/--owning-user-id=1000/g /etc/systemd/system/outline_proxy_controller.service
+ /usr/bin/systemctl daemon-reload
+ /usr/bin/systemctl enable outline_proxy_controller.service
+ /usr/bin/systemctl restart outline_proxy_controller.service
+ /usr/bin/sleep 2

outline routing service installed successfully

I also bought a commercial one. Disgustingly, it gives a different error.

connecting to e713eebb-142a-4467-90b0-fed16f205493...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 3
connectivity check error: Error: Process terminated by non-zero exit code: 3
could not connect: f ()
disconnected from e713eebb-142a-4467-90b0-fed16f205493
aliwaleed899 commented 3 weeks ago

did anyone found the issue ?

jzr-supove commented 2 weeks ago

Any updates?

x09 commented 1 week ago

I have the same problem