{"action":"created","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/2624","repository_url":"https://api.github.com/repos/square/retrofit","labels_url":"https://api.github.com/repos/square/retrofit/issues/2624/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/2624/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/2624/events","html_url":"https://github.com/square/retrofit/issues/2624","id":292243413,"node_id":"MDU6SXNzdWUyOTIyNDM0MTM=","number":2624,"title":" java.net.SocketException: Connection reset but same request works with postman","user":{"login":"kamilwlf","id":7765963,"node_id":"MDQ6VXNlcjc3NjU5NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/7765963?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilwlf","html_url":"https://github.com/kamilwlf","followers_url":"https://api.github.com/users/kamilwlf/followers","following_url":"https://api.github.com/users/kamilwlf/following{/other_user}","gists_url":"https://api.github.com/users/kamilwlf/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilwlf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilwlf/subscriptions","organizations_url":"https://api.github.com/users/kamilwlf/orgs","repos_url":"https://api.github.com/users/kamilwlf/repos","events_url":"https://api.github.com/users/kamilwlf/events{/privacy}","received_events_url":"https://api.github.com/users/kamilwlf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-28T22:04:37Z","updated_at":"2018-06-14T04:46:14Z","closed_at":"2018-01-30T04:16:25Z","author_association":"NONE","body":"I use retrofit 2.2 I do standard GET request. I get exception but same request works with postman\r\n\r\n`PM okhttp3.internal.platform.Platform log\r\nINFO: <-- HTTP FAILED: java.net.SocketException: Connection reset\r\njava.net.SocketException: Connection reset\r\n\tat java.net.SocketInputStream.read(SocketInputStream.java:189)\r\n\tat java.net.SocketInputStream.read(SocketInputStream.java:121)\r\n\tat sun.security.ssl.InputRecord.readFully(InputRecord.java:465)\r\n\tat sun.security.ssl.InputRecord.read(InputRecord.java:503)\r\n\tat sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:961)\r\n\tat sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:918)\r\n\tat sun.security.ssl.AppInputStream.read(AppInputStream.java:105)\r\n\tat okio.Okio$2.read(Okio.java:138)\r\n\tat okio.AsyncTimeout$2.read(AsyncTimeout.java:236)\r\n\tat okio.RealBufferedSource.indexOf(RealBufferedSource.java:325)\r\n\tat okio.RealBufferedSource.indexOf(RealBufferedSource.java:314)\r\n\tat okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:210)\r\n\tat okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)\r\n\tat okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:67)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)\r\n\tat okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)\r\n\tat okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)\r\n\tat okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)\r\n\tat okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)\r\n\tat okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:212)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)\r\n\tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)\r\n\tat okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)\r\n\tat okhttp3.RealCall.execute(RealCall.java:63)\r\n\tat retrofit2.OkHttpCall.execute(OkHttpCall.java:174)\r\n\t`"},"comment":{"url":"https://api.github.com/repos/square/retrofit/issues/comments/397169013","html_url":"https://github.com/square/retrofit/issues/2624#issuecomment-397169013","issue_url":"https://api.github.com/repos/square/retrofit/issues/2624","id":397169013,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzE2OTAxMw==","user":{"login":"Tin-Nguyen","id":5414916,"node_id":"MDQ6VXNlcjU0MTQ5MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/5414916?v=4","gravatar_id":"","url":"https://api.github.com/users/Tin-Nguyen","html_url":"https://github.com/Tin-Nguyen","followers_url":"https://api.github.com/users/Tin-Nguyen/followers","following_url":"https://api.github.com/users/Tin-Nguyen/following{/other_user}","gists_url":"https://api.github.com/users/Tin-Nguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/Tin-Nguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tin-Nguyen/subscriptions","organizations_url":"https://api.github.com/users/Tin-Nguyen/orgs","repos_url":"https://api.github.com/users/Tin-Nguyen/repos","events_url":"https://api.github.com/users/Tin-Nguyen/events{/privacy}","received_events_url":"https://api.github.com/users/Tin-Nguyen/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T04:46:14Z","updated_at":"2018-06-14T04:46:14Z","author_association":"NONE","body":"Did you figure out the root cause already @gustavogervasio @kamilwlf , I got the same issue with HttpURLConnection"}}
{"actor":{"display_login":"Tin-Nguyen"}}