AT SSL ERROR REBOOT

sabas1080
Posts: 1
Joined: Sun Jan 31, 2016 4:36 am

AT SSL ERROR REBOOT

Postby sabas1080 » Sun Jan 31, 2016 4:42 am

Hi

I 'm testing the latest version of AT 0.60 with SSL connection

http://bbs.espressif.com/viewtopic.php?f=46&t=1703

and command

Code: Select all

AT+CIPSTART="SSL","iot.espressif.cn",8443


but reboot ESP8266

attachments image

Thanks
Attachments
SSL_AT_erro.png
SSL_AT_erro.png (10.77 KiB) Viewed 8699 times

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: AT SSL ERROR REBOOT

Postby ESP_Faye » Mon Feb 01, 2016 11:51 am

Hi,

Please try

Code: Select all

AT+CIPSSLSIZE=4096
AT+CIPSTART=“SSL”,"iot.espressif.cn",8443

SSL connection needs a lot of memory, otherwise, it may cause system reboot.
Users can try command "AT+CIPSSLSIZE=<size>" to enlarge the buffer size.

We have updated the documentation http://bbs.espressif.com/viewtopic.php?f=51&t=1022, sorry for the inconvenience.

bobstay
Posts: 1
Joined: Fri Apr 01, 2016 11:04 pm

Re: AT SSL ERROR REBOOT

Postby bobstay » Fri Apr 01, 2016 11:08 pm

Hi,

I am still having this problem even with AT+CIPSSLSIZE=4096. I get the following:

Code: Select all

AT+CIPSSLSIZE=4096

OK
AT+CIPSTART="SSL","iot.espressif.cn",8443

@f�8���@�H:���L�
C9(d@n B��`s��
ready


I am using the 0.60 AT firmware from here with an ESP-01 module.

Can you help?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: AT SSL ERROR REBOOT

Postby ESP_Faye » Tue Apr 05, 2016 11:26 am

Hi,

What is the size of your flash, 512KB? 1024KB? Or other size?

Please download bin files into flash through ESP Flash Download Tool, the flash size will be shown on the "DETECTED INFO" are on the tool while downloading.

ypypy______
Posts: 2
Joined: Sun Apr 10, 2016 9:04 pm

Re: AT SSL ERROR REBOOT

Postby ypypy______ » Sun Apr 10, 2016 10:04 pm

Hi.
I'm use esp8266 (8Mbit) and wroom-02 with host processor (AT commands).
I try ESP8266_NONOS_SDK_V1.5.2_16_01_29 and AT_V0.60_on_ESP8266_NONOS_SDK_V1.5.2_20160203 and they're works fine

some log


AT+CIPSSLSIZE=4096


OK
AT+CIPSTART=1,"SSL","howsmyssl.com",443

1,CONNECT

OK
AT+CIPSEND=1,71


OK
>
Recv 71 bytes

SEND OK

+IPD,1,804:HTTP/1.1 200 OK
Content-Length: 570
Access-Control-Allow-Origin: *
Connection: close
Content-Type: application/json
Date: Sun, 10 Apr 2016 11:43:07 GMT
Strict-Transport-Security: max-age=631138519; includeSubdomains; preload

{"given_cipher_suites":["TLS_RSA_WITH_AES_128_CBC_SHA","TLS_RSA_WITH_AES_256_CBC_SHA","TLS_RSA_WITH_RC4_128_SHA","TLS_RSA_WITH_RC4_128_MD5"],"ephemeral_keys_supported":false,"session_ticket_supported":false,"tls_compression_supported":false,"unknown_cipher_suite_supported":false,"beast_vuln":false,"able_to_detect_n_minus_one_splitting":false,"insecure_cipher_suites":{"TLS_RSA_WITH_RC4_128_MD5":["uses RC4 which has insecure biases in its output"],"TLS_RSA_WITH_RC4_128_SHA":["uses RC4 which has insecure biases in its output"]},"tls_version":"TLS 1.1","rating":"Bad"}1,CLOSED



So, pure SSL seems to working fine. Same results I get when communicate to servers with self-signed certs.
But we (customers 8-) ) need normal HTTPS to trusted! servers via AT commands!
Can we get this feature now if based on latest sdk release?
Can we get this featurein futher sdk release 'out of the box' ?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: AT SSL ERROR REBOOT

Postby ESP_Faye » Mon May 09, 2016 5:12 pm

Hi,

Sorry that because of the memory limitation, AT firmware can not support to run as SSL server.

So sorry for the inconvenience.

Who is online

Users browsing this forum: No registered users and 2 guests