Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multipart throws illegal state exception state 2 #68

Open
cyberformed opened this issue Oct 26, 2017 · 0 comments
Open

Multipart throws illegal state exception state 2 #68

cyberformed opened this issue Oct 26, 2017 · 0 comments

Comments

@cyberformed
Copy link

Dear Team,

I am using this library for multipart request. It throws error @runtime.

E/Volley: [5631] NetworkDispatcher.run: Unhandled exception java.lang.IllegalStateException: state: 2
                                                        java.lang.IllegalStateException: state: 2
                                                            at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:186)
                                                            at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
                                                            at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:905)
                                                            at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:789)
                                                            at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:443)
                                                            at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388)
                                                            at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:501)
                                                            at com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:152)
                                                            at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:97)
                                                            at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:118) 

Unable to get any solution to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant