BG96 not responding to AT+QHTTPPOST

Hi Sirs,

I am using an Arduino NB-IoT Shield (Dragino), with BG96 module and I am facing two problems with this module when connected on B20 NB-IOT:

  1. MQTT is not reliable, sometimes I can connect in 10 seconds minimum and others can’t connect at all after 2 minutes.

  2. AT+QHTTPOST command 99% of times doesn’t respond with anything, only worked occasionally. I am using it to publish data to AWS by HTTPS. All certificates and SSL should be correct as they work for the MQTT and they worked for HTTPS couple of times. Please see log below: After AT+QHTTPPOST=12,80,80, I don’t get CONNECT or CME Errors.

[2021-05-02_10:19:11:213]AT+CGPADDR=1

[2021-05-02_10:19:11:235]+CGPADDR: 1,10.32.22.1
[2021-05-02_10:19:11:259]
[2021-05-02_10:19:11:259]OK
[2021-05-02_10:19:20:784]AT+QIACT=1

[2021-05-02_10:19:20:795]OK
[2021-05-02_10:19:21:300]AT+QHTTPCFG=“contextid”,1

[2021-05-02_10:19:21:329]OK
[2021-05-02_10:19:21:804]AT+QHTTPCFG=“requestheader”,0

[2021-05-02_10:19:21:836]OK
[2021-05-02_10:19:22:308]AT+QHTTPCFG=“responseheader”,0

[2021-05-02_10:19:22:340]OK
[2021-05-02_10:19:22:804]AT+QHTTPCFG=“contenttype”,1

[2021-05-02_10:19:22:837]OK
[2021-05-02_10:19:23:311]AT+QIDNSCFG=1,“8.8.4.4”,“8.8.8.8”

[2021-05-02_10:19:23:349]OK
[2021-05-02_10:19:23:819]AT+QSSLCFG=“cacert”,2,“AmazonRootCA.crt”

[2021-05-02_10:19:23:865]OK
[2021-05-02_10:19:24:335]AT+QSSLCFG=“clientcert”,2,“a76b5e3d87-certificate.pem”

[2021-05-02_10:19:24:393]OK
[2021-05-02_10:19:24:830]AT+QSSLCFG=“clientkey”,2,“a76b5e3d87-private.pem”

[2021-05-02_10:19:24:888]OK
[2021-05-02_10:19:25:315]AT+QSSLCFG=“ciphersuite”,2,0xFFFF

[2021-05-02_10:19:25:350]OK
[2021-05-02_10:19:25:810]AT+QSSLCFG=“sslversion”,2,4

[2021-05-02_10:19:25:839]OK
[2021-05-02_10:19:26:306]AT+QSSLCFG=“seclevel”,2,2

[2021-05-02_10:19:26:338]OK
[2021-05-02_10:19:26:813]AT+QSSLCFG=“ignorelocaltime”,1

[2021-05-02_10:19:26:847]+QSSLCFG: “ignorelocaltime”,1,1

[2021-05-02_10:19:26:883]OK
[2021-05-02_10:19:27:305]AT+QSSLCFG=“sni”,2,1

[2021-05-02_10:19:27:332]OK
[2021-05-02_10:19:27:809]AT+QHTTPCFG=“sslctxid”,2

[2021-05-02_10:19:27:841]OK
[2021-05-02_10:19:28:304]AT+QHTTPURL=77,100

[2021-05-02_10:19:28:326]CONNECT
[2021-05-02_10:19:28:870]
[2021-05-02_10:19:28:870]OK
[2021-05-02_10:19:29:308]AT+QHTTPPOST=12,80,80

1 Like

when you send httppost at cmd , we should get “CONNECT” & 200 also,

I attached one correct at log for your reference ,

https://cnquectel-my.sharepoint.com/:f:/g/personal/america-fae_quectel_com/EiPm6UWIRNtDmlqZEjPgjY8BHXBbhQker8Q9D6v9Mz3QVw?e=SlVwQb

any more analysis , we need QXDM log ,pls reach to support@quectel.com