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

Receiving binary data crashes editor #5

Open
azalac opened this issue Dec 30, 2021 · 1 comment
Open

Receiving binary data crashes editor #5

azalac opened this issue Dec 30, 2021 · 1 comment

Comments

@azalac
Copy link

azalac commented Dec 30, 2021

I have a websocket that sends binary data, rather than plain text. Sending plain text works fine, and the server properly processes everything, but once the app tries to render the returned binary data, it crashes.

It looks like the response is a Blob object, which can't be displayed properly.

Also, I had to clear my cookies. Whenever I'd refresh the page, the app would try to re-render the response, and then crash again.

This the the console error I get:

Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=%5Bobject%20Blob%5D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Oi (2.acdd0ad4.chunk.js:2)
    at 2.acdd0ad4.chunk.js:2
    at Na (2.acdd0ad4.chunk.js:2)
    at Vu (2.acdd0ad4.chunk.js:2)
    at xc (2.acdd0ad4.chunk.js:2)
    at jc (2.acdd0ad4.chunk.js:2)
    at Sc (2.acdd0ad4.chunk.js:2)
    at yc (2.acdd0ad4.chunk.js:2)
    at 2.acdd0ad4.chunk.js:2
    at t.unstable_runWithPriority (2.acdd0ad4.chunk.js:2)
    at Ho (2.acdd0ad4.chunk.js:2)
    at Yo (2.acdd0ad4.chunk.js:2)
    at qo (2.acdd0ad4.chunk.js:2)
    at gc (2.acdd0ad4.chunk.js:2)
    at Object.notify (2.acdd0ad4.chunk.js:2)
    at e.t.notifyNestedSubs (2.acdd0ad4.chunk.js:2)
    at e.t.handleChangeWrapper (2.acdd0ad4.chunk.js:2)
    at y (2.acdd0ad4.chunk.js:2)
    at main.5780db4e.chunk.js:1
    at 2.acdd0ad4.chunk.js:2
    at dispatch (2.acdd0ad4.chunk.js:2)
    at main.5780db4e.chunk.js:1
    at l (2.acdd0ad4.chunk.js:2)
    at Generator._invoke (2.acdd0ad4.chunk.js:2)
    at Generator.next (2.acdd0ad4.chunk.js:2)
    at r (2.acdd0ad4.chunk.js:2)
    at u (2.acdd0ad4.chunk.js:2)
@Mixer57
Copy link

Mixer57 commented May 3, 2023

I`ve got same error

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