Hello dear Unitarians. Several times a year, the Messenger app fails. Connections do not connect. Usually a server restart fixes this issue. Yesterday, it did not. Leading me to ask: Does the Jotserver itself need to be restarted in addition to the server restart?
I checked the certificate. It looked OK. Any ideas why jotserver fails about every 3 months? We're hosted by TMD, by the way.
In the php error log, I see but cannot interpret: .... modules/boonex/messenger/classes/BxMessengerTemplate.php on line 1591[10-Dec-2024 15:02:20 UTC] PHP Deprecated: Implicit conversion from float 1.1333333333333333 to int loses precision in
This error appears more like a visual template issue than one relating to connectability.
Comments
Hello!
The fact that your system fails at a regular interval suggests it might be an issue with the certificate. Certificates can change, and if their name changes, you’ll need to update it in the
config/config.json
file and restart the server.One of the most common problems with TMD hosting is a closed port. Although they often insist it's open, it might not be.
You can easily check this by running the following command in the terminal:
If the port is closed, you'll get a
timeout error
orconnection refused
.To further investigate the issue, you can check the
log.log
file in the Jotserver folder. Alternatively, open the browser console on the Messenger page to diagnose the current problem.Regarding the PHP error: this issue has already been fixed. You'll need to update your Messenger to the latest version.
Very valuable information with regard to TMD hosting service. Others will surely benefit from your keen analysis just as I have. Much thanks!