esp-idf: NB-IoT network assert failed: tcpip_send_msg_wait_sem IDF/components/lwip/lwip/src/api/tcpip.c:455 (Invalid mbox), Wifi OK (IDFGH-8300)

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

4.4

Operating System used.

Windows

How did you build your project?

Command line with CMake

If you are using Windows, please specify command line type.

No response

Development Kit.

ESP32-C3

Power Supply used.

USB

What is the expected behavior?

NB-IOT use esp_https_ota

What is the actual behavior?

assert failed: tcpip_send_msg_wait_sem IDF/components/lwip/lwip/src/api/tcpip.c:455 (Invalid mbox)

Steps to reproduce.

    esp_http_client_config_t config = {
            .url = file_url.c_str(),
            .cert_pem = (char *) server_cert_pem_start,
            .timeout_ms = 600000,
            //.crt_bundle_attach =  esp_crt_bundle_attach,
            .keep_alive_enable = true,
    };
    esp_err_t ret = esp_https_ota(&config);

Debug Logs.

assert failed: tcpip_send_msg_wait_sem IDF/components/lwip/lwip/src/api/tcpip.c:455 (Invalid mbox)
Core  0 register dump:
MEPC    : 0x40381bc2  RA      : 0x40384fea  SP      : 0x3fca02a0  GP      : 0x3fc8ba00  
TP      : 0x3fc7eddc  T0      : 0x37363534  T1      : 0x7271706f  T2      : 0x33323130  
S0/FP   : 0x3fca0432  S1      : 0x00000065  A0      : 0x3fca0304  A1      : 0x3fc8bc45  
A2      : 0x00000001  A3      : 0x00000029  A4      : 0x00000001  A5      : 0x3fc90000  
A6      : 0x7a797877  A7      : 0x76757473  S2      : 0x3fca02f8  S3      : 0x00000001  
S4      : 0x3fca02f8  S5      : 0x4201c0cc  S6      : 0x00000000  S7      : 0x00000000  
S8      : 0x00000000  S9      : 0x00000000  S10     : 0x00000000  S11     : 0x00000000  
T3      : 0x6e6d6c6b  T4      : 0x6a696867  T5      : 0x66656463  T6      : 0x62613938  
MSTATUS : 0x00001801  MTVEC   : 0x40380001  MCAUSE  : 0x00000007  MTVAL   : 0x00000000  
MHARTID : 0x00000000  

Stack memory:

More Information.

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24

Most upvoted comments

@DreamPWJ Have you found a solution? I’m getting the same error message on an ESP32 with SIM800 GSM module.

@superf-lewis i dont understand , can you solve , if you solve , can you write solution please