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

InstabugOkhttpInterceptor + Proguard breaks a network request #431

Closed
stevie-patreon opened this issue Aug 19, 2022 · 1 comment
Closed

Comments

@stevie-patreon
Copy link

Our app uses Instabug and OKHttp/AndroidNetworking. Including the InstabugOkhttpInterceptor as an Interceptor causes one of our image upload requests to fail with java.net.ProtocolException: unexpected end of stream

The issue doesn't occur in our build that's not minified. The network request looks like:

AndroidNetworking.upload(media.uploadUrl)
            .setTag(requestTag)
            .addMultipartParameter(media.uploadParametersMap)
            .addMultipartFile("file", imageFile)
            .build()
            .setUploadProgressListener(uploadProgressListener)

Is Instabug in any way modifying the requests it's intercepting?

Versions

Instabug: 11.4.1
OkHttp: 4.9.3
AndroidNetworking: 1.0.2

@Bashayer-reda
Copy link

hello @stevie-patreon We will close this one, but if you still have any issues, please don't hesitate to reopen it anytime. Thank you.

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

2 participants