I upgraded my test env to V6. All works well, except for websockets/socket-io
In my browser console, I get a repeating stream of errors:
http://foobar.com/socket.io/?EIO=.... 404 (NOT FOUND)
I did a bench setup nginx
to regenerate the nginx config. That put the suspiciously short config:
server_names_hash_bucket_size 64;
upstream frappe {
server 127.0.0.1:8000 fail_timeout=0;
}
upstream socketio-server {
server 127.0.0.1:3000 fail_timeout=0;
}
in frappe-bench/conf/nginx.conf
nginx.conf doesn’t seem to have a handler to forward /socket.io to localhost:3000
I found very little supporting docs about upgrading to v6, especially with regard to installing/setup of socket-io.
Any guidance welcome.
-Jev