Hi,
I just updated Wappler from 5.7 to 5.8.2 after reading websockets bugs were fixed and database management improved.
All my web app sockets="true"
serverconnect don’t work anymore…
Thanks for your feedback
Sylvain
Hi,
What error do you have? any logs?
Check this topic, maybe that is your case, a few hours ago I have updated to 5.8.2 my production server since 5.6.2 and I had to update the format of how redis connect. Basically the format is redis://user:pass@host:port
I am facing the same issue… My tables are blank. As soon as I untick “Live refresh using Websockets” then my data results appear. Very frustrating
Error as follows:
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)
In case you are working in remote server (stag or prod) make sure to update the node_modules
folder using npm install
inside project folder from terminal.
Are you on the beta ot stable channel?
Where do you see this error?
Hi,
Always stable.
error with every pages and serverconnects - next an example:
Without websockets
<dmx-serverconnect id="scListeCamping" url="/api/admin/campings/liste_camping" dmx-param:sort="querySortDir.sort" dmx-param:dir="query.dir"></dmx-serverconnect>
With
<dmx-serverconnect id="scListeCamping" url="/api/admin/campings/liste_camping" dmx-param:sort="querySortDir.sort" dmx-param:dir="query.dir" sockets="true"></dmx-serverconnect>
Super great! Many thanks!!!
This has been fixed in an inline update, so make sure to install it: