Skip to content

fix: raise WebSocket max frame size for large model uploads - #58

Open
ericgozzi wants to merge 3 commits into
fix/spinner-persistencefrom
fix/websocket-max-size
Open

ericgozzi wants to merge 3 commits into
fix/spinner-persistencefrom
fix/websocket-max-size

Conversation

@ericgozzi

@ericgozzi ericgozzi commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • uvicorn's default ws_max_size (16 MiB) silently dropped the WebSocket connection, with no error shown, when a large .stkm.json was sent as a single text frame (the LoadTimberModel.vue upload path).
  • Raised to 256 MiB in server.py, which covers that path comfortably.

Stacked on #57 (spinner persistence); merge that first.

Test plan

  • pytest

🤖 Generated with Claude Code

ericgozzi and others added 3 commits September 23, 2026 08:13
uvicorn's default ws_max_size (16 MiB) silently dropped the WebSocket
connection with no surfaced error when a large .stkm.json was sent as a
single WebSocket text frame (LoadTimberModel.vue's upload path). Raise it
to 256 MiB to comfortably cover that path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant