Once we ran an update to socket.io to v2.0.1 as a part of the latest patch we would get pretty ridiculously rapid requests being made. We had to downgrade it to v1.7.4 to make our server stable again, because just logging in the system would cause a ridiculous amount of socket.io requests ultimately DDOSing our own server.
1 Like
You need to update your frappe socket.io.min.js
file to version 2. Sorry did not consider bench being used for old versions.
Is there any other workaround other than checking out a single file from the master branch or keeping the socketio version at 1.7.4? Currently we’ve locked our frappe and erpnext to v7.x.x branch and we plan to move to v8 once we are certain of its stability with our custom apps.
Easiest to just update the socket.io in the 7.x branch
Unfortunately in the install ansible, we just use npm install socket
without pinning to a version. Created an issue for pinning npm libs, but its not yet implemented.
1 Like