# Problem in Sim800L Http connectivity when httpNodeAuth Activated

**URL:** <https://discourse.nodered.org/t/problem-in-sim800l-http-connectivity-when-httpnodeauth-activated/22591>\
**Category:** General\
**Created:** [3 March 2020 22:17 UTC](https://discourse.nodered.org/t/problem-in-sim800l-http-connectivity-when-httpnodeauth-activated/22591 "2020-03-03T22:17:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iotdevv](https://avatars.discourse-cdn.com/v4/letter/i/9e8a1a/32.png) [@iotdevv](https://discourse.nodered.org/u/iotdevv)\
**Post date:** [3 March 2020 22:17 UTC](https://discourse.nodered.org/t/problem-in-sim800l-http-connectivity-when-httpnodeauth-activated/22591/1 "2020-03-03T22:17:18Z")

</div>

hello  
i have a problem with http post/get methods with Sim800L module  
i enabled httpNodeAuth to protect http connection with a user/pass  
i tested post/get methods with Postman and i get 200/Ok response  
but with sim800l i have problem . as you know when you enable httpNodeAuth you should send your request with this format :  
[http://user:password@YourIPAddress:1880/path](http://user:password@YourIPAddress:1880/path)  
but it seems with this format sim800L cant make http connection

Note: When i disable httpNodeAuth i have any problem with Sim800L http connection to Node-Red server!

```auto
[{"id":"5c4aaebd.ff988","type":"http in","z":"ffaa6423.6a8358","name":"","url":"/path","method":"post","upload":false,"swaggerDoc":"","x":220,"y":220,"wires":[["bdc5cf69.4631","1594911d.ef278f"]]},{"id":"bdc5cf69.4631","type":"debug","z":"ffaa6423.6a8358","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":430,"y":240,"wires":[]},{"id":"1594911d.ef278f","type":"http response","z":"ffaa6423.6a8358","name":"response","statusCode":"","headers":{},"x":450,"y":360,"wires":[]}]

```

```auto
T+SAPBR=3,1,"APN","mtnirancell"

OK
AT+SAPBR=2,1

+SAPBR: 1,1,"10.40.56.105"

OK
AT+HTTPINIT

OK
AT+HTTPPARA="CID",1

OK
AT+HTTPPARA="URL","http://user:password@MyIpAddress:1880/path"

OK
AT+HTTPPARA="CONTENT","application/x-www-form-urlencoded"

OK
AT+HTTPDATA=15,10000

DOWNLOAD
data1=0&data2=0
OK
AT+HTTPACTION=1

OK

+HTTPACTION: 1,603,0

```

and sometimes i get +HTTPACTION: 1,601,0 error

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [3 March 2020 23:50 UTC](https://discourse.nodered.org/t/problem-in-sim800l-http-connectivity-when-httpnodeauth-activated/22591/2 "2020-03-03T23:50:19Z")

</div>

Simple authentication (user/pass) has no security effect because the username and password is transferred as clear text. Same as if you stick your key of your bike with tape on the bike itself.  
Https or other encryption is necessary but that needs memory and some calculation power ... perhaps take a look at an esp32? And find a library or firmware that can use the serial at commands for your gsm card.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 May 2020 23:50 UTC](https://discourse.nodered.org/t/problem-in-sim800l-http-connectivity-when-httpnodeauth-activated/22591/3 "2020-05-02T23:50:20Z")

</div>

Closed on 2 May 2020 23:50 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
