Erel,
Thank you for getting back so quick. I replaced original test code with the code you provided.
The result was a timeout with the following message:
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Took: 30.32 seconds
Error: java.net.SocketTimeoutException: failed to connect to
www.fly.faa.gov/2600:1408:1d:29a::21f5 (port 80) after 30000ms
I also tried the code on a different device (both samsung) and got the same result.
Using httputil2 the response came back in 60 seconds. The response above came from okhttputil2. It seemed very interesting that there are different results. It is also interesting that the URL in the error message is different that wihe request.
I have other calls in the app that that worked fine. i changed the url in the test code and the response took .48 seconds.
That leaves me with the question on why the URL changed, and does that help to understand the issue.
Thanks in advance,
barry