Page 1 of 1

ngrok wifisecure [SOLVED]

Posted: Wed Nov 25, 2020 4:57 am
by uzer123
I used https://github.com/espressif/arduino-es ... Secure.ino for a long time with ngrok root CA, and everything worked fine.
Now i try to do the same but i get this error:

Code: Select all

[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():199]: (-29312) SSL - The connection indicated an EOF
[E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -29312
It is strange to get an error as "www.howsmyssl.com" example works fine, also i try to go in google with root CA i downloaded myself and again works fine..

did ngrok changed anything? this was working fine some months ago..

Re: ngrok wifisecure

Posted: Wed Nov 25, 2020 5:30 pm
by uzer123
I set the debug level to 5 and this is the output..
the issue persists..

Code: Select all

[V][ssl_client.cpp:58] start_ssl_client(): Starting socket
[V][ssl_client.cpp:93] start_ssl_client(): Seeding the random number generator
[V][ssl_client.cpp:102] start_ssl_client(): Setting up the SSL/TLS structure...
[V][ssl_client.cpp:115] start_ssl_client(): Loading CA cert
[V][ssl_client.cpp:180] start_ssl_client(): Setting hostname for TLS session...
[V][ssl_client.cpp:195] start_ssl_client(): Performing the SSL/TLS handshake...
[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():199]: (-29312) SSL - The connection indicated an EOF
[E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -29312
[V][ssl_client.cpp:248] stop_ssl_socket(): Cleaning SSL connection.
Connection failed!
[D][WiFiGeneric.cpp:337] _eventCallback(): Event: 3 - STA_STOP
[D][WiFiGeneric.cpp:337] _eventCallback(): Event: 3 - STA_STOP

Re: ngrok wifisecure

Posted: Thu Nov 26, 2020 1:47 am
by uzer123
After many hours I ended up that ngrok was the problem..

Re: ngrok wifisecure [SOLVED]

Posted: Mon Oct 10, 2022 11:51 am
by marbalon
Hi,

But did you find a solution to make it work? Have you changed something on the ngrok side to make it work ?

BR,
Marcin.