-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Websocket throws Error writing to stream error on iOS platform #26450
Comments
It looks like you are using an older version of React Native. Please update to the latest release, v0.60 and verify if the issue still exists. The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
|
React native version:
Logs Upgraded to latest version of react-native still the error occurred in ios. Source Code:
WebSocket OnClose Logs
|
Hello people, I have exactly the same error, any possible solution ??? "react-native": "0.58.5" Thank you very much |
anyone have news with this? |
After testing for a while, i found the error, when i try to set the URL for socket connection i did (like yours) something like this:
when a change it to:
Don't know why on android ir doesn't fail. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Websocket throws Error writing to stream error on iOS platform
React Native version:
Steps To Reproduce
2.once the web socket trying to connect to the server it will Throws the error
Describe what you expected to happen:
Expecting the socket to communicate the server and wait for the server response.
Added AppTransportSecurity still gets me error
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/r14899hLS
The text was updated successfully, but these errors were encountered: