EC200U HTTPS Token request based on the request header

Hi Team,

I am using the Quectel EC200U 4G LTE module for the Indian region and am trying to establish an HTTPS connection to request a JWT token from our server. However, I am not receiving any HTTPS response, and the module consistently returns an error or times out.

Below are the AT commands and logs for your reference. Kindly review and advise if there is any issue with the command sequence, SSL configuration, or HTTP header handling.

Please check the below commands sequence:

CMD: AT+QIACT?

+QIACT: 1,1,1,“100.75.104.202”

OK
CMD: AT+CREG?

+CREG: 0,1

OK
CMD: AT+CGREG?

+CGREG: 0,1

OK
CMD: AT+CGATT?

+CGATT: 1

OK
CMD: AT+QHTTPCFG=“contextid”,1

OKCMD: AT+QHTTPCFG=“sslctxid”,1

OKCMD: AT+QSSLCFG=“seclevel”,1,0

OKCMD: AT+QSSLCFG=“sslversion”,1,4

OKCMD: AT+QHTTPCFG=“responseheader”,1

OKCMD: AT+QHTTPCFG=“requestheader”,1

OKCMD: AT+QHTTPURL=44,60

CONNECT

OKHeader Length = 170
CMD: AT+QHTTPGET=170,60

CONNECTGET /request_token.php HTTP/1.1

.

.

.

OKWaiting for +QHTTPGET …

ERROR

+QIURC: “closed”,0

HTTP GET Timeout
CMD: AT+QIGETERROR

+QIGETERROR

Please do the needful.

Regards,

FKumar

Hi there,
From the command log you provided, seems like you have successfully Send HTTPS GET request and get the response.
CONNECTGET /request_token.php HTTP/1.1

.

.

.

OKWaiting for +QHTTPGET …

Could you please provide the full AT command and its URC response for further analysis?

You can also refer to the document below for your reference:
(Refer to page 35 for example)
Quectel_EC200U&EG800G&EG91xU&EG915G_Series_HTTP(S)_Application_Note_V1.5.pdf