Okhttp: unexpected end of stream on Connection{IP:PORT, proxy=DIRECT@ hostAddress=IP cipherSuite=none protocol=http/1.1} (recycle count=0)

Created on 3 Mar 2017  Â·  5Comments  Â·  Source: square/okhttp

What kind of issue is this?

  • [ ] Question. This issue tracker is not the place for questions. If you want to ask how to do
    something, or to understand why something isn't working the way you expect it to, use Stack
    Overflow. https://stackoverflow.com/questions/tagged/okhttp

  • [ ] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests
    get fixed. Here’s an example: https://gist.github.com/swankjesse/981fcae102f513eb13ed

  • [ ] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution
    already exists! Don’t send pull requests to implement new features without first getting our
    support. Sometimes we leave features out on purpose to keep the project small.

needs info

Most helpful comment

I got the same bug,but i't know how to solve it。

All 5 comments

I got the same bug,but i't know how to solve it。

Typically this indicates a connectivity problem to the server. If you can make an executable test case to demonstrate something that we can fix please do.

@swankjesse : how about if a share my actual code with you, will this help you to fix this issue

I have the same error when trying to connect to a local WebDAV server I set up with https://itunes.apple.com/us/app/webdavnav-server/id747482894?mt=12.
I set up "Use HTTPS" and create a self-signed certificate.

I got the same bug,but i't know how to solve it。

Was this page helpful?
0 / 5 - 0 ratings