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

patrick1957
Posts: 1
Joined: Thu Feb 07, 2019 1:09 pm

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

Postby patrick1957 » Thu Feb 07, 2019 1:21 pm

How can I use AT command to access https website? Use SSL instead of TCP for AT+CIPSTART command?

Thks
Qiang

Her Majesty
Posts: 373
Joined: Mon Oct 27, 2014 11:09 am

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

Postby Her Majesty » Thu Feb 14, 2019 6:03 pm

I guess so. Maybe SSL certificates are also needed.

Who is online

Users browsing this forum: No registered users and 5 guests