+CME ERROR: 843 when using HTTP Client(at+wipcreate=5)


#1

Hi, i’m trying to use the HTTP Client, but 9 out of like 10 times, I get the +cme error: 843, which basically means “Connection reset by peer”. I’ll need to reconnect to GPRS and retry.

The strange thing is that I’m able to ping (using wipping) the server using the same GPRS session, and I can also access the URL using my fixed line internet. I’m also able to get SMTP client to work.

The command I use are as follows, please help. :frowning:

at+wipcfg=1
at+wipbr=1,6
at+wipbr=2,6,11,“apn”
at+wipbr=2,6,21,600
at+wipbr=4,6,0
at+wipcreate=5,1,“http://www.mydomain.com/script.php?keyid=689”,80
at+wipopt=5,1,2,50,500
at+wipopt=5,1,2,51,500
at+wipfile=5,1,1,“http://www.mydomain.com/script.php?keyid=689

I’ve also tried:

at+wipcfg=1
at+wipbr=1,6
at+wipbr=2,6,11,“apn”
at+wipbr=2,6,21,600
at+wipbr=4,6,0
at+wipcreate=5,1
at+wipfile=5,1,1,“http://www.mydomain.com/script.php?keyid=689

When it fails, i get “+cme error: 843”, and i have to reset GPRS, issue AT+WIPBR=5,6, followed by AT+WIPBR=0,6 and redo the above AT commands.

When it does succeeds, i get:

connect
xxxxxxxxxxxxxxxx
+wipfile: 5,1,

at+wipcfg=3 returns:

WIP Soft v531 on Open AT OS v632
Feb 22 2010 07:24:48 WIPlib:v5a17 WIPSoft:v3b07


#2

Could this be related: https://forum.sierrawireless.com/t/multiple-http-requests-every-other-one-fails/4184/1 :question:


#3

Thanks for the link. I think I saw that previously, but not sure what it means - as I’m only using AT commands. For my case, it’s not just every other connection, but almost every connection.

Do you think it is because my version is old? I also experience other strange issues - it would appear to me that the Internet plugin is not stable.