Sockets problems in Wappler 5.8.2

Hi Wapplers,

I just updated to to v5.8.2 (running NodsJS, Docker, PostgresSQL) and my table results are all blank. As soon as I unticked “Live Refresh with Web Sockets”, the results came through. This did not happen on my previous version of Wappler…

Very urgent…Please fix ASAP

Thanks

Many issues for this were resolved in the update. Make sure you click the icon to update your node modules and redeploy.

Where is the icon to update my node modules>

I redeployed and all my tables are still blank?!!?!?

I am getting the following error in my web server logs:

server-connect:sockets ERROR: Cannot read properties of undefined (reading ‘isReady’) +636ms
TypeError: Cannot read properties of undefined (reading ‘isReady’)
at Socket. (/opt/node_app/lib/setup/sockets.js:43:93)
at Socket.onevent (/opt/node_app/node_modules/socket.io/dist/socket.js:468:26)
at Socket._onpacket (/opt/node_app/node_modules/socket.io/dist/socket.js:436:22)
at /opt/node_app/node_modules/socket.io/dist/client.js:214:24
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

Towards the bottom on the right side.

Updated nodejs and redeployed - did not help. Problem still remains

Are you on the beta ot stable channel?
Where do you see this error?

Stable…

I saw the error in my _Web Server Logs in Wappler as soon as I refreshed my page.

Please test this update: sockets.zip (1.6 KB)

Replace the file at lib/setup/sockets.js.

This has been fixed in an inline update, so make sure to install it:

image

Thanks! Patricks socket replacement worked. Is the extension update the same as replacing the socket file?

Yes it’s the same fix, coming as an inline update in Wappler.

@patrick, could you tell me if there will be a 5.x.y release that this will be applied?

There won’t be more 5.x updates. The fix is available as an inline extension update.