I have an Android Application using okHttp to do the communication with my server. I do some detailed error handling on the client side, reported to BugSense, and I've gotten a few confusing IOExceptions that I was hoping could be explained to me. The exceptions are:
1. stream was reset: CANCEL
2. connect failed: ENETUNREACH (Network is unreachable)
3. stream was reset: REFUSED_STREAM
4. Hostname 'myversion-dot-myapplication.appspot.com' was not verified
I don't recall seeing the first three before migrating to okHttp, specificlly the SPDY pieces. The last one is an issue that I have constantly struggled with on app engine (SSL provided by AppEngine seems to throw that error.)
I am checking for connectivity before initiating my transfer, so could this just be something that happens when connectivity is dropped while transferring? Is there something else that could cause this?
Thanks!
Evan