AT+CIPSTART closes on some websites when using SSL

reidkersey
Posts: 1
Joined: Sat Feb 25, 2017 10:40 am

AT+CIPSTART closes on some websites when using SSL

Postby reidkersey » Sat Feb 25, 2017 10:56 am

I have been running into an interesting problem. When loading some websites, after sending the AT+CIPSTART we receive CLOSED. Other websites work just fine. Websites that have been tested working are http://www.posttestserver.com and google.com.

Does anyone know what is going wrong, or how to fix this?

The following is what we are sending, and receiving, when the code is not working.

Code: Select all

ATE0\r\n
--> ATE0\r\r\n\r\nOK\r\n
AT\r\n
--> \r\nOK\r\n
AT+CWMODE=3\r\n
--> \r\nOK\r\n
AT+CWQAP\r\n
--> \r\nOK\r\n
AT+CWJAP="<ssid>","<password>"\r\n
--> WIFI CONNECTED\r\n
--> WIFI GOT IP\r\n
--> \r\nOK\r\n
AT+CIPSSLSIZE=4096\r\n
--> \r\nOK\r\n
AT+CIPSTART="SSL","app.sniffergps.com",443,1000\r\n
--> CLOSED\r\n\r\nOK\r\n
AT+CIPSEND=170\r\n
--> link is not valid\r\n\r\nERROR\r\n


Thanks,
Reid

ESP_Xutao
Posts: 134
Joined: Tue Sep 27, 2016 5:42 pm

Re: AT+CIPSTART closes on some websites when using SSL

Postby ESP_Xutao » Mon Feb 27, 2017 8:47 pm

Hi:
Our AT Framework can be used in HTTP, not HTTPs. If using HTTP, you should add some code in your project, and you can refer to the demo code as below:
https://github.com/espressif/esp8266-no ... Demo_https

Who is online

Users browsing this forum: No registered users and 4 guests