Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OlegPlatonov opened this issue Jul 17, 2024 · 6 comments
Assignees
Labels
bug Something is broken, we are tracking it needs investigation

Comments

@OlegPlatonov
Copy link

OlegPlatonov commented Jul 17, 2024

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 OlegPlatonov added the bug Something is broken, we are tracking it label Jul 17, 2024
@VoidEvWh
Copy link

VoidEvWh commented Aug 8, 2024

I have the same problem. Did you fixed it?

@OlegPlatonov
Copy link
Author

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

@maddyhof maddyhof added the needs test Pull requests that require tests label Aug 13, 2024
@sbruens sbruens added needs investigation and removed needs test Pull requests that require tests labels Aug 13, 2024
@ProfaneServitor
Copy link

ProfaneServitor commented Aug 29, 2024

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
Copy link

did anyone found the issue ?

@jzr-supove
Copy link

Any updates?

@x09
Copy link

x09 commented Sep 20, 2024

I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken, we are tracking it needs investigation
Projects
None yet
Development

No branches or pull requests

8 participants