Wappler 7.3.5, MacOS, NodeJS, Docker
Hi,
Recently I have started to see error messages related to sockets that are failing to load correctly after Docker projects have been rebuilt on remote servers.
I use sockets to emit messages to refresh server connects in the UI. The sockets are emitting messages based on backend CRUD operations & user_id so that messages are emitted to only those users who are making the backend changes.
These messages don't emit correctly when sockets don't load correctly, and as a result any server connect, that is supposed to refresh after a CRUD operation, fails to reload.
Is it a bug or is there a setting in the APIs or Sockets that doesn't stop the sockets from re-loading after rebuilding a Docker project.
The sockets start working correctly after refreshing the web pages once or twice, or sometimes, it requires relogging to the app.
Any help in troubleshooting and resolving this is greatly appreciated.
UPDATE:
It takes about 3-4 minutes for the sockets to restart correctly after the deployment. Until there are no errors in the dev console, the sockets fail to work altogether.