-
Notifications
You must be signed in to change notification settings - Fork 410
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
Log Watcher: Server Connect Error: Error: websocket error (https://XXX.XX.XX.XX:3013) #823
Comments
So sorry about this. Live log watching requires the user's browser to make a direct WebSocket connection to the worker server that is running the job (not the master server). This doesn't work well for some people with complex network topographies, i.e. situations where the worker servers aren't directly accessible by your users' client machines. Check out Mike's Cronicle fork over at: https://github.com/cronicle-edge/cronicle-edge His implementation uses the master server as a proxy for log watching, getting around this problem entirely. This is also solved in Cronicle v2, coming out in 2025. |
@uk94 exactly the same configuration and the same error here. How did you solve it? |
I see. so we don't have the ability to specify a port for that worker to run on? @utiq the solution seems to be using Mike's fork for the time being. |
@HolgerNetgrade I fixed it, actually it was an easy fix, it was not necessity to use any other fork. |
Summary
I have set-up a custom
base_app_url
(e.g. https://cronicle.mydomain.com) but still when I run jobs from cronicle UI I get the followingLog Watcher: Server Connect Error: Error: websocket error (https://XXX.XX.XX.XX:3013)
error. The error shows an IP address instead of what is configured under my config variable base_app_url.Steps to reproduce the problem
base_app_url
with a custom domain/opt/cronicle/bin/control.sh
Your Setup
Server Environment:
Nginx Configuration:
Cronicle Configuration:
Operating system and version?
Ubuntu 24.04 LTS
Node.js version?
v22.4.1
Cronicle software version?
Version 0.9.61
Are you using a multi-server setup, or just a single server?
Single server
Are you using the filesystem as back-end storage, or S3/Couchbase?
filesystem
Can you reproduce the crash consistently?
Yes
Log Excerpts
Log Watcher: Server Connect Error: Error: websocket error (https://XXX.XX.XX.XX:3013)
The text was updated successfully, but these errors were encountered: