# Can not connect server leshan

**URL:** <https://forum.sequans.com/t/can-not-connect-server-leshan/518>\
**Category:** LTE-M / NB-IoT (Monarch)\
**Tags:** network\
**Created:** [July 23, 2026, 8:13am UTC](https://forum.sequans.com/t/can-not-connect-server-leshan/518 "2026-07-23T08:13:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![WEI](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@WEI](https://forum.sequans.com/u/WEI)\
**Post date:** [July 23, 2026, 8:13am UTC](https://forum.sequans.com/t/can-not-connect-server-leshan/518/1 "2026-07-23T08:13:28Z")

</div>

[record\_2026-07-09-15h14m40.evt](https://forum.sequans.com/uploads/short-url/vQAGoZNkiYYTqVwqUDLD1ClSVCt.evt) (325.9 KB)

[record\_2026-07-09-15h32m58.evt](https://forum.sequans.com/uploads/short-url/1oRCSd7Sqj2Tr1C5H95FePNAYVu.evt) (279.7 KB)

hi

I am working with _the KIT NEKTAR-EVK_ Monarch 2 SKY66431 for my COAP connecting to server leshan in using AT command. But I can not reach the server. There are two records that what I take in the top, if somebody can help me to find where the problem is .

I use the sequans 4G DM tool to connect device and the interface AT command.

Thanks,

Best regards,

Wei

---

<div class="post-metadata">

**Author:** ![cmchen](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@cmchen](https://forum.sequans.com/u/cmchen)\
**Post date:** [July 24, 2026, 10:22am UTC](https://forum.sequans.com/t/can-not-connect-server-leshan/518/2 "2026-07-24T10:22:19Z")

</div>

Hi Wei,

Thank you for raising it to us.  
I have review the both DM logs and the Device Managment configuration is:  
15:18:10’614.00\> AT+SQNDMCFG=“standard”,“server”,100,“60”,“coaps://leshan.eclipseprojects.io:5684”,“1”,“bs”–\> This set poll timer to 100 s.

Then it should attempt to connect after configured CID is available:  
5:21:12’763.75\> msg - LWM2M - [lwm2m\_apn\_conn\_profile\_notify\_pdn\_established:275] Network connection established {CID: 1}  
15:21:12’763.87\> level \>\>\>\> msg - FEEDS - 15:21 12.820 \>| LWM2M/ audit \>| [update\_connection\_statistics\_time:222] Connection time updated [CID: 1; Failed: 0; Cause: 0]  
15:21:12’763.87\> msg - LWM2M - [update\_connection\_statistics\_time:222] Connection time updated [CID: 1; Failed: 0; Cause: 0]

Could you try dumping the DM status again using the AT command `AT+SQNDMST` after the 100S CID has been established?

---

<div class="post-metadata">

**Author:** ![WEI](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@WEI](https://forum.sequans.com/u/WEI)\
**Post date:** [July 24, 2026, 11:59pm UTC](https://forum.sequans.com/t/can-not-connect-server-leshan/518/3 "2026-07-24T23:59:16Z")

</div>

[record\_2026-07-24-15h08m35.evtdat](https://forum.sequans.com/uploads/short-url/vvChmFmRfDQzjIuT1EFfvoTLMih.evtdat) (984.6 KB)

Hi Chi-meng

I take another record.

After command AT+SQNDMST I got ERROR, I am not sure if the LTE server is not attached or the LwM2M client is disabled.

Hope your team can help me to find Something.

If your team reached Leshen I am not sure if you can send me a good version recording of your parts then I can compare with.

Best regards,

Wei

---

<div class="post-metadata">

**Author:** ![cmchen](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@cmchen](https://forum.sequans.com/u/cmchen)\
**Post date:** [July 31, 2026, 12:59pm UTC](https://forum.sequans.com/t/can-not-connect-server-leshan/518/4 "2026-07-31T12:59:24Z")

</div>

Hi Wei,

In fact, the attached DM log file is not the right one. Then I cannot review it.  
The right one should have “evt” as file extension. However, the attachment is within “evtdat”.  
Could you kindly share the right one here then I can read it?

---

<div class="post-metadata">

**Author:** ![WEI](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@WEI](https://forum.sequans.com/u/WEI)\
**Post date:** [August 3, 2026, 7:04am UTC](https://forum.sequans.com/t/can-not-connect-server-leshan/518/5 "2026-08-03T07:04:20Z")

</div>

[record\_2026-07-24-15h08m35.evt](https://forum.sequans.com/uploads/short-url/3P7SzwOLVXgF6rFOLkYOdt6vBsP.evt) (1.4 MB)

Hi Chi-meng

I am sorry that I send the file which is not correct.

Thanks

Best regards,

Wei

---

<div class="post-metadata">

**Author:** ![cmchen](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@cmchen](https://forum.sequans.com/u/cmchen)\
**Post date:** [September 1, 2026, 9:36am UTC](https://forum.sequans.com/t/can-not-connect-server-leshan/518/6 "2026-09-01T09:36:09Z")

</div>

Hi Wei,

Sorry for my delay reply.  
I have review the DM log which is shared by you earlier and it indicate that L2M2M module aware the LTE network become available but it do not run the profile properly:

15:23:32’264.88\> msg - LWM2M - [lwm2m\_apn\_conn\_profile\_notify\_pdn\_established:275] Network connection established {CID: 1}  
15:23:32’265.00\> level \>\>\>\> msg - FEEDS - 15:23 32.420 \>| LWM2M/ audit \>| [update\_connection\_statistics\_time:222] Connection time updated [CID: 1; Failed: 0; Cause: 0]

I will try to prepare setup in my side to see if I manage to make it work then back to you.
