-
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
Just installed Cronicle with Node v8 LTS #111
Comments
Hmmm, I've never used nginx, so I don't know what the problem is. But you should check out this issue here, which talks about using proxies: Try enabling polling on this setting: https://github.com/jhuckaby/Cronicle#socket_io_transports Perhaps your nginx configuration doesn't allow WebSockets, so maybe polling will do the trick. Good luck! |
I will try that and get back to you soon on that. |
For anyone else stumbling across this issue, ensure the following is removed from your nginx server location setting: Remove:
|
Doc can be seen in: http://nginx.org/en/docs/http/websocket.html |
I had other problems with Node v8. Try to upgrade to v10 at least. |
Yup, at this point I'd recommend Node v12 or 14. |
Hello Mr. shammishailaj man!! Can you provide us with some tech or tutorial about install Cronicle on NGINX? I'm getting in trouble with NGINX + Ubuntu 22.04 !! Thks!!! |
Summary
I have installed cronicle as per the one line installation on website and have it running via NGINX as web-proxy. I am not able to find any logs anywhere that would help me.. As per my browser and nginx logs, all i see is hits to this url:
GET /socket.io/?EIO=3&transport=websocket HTTP/1.1" 101 92 "
The title bar on the browser says "Loading..."
Steps to reproduce the problem
Install Node V8 LTS on ubuntu 16.04 LTS and the use the onliner command to install. In the configuration, leave the configuration as is. start the server and see for your self. Have NGINX proxy via your domain name to localhost:3012.
Nginx Config:
server {
listen 80;
server_name cronicle.example.co.in;
}
Operating system and version?
Ubuntu 16.04
Node.js version?
v8.11.4
Cronicle software version?
0.8.26
Are you using a multi-server setup, or just a single server?
Single
Are you using the filesystem as back-end storage, or S3/Couchbase?
Filesystem
Can you reproduce the crash consistently?
Yes.
Log Excerpts
Nginx Error Logs
2018/08/31 01:44:56 [error] 5474#5474: *257 connect() failed (111: Connection refused) while connecting to upstream, client: XXX.XXX.XXX.XXX, server: cronicle.healthians.co.in, request: "GET /socket.io/?EIO=3&transport=websocket HTTP/1.1", upstream: "http://127.0.0.1:3012/socket.io/?EIO=3&transport=websocket", host: "cronicle.example.co.in"
2018/08/31 01:44:56 [error] 5474#5474: *257 open() "/usr/share/nginx/html/50x.html" failed (2: No such file or directory), client: XXX.XXX.XXX.XXX, server: cronicle.example.co.in, request: "GET /socket.io/?EIO=3&transport=websocket HTTP/1.1", upstream: "http://127.0.0.1:3012/socket.io/?EIO=3&transport=websocket", host: "cronicle.example.co.in"
2018/08/31 01:45:01 [error] 5474#5474: *261 connect() failed (111: Connection refused) while connecting to upstream, client: XXX.XXX.XXX.XXX, server: cronicle.example.co.in, request: "GET /socket.io/?EIO=3&transport=websocket HTTP/1.1", upstream: "http://127.0.0.1:3012/socket.io/?EIO=3&transport=websocket", host: "cronicle.example.co.in"
2018/08/31 01:45:01 [error] 5474#5474: *261 open() "/usr/share/nginx/html/50x.html" failed (2: No such file or directory), client: XXX.XXX.XXX.XXX, server: cronicle.example.co.in, request: "GET /socket.io/?EIO=3&transport=websocket HTTP/1.1", upstream: "http://127.0.0.1:3012/socket.io/?EIO=3&transport=websocket", host: "cronicle.example.co.in"
The text was updated successfully, but these errors were encountered: