EC21-AU Problem with HTTPS Application

Hello everyone,

I’m using EC21-AU LTE module for an IoT application, firmware version : EC21AUGCR06A02M1G .
I got respond from HTTP GET request but failed when I try to send HTTPS GET request (almost website, except google.com)
My configuration:

  • AT+QHTTPCFG=“responseheader”,1.
  • AT+QHTTPCFG=“sslctxid”,1.
  • AT+QICSGP - AT+QIACT // I config APN from a VietNam network provider.
  • AT+QSSLCFG=“sslversion”,1,3 // SSL version : TLS 1.2 - I tried all version.
  • AT+QSSLCFG=“ciphersuite”,1,0XFFFF
  • AT+QSSLCFG=“seclevel”,1,0 // seclevel : 0.

When I send command AT+QHTTPURL – AT+QHTTPGET alway return 714 - HTTP DNS error despite of DNS not “0.0.0.0” (I changed DNS to another provider network but not work).

I think problem is in the OpenSSL of module.
Can I get latest firmware to solve problem?

Thanks all

Hi
There are two options for you to choose: 1AT+QIDNSCFG reassigns a valid DNS server address. 2. Deactivate the PDP context through AT+QIDEACT, and reactivate the PDP context through AT+QIACT.
Best wishes

Hi FelixCheng, I tried two options above so many times but not work. :frowning_face:

Hi hoang_huynh
Please provide your email, I will send you the latest firmware.

Hi
You can also refer to the following process to test
2021-06-23_19:14:36:656]AT+QHTTPCFG=“contextid”,1

[2021-06-23_19:14:36:656]OK
[2021-06-23_19:14:37:536]AT+QHTTPCFG=“responseheader”,1

[2021-06-23_19:14:37:536]OK
[2021-06-23_19:14:40:489]AT+QHTTPCFG=“sslctxid”,1

[2021-06-23_19:14:40:489]OK

[2021-06-23_19:14:49:041]AT+QSSLCFG=“sslversion”,1,3

[2021-06-23_19:14:49:041]OK
[2021-06-23_19:14:53:311]AT+QSSLCFG=“ciphersuite”,1,0xc02f

[2021-06-23_19:14:53:311]OK
[2021-06-23_19:14:55:597]AT+QSSLCFG=“seclevel”,1,0

[2021-06-23_19:14:55:597]OK
[2021-06-23_19:14:58:355]at+qsslcfg=“sni”,1,1

[2021-06-23_19:14:58:355]OK
[2021-06-23_19:14:59:788]AT+QHTTPURL=58,80

[2021-06-23_19:14:59:788]CONNECT
[2021-06-23_19:15:01:207]
[2021-06-23_19:15:01:207]OK
[2021-06-23_19:15:02:725]AT+QHTTPGET=80

[2021-06-23_19:15:02:725]OK
[2021-06-23_19:15:04:841]
[2021-06-23_19:15:04:841]+QHTTPGET: 0,200,26928
[2021-06-23_19:15:07:052]AT+QHTTPREAD=80

[2021-06-23_19:15:07:053]CONNECT
[2021-06-23_19:15:07:053]HTTP/1.1 200 OK
[2021-06-23_19:15:07:053]Content-Type: application/octet-stream
[2021-06-23_19:15:07:053]Content-Length: 26928
[2021-06-23_19:15:07:053]Connection: keep-alive
[2021-06-23_19:15:07:053]Date: Wed, 23 Jun 2021 11:15:05 GMT
[2021-06-23_19:15:07:053]Last-Modified: Mon, 21 Jun 2021 08:34:48 GMT
[2021-06-23_19:15:07:053]ETag: “640a32f69cc8ee978aaeb3b66d55e001”
[2021-06-23_19:15:07:053]Accept-Ranges: bytes
[2021-06-23_19:15:07:068]Server: AmazonS3
[2021-06-23_19:15:07:068]X-Cache: Miss from cloudfront
[2021-06-23_19:15:07:068]Via: 1.1 08523828eac58ab546028ccf39ec743c.cloudfront.net (CloudFront)
[2021-06-23_19:15:07:068]X-Amz-Cf-Pop: LAX3-C3
[2021-06-23_19:15:07:068]X-Amz-Cf-Id: 3XlcKUL8f_JmPxDwdqJe4le5K4wGkCts66p5ZuvbYhhA6Hk_SYbguw==

