ngrok wifisecure [SOLVED]

uzer123
Posts: 12
Joined: Thu May 07, 2020 4:42 pm

ngrok wifisecure [SOLVED]

Postby uzer123 » Wed Nov 25, 2020 4:57 am

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..
Last edited by uzer123 on Thu Nov 26, 2020 1:47 am, edited 1 time in total.

uzer123
Posts: 12
Joined: Thu May 07, 2020 4:42 pm

Re: ngrok wifisecure

Postby uzer123 » Wed Nov 25, 2020 5:30 pm

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

uzer123
Posts: 12
Joined: Thu May 07, 2020 4:42 pm

Re: ngrok wifisecure

Postby uzer123 » Thu Nov 26, 2020 1:47 am

After many hours I ended up that ngrok was the problem..

marbalon
Posts: 23
Joined: Wed Dec 20, 2017 11:02 am

Re: ngrok wifisecure [SOLVED]

Postby marbalon » Mon Oct 10, 2022 11:51 am

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.

Who is online

Users browsing this forum: No registered users and 92 guests