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 Mary
Posts: 453
Joined: Mon Oct 27, 2014 11:09 am

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

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

I guess so. Maybe SSL certificates are also needed.

prashant
Posts: 1
Joined: Thu Feb 13, 2020 3:05 am

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

Postby prashant » Thu Feb 13, 2020 3:15 am

I am facing same issue.
I have my own configured Virtual Server with SSL.
I am using ESP-01 module.
Instead of CONNECT, getting CLOSED without any response

AT+CIPSTART="SSL","demo.ambiconnect.com",443
CLOSED

OK

But it is working fine for other sites.
AT+CIPSTART="SSL","www.google.com",443

CONNECT

OK

Keep Alive Settings are also Good.
Any issue on the Server side related to configurations ?

Her Mary
Posts: 453
Joined: Mon Oct 27, 2014 11:09 am

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

Postby Her Mary » Fri Feb 28, 2020 10:37 am

AT+CIPSSLSIZE=4096 maybe enlarge the SSL buffer can help.

Who is online

Users browsing this forum: No registered users and 2 guests