# HTTP and TCP commands not working : Operation not permitted

**URL:** <https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976>\
**Category:** Legacy HL Series\
**Created:** [January 14, 2020, 3:43am UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976 "2020-01-14T03:43:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya.thakur](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@aditya.thakur](https://forum.sierrawireless.com/u/aditya.thakur)\
**Post date:** [January 14, 2020, 3:43am UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976/1 "2020-01-14T03:43:08Z")

</div>

Hello,

I am struggling with HL7800 module that we are integrating into our product.  
The UDP communication works just fine but when it is time to talk HTTP, it says operation not permitted.

Can you check what is going wrong?

Here are the logs of the commands sent manually.

AT+COPS?  
+COPS: 0,0,“Verizon Wireless”,7  
OK

AT+KCNXUP=1  
+CME ERROR: 910

AT+KCNXDOWN=1  
OK

AT+KCNXUP=1  
OK  
+KCNX\_IND: 1,1,0

AT+KHTTPCFG=1,“[www.google.com](http://www.google.com)”  
+CME ERROR: operation not supported

AT+KTCPCFG=1,0,"[www.google.com](http://www.google.com),80  
+CME ERROR: Operation not allowed

What am I doing wrong here?

Let me know.

Thank you.

---

<div class="post-metadata">

**Author:** ![jerdung](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jerdung](https://forum.sierrawireless.com/u/jerdung)\
**Post date:** [January 14, 2020, 6:44am UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976/2 "2020-01-14T06:44:38Z")

</div>

Hi,  
The HTTP command is correct, what is the current firmware?  
For the TCP command, you are missing " . It should be AT+KTCPCFG=1,0,**“[www.google.com](http://www.google.com)”**,80

Thanks,

---

<div class="post-metadata">

**Author:** ![aditya.thakur](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@aditya.thakur](https://forum.sierrawireless.com/u/aditya.thakur)\
**Post date:** [January 14, 2020, 7:46pm UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976/3 "2020-01-14T19:46:27Z")

</div>

Here is a response for KGSN commands:

AT+KGSN=1  
+KGSN: 3594160927296001  
OK  
AT+KGSN=2  
+KGSN: 35941609272960-2 SV:01  
OK  
AT+KGSN=3  
+KGSN: T6929242161110  
OK  
AT+KGSN=4  
+KGSN: 00000000000000  
OK

ATI0  
HL7800-M  
OK

ATI3  
BHL7800-M.1.7.15.0.20190125  
OK

ATI8  
HL7800-M.1.7.15  
OK

ATI0  
HL7800-M  
OK

ATI9  
HL7800-M.1.7.15  
BHL78xx.1.7.15.0.RK\_02\_00\_00\_00\_90.20190125  
2019/01/25 14:13:05  
IMEI-SV: 3594160927296001  
Legato RTOS: 18.04.2.ALT1250.rc19 2018/11/26 12:55:45  
atSwi: 07.13  
UBOOT: 01.03  
Apps: RKAPP\_02\_00\_00\_00\_75\_\_bc1a6e4d8f59d38d8288342d58f39215c9882a6f  
Modem Apps: ALT1250\_02\_00\_00\_00\_28\_MA  
MAC: ALT1250\_02\_00\_00\_00\_93\_FW  
PHY: 12.50.201978  
PMP: 203621  
OK

AT+CLAC  
Doesn’t show any KHTTPxxx comamands either?

WHat could be the reason?

Thanks.

---

<div class="post-metadata">

**Author:** ![jerdung](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jerdung](https://forum.sierrawireless.com/u/jerdung)\
**Post date:** [January 15, 2020, 12:58am UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976/4 "2020-01-15T00:58:42Z")

</div>

Hi,  
HTTP command is not implemented on your firmware, please update to the latest fw  
[https://source.sierrawireless.com/resources/airprime/software/hl7800-firmware/hl78xx-firmware/#sthash.kQLNpsL5.dpbs](https://source.sierrawireless.com/resources/airprime/software/hl7800-firmware/hl78xx-firmware/#sthash.kQLNpsL5.dpbs)  
For fw 1.7.15 you only use TCP and UDP ( not HTTP, FTP).

Thanks,

---

<div class="post-metadata">

**Author:** ![aditya.thakur](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@aditya.thakur](https://forum.sierrawireless.com/u/aditya.thakur)\
**Post date:** [January 15, 2020, 2:36am UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976/5 "2020-01-15T02:36:18Z")

</div>

Hi Jerdung,

I have updated the modem with the HL7800/HL7800-M Firmware Release 3.7.2.3. This update I guess broke a lot of things. AT+CMEE=2 doesn’t work. It returns with  
AT+CMEE=2  
+CME ERROR: 3

I have been trying to connect it to the network and so far there have been no success.  
Is 3.7.2.3 a stable release?

AT+COPS=0 gives a timeout or error 515 or PLMN Busy which is not listed in the at command document.  
Lot of issues.

Thank you.

---

<div class="post-metadata">

**Author:** ![jerdung](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jerdung](https://forum.sierrawireless.com/u/jerdung)\
**Post date:** [January 15, 2020, 4:01am UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976/6 "2020-01-15T04:01:53Z")

</div>

Hi,  
Sierra is aware of this issue. There are some changes of this FW so we can not upgrade directly from 1.7.15 to 3.5 (3.7.2). The fix may be available in the next build.  
Please fall back to FW 1.7.15 and use TCP instead of HTTP.  
Or please contact your distributor to get the instruction of upgrading.  
Sorry for this inconvenience.  
Thanks,

---

<div class="post-metadata">

**Author:** ![aditya.thakur](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@aditya.thakur](https://forum.sierrawireless.com/u/aditya.thakur)\
**Post date:** [January 15, 2020, 7:20pm UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976/7 "2020-01-15T19:20:55Z")

</div>

Hi Jerdung,

I will then need help with two things from you.

1. Can you provide me with the link to the 1.7.15 version. The download link lists only two of them.
2. Can you guide me with the set of commands I can use to make https post requests with TCP commands?

Thank you.

---

<div class="post-metadata">

**Author:** ![jerdung](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jerdung](https://forum.sierrawireless.com/u/jerdung)\
**Post date:** [January 16, 2020, 3:36am UTC](https://forum.sierrawireless.com/t/http-and-tcp-commands-not-working-operation-not-permitted/18976/8 "2020-01-16T03:36:41Z")

</div>

Hi aditya,  
I tried to re-update device with fw 3.5.0 and it is working. For this FW, CMEE mode 2 is not supported, you can find new document [https://source.sierrawireless.com/resources/airprime/software/airprime\_hl78xx\_at\_commands\_interface\_guide/#sthash.e2xJ88fp.dpbs](https://source.sierrawireless.com/resources/airprime/software/airprime_hl78xx_at_commands_interface_guide/#sthash.e2xJ88fp.dpbs)  
Please try to set APN and reset module.

Thanks,
