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]: can't connect to outline server on linux #2321

Open
Necko1 opened this issue Jan 10, 2025 · 0 comments
Open

[Bug]: can't connect to outline server on linux #2321

Necko1 opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something is broken, we are tracking it

Comments

@Necko1
Copy link

Necko1 commented Jan 10, 2025

Application

Outline Client

Describe the bug

something is wrong. here are the logs:

$ ./Outline-Client.AppImage
Outline is starting
loading web app from file:///tmp/.mount_OutlinTNnSvR/resources/app.asar/client/www/index_electron.html?appName=Outline
Could not load active tunnel:  [Error: ENOENT: no such file or directory, open '/home/necko/.config/Outline/connection_store'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/necko/.config/Outline/connection_store'
}
Checking for update
Update for version 1.14.0 is not available (latest version: 1.14.0, downgrade is disallowed).
[21278:0110/085334.413698:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[21278:0110/085343.288393:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[21278:0110/085344.485883:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
connecting to Outline Server (fb21e301-1cee-4541-b69e-710f47a956e3)...
[tun2socks] - checking connectivity ...
[tun2socks - EXIT]: Exited with code 0
UDP support: true
starting routing daemon
[tun2socks] - starting to route network traffic ...
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: Error: {"code":"ERR_ROUTING_SERVICE_NOT_RUNNING","message":"routing daemon is not running","cause":{"code":"ERR_INTERNAL_ERROR","message":"Error: connect ENOENT /var/run/outline_controller"}}
    at Socket.r (/tmp/.mount_OutlinTNnSvR/resources/app.asar/output/client/electron/index.js:2:678675)
    at Object.onceWrapper (node:events:646:26)
    at Socket.emit (node:events:526:28)
    at Socket.emit (node:domain:475:12)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
Error occurred in handler for 'outline-ipc-start-proxying': Error: {"code":"ERR_ROUTING_SERVICE_NOT_RUNNING","message":"routing daemon is not running","cause":{"code":"ERR_INTERNAL_ERROR","message":"Error: connect ENOENT /var/run/outline_controller"}}
    at Socket.r (/tmp/.mount_OutlinTNnSvR/resources/app.asar/output/client/electron/index.js:2:678675)
    at Object.onceWrapper (node:events:646:26)
    at Socket.emit (node:events:526:28)
    at Socket.emit (node:domain:475:12)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
[tun2socks - EXIT]: Exited with code 1
[tun2socks] - terminated due to: a [Error]: {"code":"ERR_SYSTEM_VPN_SETUP_FAILURE","message":"failed to open TUN device","cause":{"code":"ERR_INTERNAL_ERROR","message":"ioctl: operation not permitted"}}

    at t.ChildProcessHelper.b (/tmp/.mount_OutlinTNnSvR/resources/app.asar/output/client/electron/index.js:2:674688)
    at ChildProcess.emit (node:events:526:28)
    at ChildProcess.emit (node:domain:475:12)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12) {
  exitCode: 1
}
could not stop tun2socks: {"code":"ERR_SYSTEM_VPN_SETUP_FAILURE","message":"failed to open TUN device","cause":{"code":"ERR_INTERNAL_ERROR","message":"ioctl: operation not permitted"}}

disconnected from fb21e301-1cee-4541-b69e-710f47a956e3
installing outline routing service...
copying service installation files to /tmp/8crXbQ
all service installation files copied to /tmp/8crXbQ successfully
trying to run command as root:  trap "/usr/bin/chattr -R -i /tmp/8crXbQ" EXIT; /usr/bin/chattr -R +i /tmp/8crXbQ && /usr/bin/echo "e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/8crXbQ/install_linux_service.sh" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/8crXbQ/OutlineProxyController" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/8crXbQ/outline_proxy_controller.service" | /usr/bin/shasum -a 256 -c && "/tmp/8crXbQ/install_linux_service.sh" "necko"

/bin/bash: line 1: /usr/bin/shasum: No such file or directory

command is running as root but failed:  Error: Command failed: cd "/home/necko/Downloads"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; trap \"/usr/bin/chattr -R -i /tmp/8crXbQ\" EXIT; /usr/bin/chattr -R +i /tmp/8crXbQ && /usr/bin/echo \"e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/8crXbQ/install_linux_service.sh\" | /usr/bin/shasum -a 256 -c && /usr/bin/echo \"0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/8crXbQ/OutlineProxyController\" | /usr/bin/shasum -a 256 -c && /usr/bin/echo \"8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/8crXbQ/outline_proxy_controller.service\" | /usr/bin/shasum -a 256 -c && \"/tmp/8crXbQ/install_linux_service.sh\" \"necko\""
/bin/bash: line 1: /usr/bin/shasum: No such file or directory

    at ChildProcess.exithandler (node:child_process:408:12)
    at ChildProcess.emit (node:events:526:28)
    at ChildProcess.emit (node:domain:475:12)
    at maybeClose (node:internal/child_process:1092:16)
    at Socket.<anonymous> (node:internal/child_process:451:11)
    at Socket.emit (node:events:526:28)
    at Socket.emit (node:domain:475:12)
    at Pipe.<anonymous> (node:net:687:12) {
  killed: false,
  code: 127,
  signal: null,
  cmd: 'cd "/home/necko/Downloads"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; trap \\"/usr/bin/chattr -R -i /tmp/8crXbQ\\" EXIT; /usr/bin/chattr -R +i /tmp/8crXbQ && /usr/bin/echo \\"e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/8crXbQ/install_linux_service.sh\\" | /usr/bin/shasum -a 256 -c && /usr/bin/echo \\"0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/8crXbQ/OutlineProxyController\\" | /usr/bin/shasum -a 256 -c && /usr/bin/echo \\"8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/8crXbQ/outline_proxy_controller.service\\" | /usr/bin/shasum -a 256 -c && \\"/tmp/8crXbQ/install_linux_service.sh\\" \\"necko\\""'
}

Steps to reproduce

  1. install an AppImage for linux from https://getoutline.org/ru/get-started/#step-3
  2. $ cd ~/Downloads/
  3. $ chmod u+x Outline-Client.AppImage
  4. $ ./Outline-Client.AppImage
  5. add server to connections
  6. click CONNECT
  7. see a pop-up window with the text We will initialize Outline, which may require admin permissions. Would you like to proceed?
  8. click Ok
  9. enter password to execute as super user -> Authenticate
  10. see the message at the bottom of the app "Unfortunately we are not able to initialize Outline, please submit feedback through the app."

What did you expect to happen?

No response

What actually happened?

No response

Outline Version

1.14.0 (480310)

What operation system are you using?

Linux

Operating System Version

6.12.4-arch1-1

Screenshots and Videos

изображение

@Necko1 Necko1 added the bug Something is broken, we are tracking it label Jan 10, 2025
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
Projects
None yet
Development

No branches or pull requests

1 participant