Coder Social home page Coder Social logo

Comments (6)

maddyhof avatar maddyhof commented on July 28, 2024 2

Thanks for reaching out! Looks like Ubuntu released some changes that are breaking Outline. We'll get this into our queue to address in a future release.

from outline-client.

jyyi1 avatar jyyi1 commented on July 28, 2024 2

Hi @kuzminRM , issue #1607 is tracking the support of Elementary OS for our Outline GUI app.

Alternatively, we now have the OutlineCLI that supports more Linux distros than Outline Client, which might resolve your issue as well.

We will also be appreciated if you could share the detailed logs of Outline Client. You may gather the logs using the following methods:

# collect Outline Client logs
OUTLINE_DEBUG=true ./Outline.AppImage

# collect background service logs
systemctl status outline_proxy_controller

from outline-client.

jyyi1 avatar jyyi1 commented on July 28, 2024 2

Thanks @kuzminRM , you can ignore the initial error about the ENOENT of '/home/roman/.config/Outline/connection_store', so just feel free to delete the file. There is nothing weird from the logs, is your system's network config more complicated than a single network card with a single default routing table? For example, 2+ network interface?

But still, the new Outline Client does not officially support Elementary OS, please try the OutlineCLI instead.

from outline-client.

caffeinatedgaze avatar caffeinatedgaze commented on July 28, 2024 1

OutlineCLI worked well for me on Arch. Thanks @jyyi1

from outline-client.

kuzminRM avatar kuzminRM commented on July 28, 2024

Encountering the same problem on Ubuntu 22.04.1 LTS (elementary OS 7 Horus, Linux 5.15.0-58-generic).

I attempted to download an earlier version from https://s3.amazonaws.com/outline-releases/client/linux/1.9.0/2/Outline-Client.AppImage.

Initially, it functioned properly. However, it subsequently initiated an automatic update to the latest version and ceased functioning. Is there a method to disable the automatic updates?

from outline-client.

kuzminRM avatar kuzminRM commented on July 28, 2024

@jyyi1
Here is output of systemctl

● outline_proxy_controller.service - Outline Proxy Routing Controller
     Loaded: loaded (/etc/systemd/system/outline_proxy_controller.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2024-02-21 13:23:38 MSK; 1 week 3 days ago
   Main PID: 191666 (OutlineProxyCon)
      Tasks: 1 (limit: 34662)
     Memory: 2.9M
        CPU: 186ms
     CGroup: /system.slice/outline_proxy_controller.service
             └─191666 /usr/local/sbin/OutlineProxyController --socket-filename=/var/run/outline_controller --owning-user-id=1000

Feb 21 14:07:32 SER-35a42b53 OutlineProxyController[191666]: 1708513652.813002: [WARN] failed to monitor network changes due to:Operation canceled [system:125 at /usr/local/include/boost/asio/detail/reactive_socket_recv_op.hpp:129 in function 'do_complete'], will ignore further network changes
Feb 21 14:07:32 SER-35a42b53 OutlineProxyController[191666]: 1708513652.813024: [INFO] client session terminated
Mar 02 22:21:05 SER-35a42b53 OutlineProxyController[191666]: 1709407265.184459: [INFO] client session started
Mar 02 22:21:05 SER-35a42b53 OutlineProxyController[191666]: 1709407265.186950: [INFO] network monitor initialized
Mar 02 22:21:05 SER-35a42b53 OutlineProxyController[191666]: 1709407265.187714: [DEBUG] handling client request "{"action":"configureRouting","parameters":{"proxyIp":"94.72.27.241","isAutoConnect":false}}"...
Mar 02 22:21:05 SER-35a42b53 OutlineProxyController[191666]: 1709407265.187719: [DEBUG] handling action "configureRouting"
Mar 02 22:21:05 SER-35a42b53 OutlineProxyController[191666]: 1709407265.187723: [INFO] attempting to route through outline server 94.72.27.241
Mar 02 22:21:05 SER-35a42b53 OutlineProxyController[191666]: 1709407265.203192: [INFO] successfully routing through the outline server
Mar 02 22:21:05 SER-35a42b53 OutlineProxyController[191666]: 1709407265.203215: [INFO] Configure Routing to 94.72.27.241 is done.
Mar 02 22:21:05 SER-35a42b53 OutlineProxyController[191666]: 1709407265.203976: [DEBUG] Wrote back {"statusCode":0,"action":"configureRouting"} to unix socket
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.300969: [DEBUG] handling client request "{"action":"resetRouting","parameters":{}}"...
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.300985: [DEBUG] handling action "resetRouting"
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.300989: [INFO] attempting to dismantle routing through outline server
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.307826: [INFO] now routing through the network default gateway
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.307847: [INFO] Reset Routing done
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.307878: [DEBUG] Wrote back {"statusCode":0,"action":"resetRouting"} to unix socket
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.308662: [INFO] network monitor destroyed
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.308683: [WARN] failed to monitor network changes due to:Operation canceled [system:125 at /usr/local/include/boost/asio/detail/reactive_socket_recv_op.hpp:129 in function 'do_complete'], will ignore further network changes
Mar 02 22:23:01 SER-35a42b53 OutlineProxyController[191666]: 1709407381.308705: [INFO] client session terminated

Here is log of app

roman@pc:~/Downloads$ OUTLINE_DEBUG=true ./Outline-Client.AppImage 
Sentry Logger [log]: Starting Electron crashReporter
Sentry Logger [log]: Integration installed: SentryMinidump
Sentry Logger [log]: Integration installed: ElectronBreadcrumbs
Sentry Logger [log]: Integration installed: Net
Sentry Logger [log]: Integration installed: MainContext
Sentry Logger [log]: Integration installed: ChildProcess
Sentry Logger [log]: Integration installed: OnUncaughtException
Sentry Logger [log]: Integration installed: PreloadInjection
Sentry Logger [log]: Integration installed: AdditionalContext
Sentry Logger [log]: Integration installed: Screenshots
Sentry Logger [log]: Integration installed: InboundFilters
Sentry Logger [log]: Integration installed: FunctionToString
Sentry Logger [log]: Integration installed: Console
Sentry Logger [log]: Integration installed: Http
Sentry Logger [log]: Integration installed: OnUnhandledRejection
Sentry Logger [log]: Integration installed: ContextLines
Sentry Logger [log]: Integration installed: LocalVariables
Sentry Logger [log]: Integration installed: Modules
Sentry Logger [log]: Integration installed: RequestData
Sentry Logger [log]: Integration installed: LinkedErrors
Sentry Logger [log]: Integration installed: MainProcessSession
Sentry Logger [log]: The preload script could not be injected automatically. This is most likely caused by bundling of the main process
Outline is starting
loading web app from file:///tmp/.mount_OutlinyXuq0F/resources/app.asar/www/index_electron.html?debug=true&appName=Outline
Sentry Logger [log]: Found 1 minidumps
Could not load active tunnel:  [Error: ENOENT: no such file or directory, open '/home/roman/.config/Outline/connection_store'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/roman/.config/Outline/connection_store'
}
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
Sentry Logger [log]: Found previous crashed session
Sentry Logger [log]: Successfully sent
Sentry Logger [log]: Successfully sent
Sentry Logger [log]: Successfully sent
connecting to 24d11ba9-742c-4ca0-94e0-adb363f29903...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 4
connectivity check error: Error: Process terminated by non-zero exit code: 4
UDP support: false
starting routing daemon
[STDERR - tun2socks]: 2024/03/02 22:21:05 Registering DNS fallback UDP handler
2024/03/02 22:21:05 tun2socks running...

tun2socks started
2024/03/02 22:21:05 Registering DNS fallback UDP handler
2024/03/02 22:21:05 tun2socks running...
connected to 24d11ba9-742c-4ca0-94e0-adb363f29903
[STDERR - tun2socks]: 2024/03/02 22:23:01 Received signal: terminated

2024/03/02 22:23:01 Received signal: terminated
[EXIT - tun2socks]: Exited with code 0
tun2socks exited with no errors
disconnected from 24d11ba9-742c-4ca0-94e0-adb363f29903

After that I've tried to run mkdir /home/roman/.config/Outline/connection_store and chmod 777 /home/roman/.config/Outline/connection_store. Restarted app. Received this:
from systemctl

Mar 02 22:31:07 SER-35a42b53 OutlineProxyController[191666]: 1709407867.179624: [INFO] client session started
Mar 02 22:31:07 SER-35a42b53 OutlineProxyController[191666]: 1709407867.179676: [INFO] network monitor initialized
Mar 02 22:31:07 SER-35a42b53 OutlineProxyController[191666]: 1709407867.179987: [DEBUG] handling client request "{"action":"configureRouting","parameters":{"proxyIp":"94.72.27.241","isAutoConnect":false}}"...
Mar 02 22:31:07 SER-35a42b53 OutlineProxyController[191666]: 1709407867.180000: [DEBUG] handling action "configureRouting"
Mar 02 22:31:07 SER-35a42b53 OutlineProxyController[191666]: 1709407867.180005: [INFO] attempting to route through outline server 94.72.27.241
Mar 02 22:31:07 SER-35a42b53 OutlineProxyController[191666]: 1709407867.190959: [INFO] successfully routing through the outline server
Mar 02 22:31:07 SER-35a42b53 OutlineProxyController[191666]: 1709407867.190977: [INFO] Configure Routing to 94.72.27.241 is done.
Mar 02 22:31:07 SER-35a42b53 OutlineProxyController[191666]: 1709407867.191005: [DEBUG] Wrote back {"statusCode":0,"action":"configureRouting"} to unix socket
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.566287: [DEBUG] handling client request "{"action":"resetRouting","parameters":{}}"...
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.566304: [DEBUG] handling action "resetRouting"
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.566308: [INFO] attempting to dismantle routing through outline server
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.572636: [INFO] now routing through the network default gateway
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.572659: [INFO] Reset Routing done
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.572694: [DEBUG] Wrote back {"statusCode":0,"action":"resetRouting"} to unix socket
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.573505: [INFO] network monitor destroyed
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.573537: [WARN] failed to monitor network changes due to:Operation canceled [system:125 at /usr/local/include/boost/asio/detail/reactive_socket_recv_op.hpp:129 in function 'do_complete'], will ignore further network changes
Mar 02 22:35:43 SER-35a42b53 OutlineProxyController[191666]: 1709408143.573561: [INFO] client session terminated

from app log

roman@pc:~/Downloads$ OUTLINE_DEBUG=true ./Outline-Client.AppImage 
Sentry Logger [log]: Starting Electron crashReporter
Sentry Logger [log]: Integration installed: SentryMinidump
Sentry Logger [log]: Integration installed: ElectronBreadcrumbs
Sentry Logger [log]: Integration installed: Net
Sentry Logger [log]: Integration installed: MainContext
Sentry Logger [log]: Integration installed: ChildProcess
Sentry Logger [log]: Integration installed: OnUncaughtException
Sentry Logger [log]: Integration installed: PreloadInjection
Sentry Logger [log]: Integration installed: AdditionalContext
Sentry Logger [log]: Integration installed: Screenshots
Sentry Logger [log]: Integration installed: InboundFilters
Sentry Logger [log]: Integration installed: FunctionToString
Sentry Logger [log]: Integration installed: Console
Sentry Logger [log]: Integration installed: Http
Sentry Logger [log]: Integration installed: OnUnhandledRejection
Sentry Logger [log]: Integration installed: ContextLines
Sentry Logger [log]: Integration installed: LocalVariables
Sentry Logger [log]: Integration installed: Modules
Sentry Logger [log]: Integration installed: RequestData
Sentry Logger [log]: Integration installed: LinkedErrors
Sentry Logger [log]: Integration installed: MainProcessSession
Sentry Logger [log]: The preload script could not be injected automatically. This is most likely caused by bundling of the main process
Outline is starting
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
loading web app from file:///tmp/.mount_OutlinOZQQhL/resources/app.asar/www/index_electron.html?debug=true&appName=Outline
Sentry Logger [log]: Found 0 minidumps
Sentry Logger [log]: Found previous abnormal session
Could not load active tunnel:  [Error: EISDIR: illegal operation on a directory, read] {
  errno: -21,
  code: 'EISDIR',
  syscall: 'read'
}
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: EISDIR: illegal operation on a directory, unlink '/home/roman/.config/Outline/connection_store'
(node:1484253) UnhandledPromiseRejectionWarning: Error: EISDIR: illegal operation on a directory, unlink '/home/roman/.config/Outline/connection_store'
(Use `outline-client --trace-warnings ...` to show where the warning was created)
(node:1484253) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Sentry Logger [log]: Successfully sent
Sentry Logger [log]: Successfully sent
Sentry Logger [log]: Successfully sent
connecting to 24d11ba9-742c-4ca0-94e0-adb363f29903...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 4
connectivity check error: Error: Process terminated by non-zero exit code: 4
UDP support: false
starting routing daemon
[STDERR - tun2socks]: 2024/03/02 22:31:07 Registering DNS fallback UDP handler
2024/03/02 22:31:07 tun2socks running...

tun2socks started
2024/03/02 22:31:07 Registering DNS fallback UDP handler
2024/03/02 22:31:07 tun2socks running...
connected to 24d11ba9-742c-4ca0-94e0-adb363f29903
Failed to set up auto-launch: EISDIR: illegal operation on a directory, open '/home/roman/.config/Outline/connection_store'
Failed to store tunnel.
[STDERR - tun2socks]: 2024/03/02 22:35:43 Received signal: terminated

2024/03/02 22:35:43 Received signal: terminated
Failed to tear down auto-launch: EISDIR: illegal operation on a directory, unlink '/home/roman/.config/Outline/connection_store'
[EXIT - tun2socks]: Exited with code 0
tun2socks exited with no errors
disconnected from 24d11ba9-742c-4ca0-94e0-adb363f29903
^C^C

from outline-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.