Error 1,5 while attempting an https connection with an HL7800 modem

Hello everybody,

I am trying to connect with a Sierra HL7800 modem to a cloud function hosted on google firebase (in https ) in order to send a post request.
The problem is that I can’t connect to the cloud function. I get a KHTTP 1,5 error.
I specify that the cloudfunction works with the POSTMAN site (send a successful post request, server response).
Does anyone have an idea?
I’m attaching below the commands I’ve done
Thanks in advance

Fabien

Blockquote
at
OK
at&k3
OK
at+cpin?
+CPIN: READY

OK
at+creg?
+CREG: 0,5

OK
at+cereg?
+CEREG: 0,5

OK
ati3
HL7800.4.6.9.4

OK
at+kcertstore?
CONNECT
root_cert,0,1911
-----END CERTIFICATE-----nGuV/u3gm3c6dtxQ/PeEMMA3KgqlbbC1j+Qa3bb
root_cert,1,0
root_cert,2,0
root_cert,3,0
local_cert,0,1996
-----END CERTIFICATE-----hSFm/Y3m6xv+cXDBlHz4n/FsRC6UfTdZTqPwJNl
local_cert,1,0
local_cert,2,0

OK
at+kprivkstore?
CONNECT
private_key,0,1704
-----END PRIVATE KEY-----yt0snLO2fv868VdUSP+fJfj9FwbI10LKcRPqa+W
private_key,1,0
private_key,2,0

OK
at+ksslcfg?
+KSSLCFG: 0,3
+KSSLCFG: 2,0

OK
at+cclk?
+CCLK: “23/02/07,11:43:36+04”

OK
at+cgdcont=1,“ipv4v6”,“iot.1nce.net
OK
at+kcnxcfg=1,“gprs”,“iot.1nce.net
OK
at+kcnxprofile=1
OK
at+ksslcrypto=0,8,3,25392,12,4,1,0
OK
at+kcnxup=1
OK

+KCNX_IND: 1,1,0
AT+KHTTPCFG=1,“us-central1-kiomda-preprod.cloudfunctions.net”,443,2,0
+KHTTPCFG: 1

OK

+KHTTP_ERROR: 1,5

Blockquote

Hi @fabien.sanchez ,
Could you please share with me some information as below:

  1. Has this issue happened before? Or is this the first time?
  2. How many HL7800 devices did you observe this issue? If It’s just only one, could you please retry on another HL7800 device?
  3. Please make sure your network is stable during HTTP implementation
  4. Please share with me the Wireshark log on the Server side

Thanks,

Hi Jerdung,
This is the first time I try to connect to my cloud function. I have only one HL7800 for the moment but an order for several modems is in progress.
I think I found the error. I use Putty to send AT commands and some caracters in the .crt certificates are removed by the terminal.
Which terminal do you use to send AT commands ? Do you use .crt files to send certficiates files ?

Fabien

I try to download a certificate in .crt format (CA certificate from the website www.howsmyssl.com for example) with Clearterminal, I get an 930 error code.

I think I need some help here

It seems that 0x0D caracters are removed from each line from the original .crt file and I don’t know why :

Hi @fabien.sanchez
You can refer to how to upload the certificate as follows:

  1. Set custom end of data pattern

AT+KPATTERN="--EOF--Pattern--"

  1. Upload your certificate to internal storage
    Example with Root certificate:
  AT+KCERTSTORE=0
  CONNECT
  <Copy and paste your CA cert here. Then end the certificate with "--EOF--Pattern--">
  OK
  1. Query your certificate

AT+KCERTSTORE?

Thanks,

Hi Jerdung

Thanks for the reply, the problem was related to the terminal software I was using