HttpClient execute keeps giving ConnectTimeoutException

前端 未结 4 1789
感情败类
感情败类 2020-12-06 13:44

I have this very big bug in my application that I really can\'t seem to solve. Whenever I make a rest call via the following code:

  HttpGet request = new H         


        
4条回答
  •  攒了一身酷
    2020-12-06 14:39

    Check if you are able to connect using your development machine, Also check the load times. There is a very good chance your timeouts are way too small.

提交回复
热议问题