I am experiencing strange issue on development servers. I think it is connected with couple of others but here is the case:
Adding an item using “New” then dialog pops up, saving and the list is not refreshed. I have to manually refresh it.
Error occurs on V6 & V7, either in production/development and either when using my instance or virtualbox image.
I can see it working on ERPNext free plan that I have.
Is it configuration issue, what can I do about it? Not sure it’s redis/socket.io, no clue at all for the moment.
Issue resolved on production setup - probably it does NOT work on development server (built-in web server) as for my knowledge. I hope to check with the core team and let you all guys know.
It is know issue with socketio related to worker processes if worker (more than 1) /socketio does not ends properly, causes socketio to unable to communicate.
Only workaround I found that, to keep worker to 1 only on development machines, which pretty much solves the problem.
We resolved socket.io 404 by setting 1 worker but ListView is still not refreshed. We were able to reproduce it on multiple development machines, production works fine.