Messenger Not Updating With New Messages
I'm currently on RC1 and I'm having issues with Messenger not updating when someone submits an IM, the user has to refresh the page and only then are new messages are loaded.
I have the JOT server installed and running (confirmed with forever list).
There is no connection issues, it connects just fine, nothing showing up in the console about errors when someone submits something, using HTTPS with letsencrpt.
conf file looks like this:
{
"port":5443,
"mode":"",
"log":"log.log",
"domains":["*"],
"transformer":"sockjs",
"secret": "",
"root":"/usr/local/psa/var/modules/letsencrypt/etc/live/domain.tld",
"cert":"cert.pem",
"key":"privkey.pem",
"OFFLINE":0,
"ONLINE":1,
"AWAY":2
}
Meanwhile the server URL in the Messenger settings is set to
https://domain.tld:5443
PHP version is 8.2.11
Command I run when starting the JOT service:
forever -w --watchDirectory=/usr/local/psa/var/modules/letsencrypt/etc/live/domain.tld start app.js
JOT location on the server is
/jots
-
- · LoneTreeLeaf
- ·
Open reading https://una.io/wiki/Requirements further, I see that the required version of PHP is 7.4, enabling 7.4.33 yield the same results as described above.
-
-
·
LeonidS
- ·
Hello @LoneTreeLeaf !
If you need to refresh the page to see new messages in Messenger then it means you have Javascript errors there which prevent the normal work of the app. You need to turn on the Developer tool (F12 on the Chrome browser) and check the Console tab. There should be red-colored text about the errors on the page.
-
·
LeonidS
-
Thanks for the quick reply @LeonidS
-
- · LoneTreeLeaf
- ·
Issue was resolved by using the docker image for jot.