Sangoma Phone Desktop randomly disconnecting from Websocket

Hi everyone. I’m wondering if anyone has ideas on what might be going on. I’ve got this system that has been updated to the latest version of sangomartapi: 16.0.54.27. This first started happening a few days ago. Upgrading the sangomartapi seemed to resolve it for a few days, but then it started again.

I’ve been getting reports of it randomly disconnecting remote users. At first I assumed it was an internet problem on their side, but that didn’t add up. I checked the logs and here’s what I’m seeing:

connection.log

[warn] 2026-3-4 14:57:08 [SID-1011:xx.xx.xx.xx] socket disconnected for the extension 300,  Reason: 1006 - Abnormal Closure - Used to indicate that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected.. Destination port: 6082, Source IP: ::ffff:127.0.0.1, Source port: 51158, Connection info: undefined

[warn] 2026-3-4 14:57:44 [SID-1012:xx.xx.xx.xx] socket disconnected for the extension 303,  Reason: 1006 - Abnormal Closure - Used to indicate that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected.. Destination port: 6082, Source IP: ::ffff:127.0.0.1, Source port: 59742, Connection info: undefined

httpProxy.log

[debug] 2026-3-4 14:57:08 --- Connection closed cleanly. Source IP: 127.0.0.1, Source port: 51158, Destination IP: 127.0.0.1, Destination port: 6082

[debug] 2026-3-4 14:57:44 HPM Event triggered:  onClose - socket will be destroyed

[debug] 2026-3-4 14:57:44 Connection closed cleanly. Source IP: 127.0.0.1, Source port: 41634, Destination IP: 127.0.0.1, Destination port: 6006

[debug] 2026-3-4 14:57:44 --- Connection closed cleanly. Source IP: 127.0.0.1, Source port: 59742, Destination IP: 127.0.0.1, Destination port: 6082

[debug] 2026-3-4 15:35:29 --- Connection to httpProxy received.Source IP: 127.0.0.1, Source port: 43970, Destination IP: 127.0.0.1, Destination port: 6006

rtapi.log

[debug] 2026-3-4 14:57:08 type of code:  number

[debug] 2026-3-4 14:57:08 socket disconnect, cleaning up.

[info] 2026-3-4 14:57:42 Processing reloadCallLog event for the user 31

Perhaps unrelated, but I’m getting these logs in realtime.log when restarting sangomartapi:

[info] 2026-3-4 15:39:26 call log: the call logs for the extension 302 not found. Trying to fetch the data from cdr.

[error] 2026-3-4 15:39:26 Error in getUserVoicemailGetList: TypeError: Cannot read property 'replace' of null

    at _0x1a4068.(anonymous function)._0x15b878 (/var/www/html/admin/modules/sangomartapi/node/kickstart.js:1:701294)

    at Array.forEach (<anonymous>)

    at Object._0x6e0f3.(anonymous function).(anonymous function) [as getUserVoicemailGetList] (/var/www/html/admin/modules/sangomartapi/node/kickstart.js:1:701098)

    at <anonymous>

    at process._tickDomainCallback (internal/process/next_tick.js:229:7)

[error] 2026-3-4 15:39:26 Error line number: at _0x1a4068.(anonymous function)._0x15b878 (/var/www/html/admin/modules/sangomartapi/node/kickstart.js:1:701294)

I’ve got the ‘Sangoma Phone Desktop Client Service’ open to the Internet, so I don’t think it’s a firewall issue. Any other ideas what to try next?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.