I'm trying to do a simple get from my phone (B4A) to a server on my ESP32. I do not want to deal with certs right now so I have downloaded and installed the two code files HttpUtils2Service.bas and HttpJob.bas. I modified the hc line to be "hc.InitializeAcceptAll("hc")".
When I make the calls I get the following error that I can't find any info on. Any ideas?
"ResponseError. Reason: javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x76bc6a2608: I/O error during system call, Software caused connection abort, Response: "
Here is my code that runs when the forward button on my B4A is clicked::
Sub buttonForward_Click
Dim url As String
url = "https://192.168.4.1/forward"
Dim j As HttpJob
j.Initialize("", Me)
j.Download(url)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release
End Sub
The webserver on my esp32 is on 443 and I can hit it by typing that url command in from a browser on my phone or PC.
When I make the calls I get the following error that I can't find any info on. Any ideas?
"ResponseError. Reason: javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x76bc6a2608: I/O error during system call, Software caused connection abort, Response: "
Here is my code that runs when the forward button on my B4A is clicked::
Sub buttonForward_Click
Dim url As String
url = "https://192.168.4.1/forward"
Dim j As HttpJob
j.Initialize("", Me)
j.Download(url)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release
End Sub
The webserver on my esp32 is on 443 and I can hit it by typing that url command in from a browser on my phone or PC.