Skip to content
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

[bug]: Params not sent to the server correctly in websocket playground #229

Open
ccavolt opened this issue Jun 5, 2024 · 0 comments
Open

Comments

@ccavolt
Copy link

ccavolt commented Jun 5, 2024

Describe the bug
Params aren't sent to the server properly.

To Reproduce
In the websocket playground I use the following URL:

ws://localhost:4000/socket/websocket?vsn=2.0.0

When I send the request via Postman (or Insomnia/Hoppscotch), vsn=2.0.0 is received by the server and I get the following response:

Transport: :websocket
Serializer: Phoenix.Socket.V2.JSONSerializer
Parameters: %{"vsn" => "2.0.0"}

When I send the request via Firecamp, I get the following response:

Transport: :websocket
Serializer: Phoenix.Socket.V1.JSONSerializer
Parameters: %{}

Which indicates the params either didn't make it to the server or are malformed.

Expected behavior
The server will receive the params.

Desktop (please complete the following information):

  • OS: Browser is Windows, server is running Ubuntu 22.04.4 LTS
  • Browser: Chrome
  • Version: 125.0.6422.142
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

No branches or pull requests

1 participant