Boron 3G, DeviceOS 6.3.4, periodic 3G modem freezes and lose of connection. ERROR: The other end has not replied to keep alives (TESTs) 5 times

Hi everybody!

Recently I started getting this errors on two Borons. Looking at the empty project trace I see that it is not a application software problem. The firmware does 1 sec periodic check of RSI only. As I can see aproximately after 20-30 secs after succesfully conencting to 3G and Particle cloud mode freezes at:

0003393882 [ncp.at] TRACE: > AT+COPS=3,2
0003436327 [mux] ERROR: The other end has not replied to keep alives (TESTs) 5 times, considering muxed connection dead

And the it resets the modem. Everything goes by this cycle afterwards. Boron is battery powered + AC adpter powered and it reports correct 4.1V battery voltage. Is anybody aware of such a problem?

Great thanks in advance

0003380144 [net.ppp.client] TRACE: State CONNECTING -> CONNECTED
0003380144 [system.nm] INFO: State changed: IFACE_LINK_UP -> IP_CONFIGURED
0003380146 [net.pppncp] TRACE: Negotiated MTU: 1500
0003380146 [net.ppp.client] TRACE: PPP phase -> Running
0003380174 [comm.coap] TRACE: Sending CoAP message
0003380175 [comm.coap] TRACE: CON 0.00 size=4 token= id=68
0003380691 [ncp.at] TRACE: > AT+COPS=3,2
0003380694 [ncp.at] TRACE: < OK
0003380695 [ncp.at] TRACE: > AT+COPS?
0003380698 [ncp.at] TRACE: < +COPS: 0,2,"28301",2
0003380698 [ncp.at] TRACE: < OK
0003380699 [ncp.at] TRACE: > AT+CSQ
0003380702 [ncp.at] TRACE: < +CSQ: 21,2
0003380702 [ncp.at] TRACE: < OK
Strength: -66.00 dBm (100.00) Quality: -6.00 (70.00)
0003381003 [comm.coap] TRACE: Received CoAP message
0003381003 [comm.coap] TRACE: ACK 0.00 size=4 token= id=68
0003381705 [ncp.at] TRACE: > AT+COPS=3,2
0003381707 [ncp.at] TRACE: < OK
0003381708 [ncp.at] TRACE: > AT+COPS?
0003381711 [ncp.at] TRACE: < +COPS: 0,2,"28301",2
0003381712 [ncp.at] TRACE: < OK
0003381713 [ncp.at] TRACE: > AT+CSQ
0003381715 [ncp.at] TRACE: < +CSQ: 21,2
0003381716 [ncp.at] TRACE: < OK
Strength: -66.00 dBm (100.00) Quality: -6.00 (70.00)
0003382718 [ncp.at] TRACE: > AT+COPS=3,2
0003382721 [ncp.at] TRACE: < OK
0003382721 [ncp.at] TRACE: > AT+COPS?
0003382725 [ncp.at] TRACE: < +COPS: 0,2,"28301",2
0003382725 [ncp.at] TRACE: < OK
0003382726 [ncp.at] TRACE: > AT+CSQ
0003382729 [ncp.at] TRACE: < +CSQ: 22,2
0003382730 [ncp.at] TRACE: < OK


0003391840 [ncp.at] TRACE: > AT+COPS=3,2
0003391843 [ncp.at] TRACE: < OK
0003391844 [ncp.at] TRACE: > AT+COPS?
0003391847 [ncp.at] TRACE: < +COPS: 0,2,"28301",2
0003391847 [ncp.at] TRACE: < OK
0003391848 [ncp.at] TRACE: > AT+CSQ
0003391851 [ncp.at] TRACE: < +CSQ: 20,2
0003391851 [ncp.at] TRACE: < OK
Strength: -68.00 dBm (100.00) Quality: -6.00 (70.00)
0003392854 [ncp.at] TRACE: > AT+COPS=3,2
0003392856 [ncp.at] TRACE: < OK
0003392857 [ncp.at] TRACE: > AT+COPS?
0003392860 [ncp.at] TRACE: < +COPS: 0,2,"28301",2
0003392861 [ncp.at] TRACE: < OK
0003392862 [ncp.at] TRACE: > AT+CSQ
0003392880 [ncp.at] TRACE: < +CSQ: 21,2
0003392880 [ncp.at] TRACE: < OK
Strength: -66.00 dBm (100.00) Quality: -6.00 (70.00)
0003393882 [ncp.at] TRACE: > AT+COPS=3,2
0003436327 [mux] ERROR: The other end has not replied to keep alives (TESTs) 5 times, considering muxed connection dead
0003436328 [ncp.client] TRACE: NCP connection state changed: 1
0003436328 [net.pppncp] TRACE: NCP event 2
0003436329 [net.pppncp] TRACE: State changed event: 1
0003436329 [mux] INFO: GSM07.10 muxer thread exiting
0003436330 [net.ppp.client] TRACE: PPP thread event LOWER_DOWN data=0
0003436331 [net.ppp.client] TRACE: State CONNECTED -> DISCONNECT

Is this a BRN310 or BRN314? They have different SIM cards and it could be an issue between the SIM provider and the local operator ArmenTel/Beeline Armenia (28301).

Thanks for a response!

Its BRN314 (so with EtherSIM) and it was working for 2 years without any problem. It started just recently and it drives me mad that I can`t figure out what is the problem. Do you have any suggestions in mind?

Not sure. It's not a known issue.

This error

0003436327 [mux] ERROR: The other end has not replied to keep alives (TESTs) 5 times, considering muxed connection dead

can occur if the cellular modem has crashed. Does it start working again if you remove power (and battery) from the device?

The modem should fully reset after 10 minutes of failing to connect, but it could be an unknown/unexpected condition.

Yeah, it freezes then automatically restarts. And this loop continues forever. Sometimes it is enough time to update the firmware from the Cloud, sometimes not…