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

proxy websocket: get response data failed: upgrade type mismatch #974

Closed
mwxxhdb opened this issue Nov 6, 2024 · 0 comments · Fixed by #976
Closed

proxy websocket: get response data failed: upgrade type mismatch #974

mwxxhdb opened this issue Nov 6, 2024 · 0 comments · Fixed by #976

Comments

@mwxxhdb
Copy link
Contributor

mwxxhdb commented Nov 6, 2024

Describe the bug
error output "upgrade type mismatch" when proxy WebSocket

To Reproduce
Steps to reproduce the behavior:

  1. Start Apache Pulsar with docker docker run --rm --name pulsar -it -p 5800:8080 apachepulsar/pulsar:4.0.0 bin/pulsar standalone
  2. Go to examples directory of this repo cd examples
  3. Run proxy-websocket cargo run --bin example-proxy-websocket
  4. Call websocket websocat ws://localhost:8888/ws/v2/consumer/persistent/public/default/any-topic/salvo-ws-proxy

Expected behavior
Able to proxy websocket

Screenshots
image
image

Desktop (please complete the following information):

  • OS: [Ubuntu 20.04]
  • Browser [websocat]
  • Version [0.74.1]
@mwxxhdb mwxxhdb changed the title upgrade type mismatch proxy websocket: get response data failed: upgrade type mismatch Nov 6, 2024
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 a pull request may close this issue.

1 participant