Open mpatel-cpi opened 5 years ago
The live log feature requires a direct connection from the client web browser to the machine running the job. You can control whether it tries to connect via IP or hostname, using the web_socket_use_hostnames configuration property, but either way the web browser needs to establish a WebSocket connection directly to the machine running the job, for a live log display.
There is currently no way to proxy that through the master server, but I am planning on introducing such a feature in an upcoming version of Cronicle. Stay tuned!
There's a way to fix this?
I believe this fails when using HTTPS and a self signed certificate, is that correct? It definitely seems the case but there's no specific error in the browser's console.
+1
Summary
Live log feature doesn't work, logs show up after the job has finished. I checked that the firewall rules are fine. Is there any way to debug this further?
Steps to reproduce the problem
Your Setup
Cronicle master: Accessible from my laptop Cronicle slave: Accessible from cronicle master (but not from my laptop)
Excerpts from config:
Operating system and version?
Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial
Node.js version?
v8.11.2
Cronicle software version?
0.8.28
Are you using a multi-server setup, or just a single server?
1 cronicle master + 1 cronicle slave
Are you using the filesystem as back-end storage, or S3/Couchbase?
File system
Can you reproduce the crash consistently?
Yes
Log Excerpts
Log Watcher: Connecting to server: https://cronicle-slave.us.prod.chargepoint.local:3013... Log Watcher: Server Connect Error: Error: websocket error (https://cronicle-slave.us.prod.chargepoint.local:3013) Log Watcher: Server Connect Error: Error: websocket error (https://cronicle-slave.us.prod.chargepoint.local:3013)