pladaria / reconnecting-websocket

Reconnecting WebSocket. For Web, React Native, cli (Node.js)
MIT License
1.22k stars 197 forks source link

[React Native] WebSocket crashes when sending large JSON #61

Closed marcelkussin closed 6 years ago

marcelkussin commented 6 years ago

Its hard to reproduce, but sometimes the websocket crashes when I try to send large json-messages. It reconnects immediately, but the message is not send.

we use your library with the redux lib "redux-websocket-bridge"

pladaria commented 6 years ago

Define "large". Can you reproduce it using React Native's WebSocket?

reconnecting-websocket is just a layer over some other WebSocket implementation. If that implementation is buggy, we cannot do anything about it :(

marcelkussin commented 6 years ago

We solved it. The Problem was on the server-side. The server had a maxlength-limit.