[2021-06-23_19:15:08:565]+QHTTPREAD: 0

ipv6 test
[2021-06-23_19:16:54:040]at+cgdcont=1,“ipv6”,“ctnet”

[2021-06-23_19:16:54:071]OK
[2021-06-23_19:17:03:955]at+qicsgp=1

[2021-06-23_19:17:03:955]+QICSGP: 2,“ctnet”,"","",0

[2021-06-23_19:17:03:955]OK
[2021-06-23_19:17:27:215]at+qideact=1

[2021-06-23_19:17:27:215]OK
[2021-06-23_19:17:29:502]AT+QIACT?

[2021-06-23_19:17:29:502]OK
[2021-06-23_19:17:33:228]AT+QIACT=1

[2021-06-23_19:17:33:259]OK
[2021-06-23_19:17:34:700]AT+QIACT?

[2021-06-23_19:17:34:714]+QIACT: 1,1,2,“240E:458:48E:921:0:0:0:1”

[2021-06-23_19:17:34:714]OK
[2021-06-23_19:17:36:833]AT+QHTTPCFG=“contextid”,1

[2021-06-23_19:17:36:833]OK
[2021-06-23_19:17:37:563]AT+QHTTPCFG=“responseheader”,1

[2021-06-23_19:17:37:563]OK
[2021-06-23_19:17:39:549]AT+QHTTPCFG=“sslctxid”,1

[2021-06-23_19:17:39:549]OK
[2021-06-23_19:17:40:260]AT+QSSLCFG=“sslversion”,1,3

[2021-06-23_19:17:40:260]OK
[2021-06-23_19:17:40:928]AT+QSSLCFG=“ciphersuite”,1,0xc02f

[2021-06-23_19:17:40:928]OK
[2021-06-23_19:17:42:730]AT+QSSLCFG=“seclevel”,1,0

[2021-06-23_19:17:42:730]OK
[2021-06-23_19:17:44:029]AT+QHTTPURL=58,80

[2021-06-23_19:17:44:029]CONNECT
[2021-06-23_19:17:44:959]
[2021-06-23_19:17:44:959]OK
[2021-06-23_19:17:46:281]AT+QHTTPGET=80

[2021-06-23_19:17:46:281]OK
[2021-06-23_19:17:50:218]
[2021-06-23_19:17:50:218]+QHTTPGET: 0,200,26928
[2021-06-23_19:17:51:110]AT+QHTTPREAD=80

[2021-06-23_19:17:51:110]CONNECT
[2021-06-23_19:17:51:110]HTTP/1.1 200 OK
[2021-06-23_19:17:51:110]Content-Type: application/octet-stream
[2021-06-23_19:17:51:110]Content-Length: 26928
[2021-06-23_19:17:51:110]Connection: keep-alive
[2021-06-23_19:17:51:110]Date: Wed, 23 Jun 2021 11:17:51 GMT
[2021-06-23_19:17:51:110]Last-Modified: Mon, 21 Jun 2021 08:34:48 GMT
[2021-06-23_19:17:51:110]ETag: “640a32f69cc8ee978aaeb3b66d55e001”
[2021-06-23_19:17:51:128]Accept-Ranges: bytes
[2021-06-23_19:17:51:128]Server: AmazonS3
[2021-06-23_19:17:51:128]X-Cache: Miss from cloudfront
[2021-06-23_19:17:51:128]Via: 1.1 9517a17427fc33cf5c4c983258d1ea0f.cloudfront.net (CloudFront)
[2021-06-23_19:17:51:128]X-Amz-Cf-Pop: LAX50-C4
[2021-06-23_19:17:51:128]X-Amz-Cf-Id: Z61Ax2GGC3xmbDad57X4US_yyeWy2s0XsAm_H0n-r-YwvPBFuiOdCA==

[2021-06-23_19:17:52:179]+QHTTPREAD: 0

Hi FelixCheng-Q,
This is my email : huynhhoangdouth97@gmail.com.
Thanks for your support :smiley: