maybe some kind of buffer when reading from the sp...
# sst
t
maybe some kind of buffer when reading from the spawned node proc or max websocket frame size?
j
Yeah we might not be handling this. Does the log in the
.build
directory show anything useful?
f
@thdxr APIG websocket has a 32KB frame size limit.. maybe that’s the culprit.
Can you send me ur
.build/sst-debug.log
when u get this again?
U might want to redact sensitive info in the debug log. (ie. Lambda IAM credentials and sensitive environment variables)
t
Copy code
[2021-04-09T00:12:09.801] [DEBUG] websocket - Websocket connection closed { code: 1009, reason: 'Message too big' }
yep that's it
f
Got it! Will take a look at it tmr.
Thanks for looking into this!
@thdxr Fixed in v0.10.11. For large websocket payloads, SST will now send them in 120KB chunks (APIG limit is 128KB), and the receiver pieces it back together.
t
Amazing thank you!