-
-
Notifications
You must be signed in to change notification settings - Fork 796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket support broken #738
Comments
Will be fixed in minutes! |
v5.7.2 |
Thank you, that was quick but the PR #735 don't fix all the error for me :
|
@CorentinDoue we don't have (m)any tests for it's this line, when one doesn't have any query params: if (Object.keys(queryStringParameters).length > 0) { with queryStringParameters being null: Object.keys(null).length > 0
// TypeError: Cannot convert undefined or null to object @dherault gonna hotfix it with: if (Object.keys(queryStringParameters || {}).length > 0) { |
Thank you :) |
@dherault could you do another patch release for this fix? |
v5.7.3! |
Hi I was using the websocket support directly from the development branch :
I use docker (with node:10) so I need to set the host to 0.0.0.0 instead of localhost.
Everything worked fine.
But today I switched to the current version of serverless-offline (v.5.7.1) and the websockets don't work any more.
The http routes are still ok.
I retried to switch back to
It fixes the issue, so I will continue to use it.
Thank you :)
The text was updated successfully, but these errors were encountered: