Problem end of TCP SSL connection

Hi,

I try to communicate with personnal nginx server. I can establish the connection and send a GET command but after the end of the server’s response, the module don’t send any SHUTDOWN. I must wait the time out of the connection (bad) and I can see a +CME ERROR:843.This is my log:

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 26 Jan 2015 10:04:23 GMT
Content-Type: application/json
Connection: close

{“last”:null} (My response follow by the caractere 3)

+CME ERROR: 843

Until this time I was using TCP connection with no SSL and the SHUTDOWN appeared each time…
Did someone have the same problem?

Hi,
could you provide more information like which module are you using? Which FW version? SSL library version? Are you using your own application of WIPSSL sample application?
Can you also explain the steps to reproduce the issue at our end…

“+CME ERROR: 843” means connection closed by peer, this occurs whenever a read/write operation is performed on an aborted TCP client or TCP server.

Thanks,
Rex

I use the Q2687 module with FW7.52 and WipSSLSoft provide by developer studio.
There is my configuration get from ATI9 command:
“DWL”,“V10c05”,"",“Sierra Wireless”,62640,“051513 10:45”,“a0836b50”,“00010000”
“FW”,“FW_752_34_3.Q2687RDG”,“R7.52.0.201306260837.Q2687RD”,“Sierra Wireless”,673436,“062613 08:37”,“89796368”,“001d0000”
“MODEM”,“1.3.36”,“201306260837.Q2687RD”,“Sierra Wireless”,1713240,“062613 08:37”,“85a2fb97”,“00020000”
“OAT”,“1.0.0.20141128112009”,“WipsslSoft Sample”,“I2A”,627508,“112814 11:27”,“3578ee48”,“002a0000”
-“Developer Studio”,“2.3.2.201310241753”
-“Open AT Application Framework package”,“2.52.0.201405121558”
-“Open AT OS Package”,“6.52.0.201402271535”
-“Firmware Package”,“7.52.0.201404040850”
-“Internet Library Package”,“5.56.0.201305170830”
-“Security Library Package”,“2.2.0.201306261000”
“ROM”,“800000”
“RAM”,“200000”
“DWLNAME”,“Q2687RD”

I communicate only with AT commands by serial port, there are my commands:
AT+CPIN=1234
AT+WIPCFG=1
AT+SSLINIT
AT+SSLSET=0,"/dir/client-cert.pem"
AT+SSLSET=1,"/dir/ca-cert.pem"
AT+SSLSET=2,"/dir/client-key.pem"
AT+SSLSET=3,“randomstring12345”
AT+SSLSET=4,0
AT+SSLSETOPTS
AT+WIPBR=1,6
AT+WIPBR=2,6,0,""
AT+WIPBR=2,6,1,""
AT+WIPBR=2,6,11,“free”
AT+WIPBR=4,6,0
AT+SSLBOOST=1
AT+WIPCREATE=9,1,“itx.aero”,443
AT+WIPDATA=9,1,2
GET / HTTP/1.0
AT+SSLBOOST=0
AT+WIPCLOSE=9,1

I have 3 issue possible:

  • With autosign certificate the module reboot after 2minutes
  • With apache server and trust certificate the module don’t answer to AT+WIPCREATE command.
  • And with nginx server and trust certificate I have the issue I posted first. I may add that the SHUTDOWN appeared sometimes since I try communication (about 5 times on more than hundred test) but no common point between this occurence.

Thanks for help.

*1st issue: the module reboot 2min after AT+WIPCREATE command

Could you ever solved this problem? Need help on same…

No, I stopped my research and changed module’s brand.