Hi all,
My goal is to be able to post data to a website using an ESP32 so I thought I would start at the basics & downloads Erel's example code at https://www.b4x.com/android/forum/threads/module-rhttputils2-http-client.74785/
I've spent the past couple of days trying to get Erel's original code working but with no joy
The error message I'm getting is 'ErrorMessage: Failed to connect'
With the debuglevel=debug the log I'm getting is below. I'm suspecting it's something to do with the SSL side
============ After Setup End =============
connected: 1
trying to connect to: example.com port: 443 ssl: 1
[ 3212][D][NetworkManager.cpp:83] hostByName(): Clearing DNS cache
[ 3225][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'example.com' with error '-54'
[ 3233][NetworkClientSecure.cpp:153] connect(): Actual TLS start postponed.
[ 3240][E][NetworkClientSecure.cpp:159] connect(): start_ssl_client: connect failed: -1
*******************************
JobName: Example
ErrorMessage: Failed to connect
Status: 0
I'm just going around in circles! so any help greatly appreciated.
My goal is to be able to post data to a website using an ESP32 so I thought I would start at the basics & downloads Erel's example code at https://www.b4x.com/android/forum/threads/module-rhttputils2-http-client.74785/
I've spent the past couple of days trying to get Erel's original code working but with no joy
The error message I'm getting is 'ErrorMessage: Failed to connect'
With the debuglevel=debug the log I'm getting is below. I'm suspecting it's something to do with the SSL side
============ After Setup End =============
connected: 1
trying to connect to: example.com port: 443 ssl: 1
[ 3212][D][NetworkManager.cpp:83] hostByName(): Clearing DNS cache
[ 3225][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'example.com' with error '-54'
[ 3233][NetworkClientSecure.cpp:153] connect(): Actual TLS start postponed.
[ 3240][E][NetworkClientSecure.cpp:159] connect(): start_ssl_client: connect failed: -1
*******************************
JobName: Example
ErrorMessage: Failed to connect
Status: 0
I'm just going around in circles! so any help greatly appreciated.