outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

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

Open OlegPlatonov opened this issue 1 year ago • 6 comments

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

OlegPlatonov avatar Jul 17 '24 18:07 OlegPlatonov

I have the same problem. Did you fixed it?

VoidEvWh avatar Aug 08 '24 18:08 VoidEvWh

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

OlegPlatonov avatar Aug 08 '24 20:08 OlegPlatonov

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

ProfaneServitor avatar Aug 29 '24 17:08 ProfaneServitor

did anyone found the issue ?

aliwaleed899 avatar Sep 07 '24 22:09 aliwaleed899

Any updates?

jzr-supove avatar Sep 15 '24 12:09 jzr-supove

I have the same problem

x09 avatar Sep 20 '24 13:09 x09

We made some large changes to our Linux client recently. Is this still an issue on the latest 1.15.0 version, which is released as a Debian package? See https://support.google.com/outline/answer/15331527 for installation instructions.

sbruens avatar Mar 05 '25 22:03 sbruens

Closing due to inactivity. Feel free to reopen or create a new issue if this persists. Thanks!

jyyi1 avatar Apr 11 '25 21:04 jyyi1