org.springframework.web.client.ResourceAccessException

I/O error: unexpected end of stream on Connection{api.openweathermap.org:80, proxy=DIRECT hostAddress=128.199.109.89 cipherSuite=none protocol=http/1.1} (recycle count=0); nested exception is java.io.IOException: unexpected end of stream on Connection{api.openweathermap.org:80, proxy=DIRECT hostAddress=128.199.109.89 cipherSuite=none protocol=http/1.1} (recycle count=0) 01-04 07:21:51.536 21098-21137/com.example.rajatgupta.weatherapp W/System.err:

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web69

Stack trace

  • org.springframework.web.client.ResourceAccessException: I/O error: unexpected end of stream on Connection{api.openweathermap.org:80, proxy=DIRECT hostAddress=128.199.109.89 cipherSuite=none protocol=http/1.1} (recycle count=0); nested exception is java.io.IOException: unexpected end of stream on Connection{api.openweathermap.org:80, proxy=DIRECT hostAddress=128.199.109.89 cipherSuite=none protocol=http/1.1} (recycle count=0) 01-04 07:21:51.536 21098-21137/com.example.rajatgupta.weatherapp W/System.err: at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:491)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

stigkjstigkj
2 times, last one
tvrmsmithtvrmsmith
Once,
Unknown visitor
Unknown visitorOnce,
wendellpereirawendellpereira
4 times, last one
Unknown visitor
Unknown visitorOnce,
11 more bugmates