question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unexpected end of stream

See original GitHub issue

here my info

info

React Native Environment Info:
  System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
    Memory: 3.32 GB / 11.89 GB
  Binaries:
    Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.9.0 - ~\AppData\Roaming\npm\npm.CMD
  IDEs:
    Android Studio: Version  3.2.0.0 AI-181.5540.7.32.5056338
"react": "16.8.3",
"react-native": "0.59.9",
"rn-fetch-blob": "^0.10.13", && "rn-fetch-blob": "^0.10.15",

I using fetch Post method . and I checked with CURL and received result and it worked. before upgrading everythings work well

This has only starting happening after upgrading RN.(54 to 59)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:12

github_iconTop GitHub Comments

11reactions
AminTaghikhanicommented, Aug 7, 2019

Add android permission at run time WRITE_EXTERNAL_STORAGE

4reactions
AminTaghikhanicommented, Jul 19, 2019

@luco I checked my code, and added write and read storage permission and the problem is gone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.io.IOException: unexpected end of stream on ...
Its a server error. It means somehow execution returns to your client without the server sending actual response header. If you have control ......
Read more >
java.io.IOException: unexpected end of stream on · Issue # ...
HTTP FAILED: java.io.IOException: unexpected end of stream on GET request getting the above exception randomly for every GET request.
Read more >
What does “unexpected end of stream” exception ...
It means that it detected the end of a stream before it should have ended. There are many reasons for this. For example,...
Read more >
unexpected end of stream on com.android.okhttp.Address ...
Hi,. Why do I keep getting below error when trying to use simple PostAsync()? For example, below code is used to update the...
Read more >
Presto Query error : unexpected end of stream while using ...
Hi,. I am facing another problem while running presto query on compressed files (.bz2). The queries are failing with error : "unexpected end...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found