-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add default (non-blank message) on GET #8
Comments
Are you sending an http request through the client, from outside the client, or is it just crashing as soon as a connection is made? Server or client crashing? |
I'm sorry I see you are using curl, disregard that question haha. I did a bit of surface level digging and I wanted to share info with you that you might understand better (I'm not the greatest with networking lol). The underlying crate used here for the connection is tungstenite-rs. Based on this issue it doesn't seem like they support http requests through the connection. Some of what they discuss in that issue might be helpful to you as well as if you shared your use case with them for additional support for that feature. I'm not entirely sure responding to an http request would be resolvable/possible on my end as by the time we get the message its already gone through the connection and we are just getting the payload and not any other info. Do you get an error message on the server when it crashes? It might be possible to send it a correctly formatted |
Hmm I'll close this out then (I too am no networking expert). I think I can finangle this to get it working through a server some other way. Thanks for taking a look at this though! :) |
I'm trying to deploy my server to the cloud with this, but it isn't responding to any HTTP requests and so the connection is getting closed automatically.
Expected Behaviour
Like a regular web socket, if you get it, you get a reply back:
Actual Behaviour
You get an empty reply back (Breaking the app)
Recommended improvement
Is it possible to make it reply something non-empty on the regular GET? This would make it possible to use it with Azure Web App Service.
Thanks @NoahShomette !!
The text was updated successfully, but these errors were encountered: