1

Catlight does not work on debian stretch

Hi, I have debian stretch installed, and I tried to install Catlight 2.15.4, I saw that it needs libicu52 which it does not exist on stretch, so I used jessie repo to get it, then install Catlight-2.15.4.deb with dpkg, it started but with empty content, it has only menu, but it does not work if I try to sign in, or add a connection, but it can redirect me through the browser if I click on "Report a Problem".

I attached a screenshot for it.

Best regards,

Arkan

3 replies

Thanks for sending the logs!

CatLight app has two processes - background service that does the build status checking and a UI process that communicates with background service using a local TCP port. 

Looks like the UI part cannot connect to the background service. This could happen if some firewall is blocking the connection, or if there is a proxy server configured that intercepts connections to localhost. 

If you have a firewall/proxy running, you can try suspending them to see if that changes the situation.

Hi,

Is it a fixed port or it's a dynamic ? if it's fixed, what is the port number ?

Thanks

The port is dynamic, but the client and server are both on 127.0.0.1 , so allowing communication from local ports to local ports might help.

Humm, weird, because I have docker services, and normally docker use iptables and I can connect from one service to another without any problem, maybe it's a port conflict, I need to check about this.

Thanks

Hi Again,

I checked that I don't have ufw installed, and also I ran these for iptables just to be sure that internal connections will work:

  • sudo iptables -A INPUT -i lo -j ACCEPT
  • sudo iptables -A OUTPUT -o lo -j ACCEPT

I reinstall catlight, and started it with sudo first it gave this error

"arkan@debian:~$ sudo catlight
Gtk-Message: Failed to load module "canberra-gtk-module"
[2017-11-29 14:36:24.738] [INFO] main - Starting app
...etc"

Then I installed it

arkan@debian:~$  sudo apt-get -y install libcanberra-gtk-module

Then run it again and I got, and you will find in the below logs there are some clickings from the UI, which I tried from the UI, but it's just logged here like "Tray icon clicked", "Global settings clicked", "Open Dashboard clicked", ...etc, but nothing happens on the UI:

arkan@debian:~$ sudo catlight
[2017-11-29 14:38:46.040] [INFO] main - Starting app
[2017-11-29 14:38:46.225] [DEBUG] main - Starting tray. OS: linux 4.9.0-4-amd64 . App version: 2.15.4 x64. App path: /opt/Catlight/resources/app.asar. Total mem: 25200525312
[2017-11-29 14:38:46.229] [DEBUG] main - Arguments: /opt/Catlight/catlight
[2017-11-29 14:38:46.230] [INFO] main - User data folder: /root/.config/Catlight
[2017-11-29 14:38:46.230] [INFO] main - Creating main window. Show dashboard: false
[2017-11-29 14:38:46.271] [DEBUG] main - Configuring session proxy for direct connection
[2017-11-29 14:38:46.275] [DEBUG] main - Session proxy configured
[2017-11-29 14:38:46.275] [DEBUG] main - Creating application manager
[2017-11-29 14:38:46.301] [DEBUG] main - Starting SelfUpdateManager
[2017-11-29 14:38:46.301] [DEBUG] main - Auto-update not available on linux.
[2017-11-29 14:38:46.302] [DEBUG] main - Starting SetupManager
[2017-11-29 14:38:46.302] [INFO] main - Checking autostart at /root/.config/autostart
[2017-11-29 14:38:46.302] [INFO] main - Adding to auto-start
[2017-11-29 14:38:46.303] [ERROR] main - Cannot add to autostart: Error: ENOENT: no such file or directory, stat '/usr/share/applications/Catlight.desktop'
[2017-11-29 14:38:46.308] [DEBUG] main - Starting AppServiceManager
[2017-11-29 14:38:46.313] [DEBUG] main - Environment variables: AppData: 'undefined'. Home: '/root'
[2017-11-29 14:38:46.313] [DEBUG] main - Starting web on port 38025 from '/opt/Catlight/resources/LocalWeb/LocalWeb'. Root path: /opt/Catlight/resources/LocalWeb
[2017-11-29 14:38:46.339] [INFO] main - Minimizing window
[2017-11-29 14:38:46.360] [DEBUG] main - Waiting for service start: RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:46.802] [INFO] console - web stdout: Initializing logging. path: /opt/Catlight/resources/LocalWeb/wwwroot

[2017-11-29 14:38:46.935] [INFO] console - web stdout: OS: 'Linux'
AppData path: '/root'

[2017-11-29 14:38:46.965] [INFO] console - web stdout: Initialized logging.

[2017-11-29 14:38:47.362] [DEBUG] main - Waiting for service start: RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:47.633] [INFO] console - web stdout: Hosting environment: Production
Content root path: /opt/Catlight/resources/LocalWeb

[2017-11-29 14:38:47.633] [INFO] console - web stdout: Now listening on: http://127.0.0.1:38025
Application started. Press Ctrl+C to shut down.

[2017-11-29 14:38:48.841] [DEBUG] main - LocalWebService started
[2017-11-29 14:38:48.842] [DEBUG] main - ApplicationManager start complete
[2017-11-29 14:38:48.843] [DEBUG] main - Opening dashboard
[2017-11-29 14:38:49.387] [FATAL] main - web closed soon after start. code: null
[2017-11-29 14:38:49.388] [FATAL] main - Showed app failed to start window
[2017-11-29 14:38:49.846] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:49.846] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:50.845] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:50.848] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:50.849] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:51.845] [DEBUG] main - Opening dashboard
[2017-11-29 14:38:51.857] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:51.858] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:52.848] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:52.861] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:52.861] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:53.866] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:53.867] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:54.847] [DEBUG] main - Opened dashboard on start: http://127.0.0.1:38025/?onStart=true
[2017-11-29 14:38:54.847] [DEBUG] main - Tray app initialization complete
[2017-11-29 14:38:54.849] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:54.869] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:54.869] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:55.874] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:55.874] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:56.114] [INFO] main - Tray icon clicked
[2017-11-29 14:38:56.114] [DEBUG] main - Restoring main window. First: false
[2017-11-29 14:38:56.851] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:56.878] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:56.879] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:57.882] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:57.882] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:58.854] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:58.890] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:58.890] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:59.893] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:59.894] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:38:59.989] [INFO] main - Global settings clicked
[2017-11-29 14:39:00.858] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:00.898] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:00.900] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:01.903] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:01.903] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:02.476] [INFO] main - Open Dashboard clicked.
[2017-11-29 14:39:02.860] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:02.906] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:02.906] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:03.910] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:03.910] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:04.864] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:04.913] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:04.914] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:05.918] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:05.918] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:06.873] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:06.920] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:06.920] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:07.927] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:07.928] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:08.878] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:08.932] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:08.932] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:09.939] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:09.939] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:10.880] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:10.943] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:10.943] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:11.014] [INFO] main - Global settings clicked
[2017-11-29 14:39:11.948] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:11.948] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:12.885] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:12.951] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:12.951] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:13.958] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:13.958] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:14.890] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:14.960] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:14.960] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:15.964] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:15.964] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:16.892] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:16.966] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:16.966] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:17.972] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:17.973] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:18.293] [INFO] main - Sign in clicked.
[2017-11-29 14:39:18.895] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:18.975] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:18.975] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:19.978] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:19.978] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:20.898] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:20.980] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:20.980] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:21.984] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:21.984] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:22.901] [DEBUG] main - Cannot get app state:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:22.987] [DEBUG] main - Cannot get status:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:22.987] [DEBUG] main - Cannot get notifications:RequestError: Error: connect ECONNREFUSED 127.0.0.1:38025
[2017-11-29 14:39:23.295] [INFO] main - Exit clicked.
[2017-11-29 14:39:23.295] [INFO] main - Window close requested. forceQuit: true
[2017-11-29 14:39:23.296] [INFO] main - Saved window state
[2017-11-29 14:39:23.301] [DEBUG] main - All windows closed

Hi,

Thanks for your reply, I compressed the logs and attached them, and sent them through the link that you've provided

Best regards,

Arkan

Hi, can you send us the logs from the following folder?

~/.config/Catlight/Logs

You can attach them here or to a private ticket - https://catlight.helprace.com/add-ticket