I've created a B4A app using HttpUtils2 to access a web service using HTTPS. Up until now, the web service has been running on IIS 7.5 and IIS 8.5 without issue. I can access it with the mobile app running on Android 4.4 and Android 6 devices.
I'm now trying to get the web app ported to IIS 10 (Windows 10). All is well with Postman (API tester) and Android 4.4 devices. With Android 6 devices I get this exception:
java.io.IOException: PROTOCOL_ERROR
Wireshark on the IIS 10 machine shows the Android 4.4 device is using TLS 1.0 while Android 6 is using TLS1.2 (as is Postman and any browsers I use to test). Interestingly, if I use a browser on an Android 6 device (which uses TLS1.2), I get what I expect from the query. It's only the app and OkHTTP that has the problem.
Do you have any suggestions?
OkHTTP is version 1.2 (using V7.3 of B4A).
Vaughan