Error: Could not decode a text frame as UTF-8 (chrome)
See original GitHub issueHi,
I have an application hosted on shinyproxy that works well, however, sometimes the error below appears on the browser console (chrome) and the page goes offline (gray).
I tried to insert this command line in the global.R file of my shiny application, but the error persists.
Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8")
Also, in the application’s Dockerfile file, I changed the LC_ALL, but it didn’t help.
RUN apt-get install -y locales
RUN locale-gen "en_US.UTF-8"
RUN update-locale "LC_ALL=en_US.UTF-8" "LANG=en_US.UTF-8"
RUN cat /etc/default/locale
Has anyone encountered this type of error?
Thank you so much.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to fix the "Could not decode a text frame as UTF-8." bug
Sometimes Google Chrome throw a Could not decode a text frame as UTF-8 error. It happens when the server send invalid unicode characters...
Read more >How to fix ''Could not decode a text frame as UTF-8." when ...
I have a front-end that uses STOMP with websockets and RabbitMQ to send requests to a microservice.
Read more >Error: Could Not Decode a Text Frame As Utf-8 Websocket
Most of the people face the error of "Could Not Decode a Text Frame As Utf-8" in an earlier stage of learning WebSocket...
Read more >Failed: Could not decode a text frame as UTF-8.
I've tried using Chrome Version 107.0.5304.121 and Firefox 107 on Windows 11. I have tried turning off my anti-virus software and firewall to...
Read more >Javascript – Chrome says “Could not decode a text frame as UTF-8 ...
Javascript – Chrome says “Could not decode a text frame as UTF-8” when receiving from ... n'); }, 2000); }; ws.onerror = function()...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Solved by upgrading ShinyProxy.
I also experience the crash with FireFox, but with a different error message: