#299·Eel

connection to 'ws://localhost:8000/eel?page=main.html' failed: Could not decode a text frame as UTF-8.

Author: bribrahCreated May 21, 2020Updated Feb 13, 2025
Labelsbug

Eel version 0.12.2 Describe the bug Occasionally loses WebSocket connection because of this error message connection to 'ws://localhost:8000/eel?page=main.html' failed: Could not decode a text frame as UTF-8.. This is happening when sending pretty large arrays to the front end To Reproduce send (1024x256) multidimensional array from python backend to the javascript front end like so eel.sendData(arr) until the error is produced (will not happen first time, seems to be random) Expected behavior Websocket does not close because of encoding error

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: windows
  • Browser Chrome