Hi,
Using B4A 11.50.
When I use OkHttp and OkHttpUtils2 to do a poststring to an http it works fine.
When I do the same on https I get the error:
ResponseError. Reason: java.io.IOException: Android internal error, Response:
java.io.IOException: Android internal error
When I remove OkHttoUtils2 from my project and add the files HttpJob.bas and HttpUtils2Service.bas then both http and https are not working any more, and will give the same error.
If I change the following code
hc.Initialize("hc")
into
hc.InitializeAcceptAll("hc")
I get the same errors.
I put in a Log line in Service_Create to make sure it uses the correct code.
Note: the http and https uses the same software. The http is a server on the LAN, the https is a server on the internet.
Please advice
Thank you.
Andre
Using B4A 11.50.
When I use OkHttp and OkHttpUtils2 to do a poststring to an http it works fine.
When I do the same on https I get the error:
ResponseError. Reason: java.io.IOException: Android internal error, Response:
java.io.IOException: Android internal error
When I remove OkHttoUtils2 from my project and add the files HttpJob.bas and HttpUtils2Service.bas then both http and https are not working any more, and will give the same error.
If I change the following code
hc.Initialize("hc")
into
hc.InitializeAcceptAll("hc")
I get the same errors.
I put in a Log line in Service_Create to make sure it uses the correct code.
Note: the http and https uses the same software. The http is a server on the LAN, the https is a server on the internet.
Please advice
Thank you.
Andre