overthesun / simoc

A scalable model of an interactive, off-world community
https://ngs.simoc.space/
GNU General Public License v3.0
2 stars 1 forks source link

Fix websocket issues by pinning working versions. #437

Closed ezio-melotti closed 10 months ago

ezio-melotti commented 10 months ago

TL;DR: after upgrading to flask_socketio from 5.3.2 to 5.3.5 in #404, something broke with websockets and we were unable to send payload bigger than ~500kB. Reverting to 5.3.2 didn't work, because flask_socketio depends on python-socketio and python-engineio, which actually are the cause of the issue, and even with flask_socketio 5.3.2 the latest version of those was pulling.

This PR temporarily reverts flask_socketio to 5.3.2 and also pins python-socketio and python-engineio to the last known working version.

Next steps: