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

Cannot obtain socket from WSGI environment. #2571

Open
anand-lyn opened this issue Oct 24, 2024 · 0 comments
Open

Cannot obtain socket from WSGI environment. #2571

anand-lyn opened this issue Oct 24, 2024 · 0 comments

Comments

@anand-lyn
Copy link

Question 1: What is the problem?
I used flask flask-sock to set up a websocket service and passenger was able to run it successfully, but the client would report an error when establishing a websocket connection, and the http request was normal
RuntimeError: Cannot obtain socket from WSGI environment.
image

Question 2: Passenger version and integration mode:
open source 6.0.22 standalone

Question 3: OS or Linux distro, platform (including version):
FreeBSD 14.1-RELEASE

Question 4: Passenger installation method:
source tarball

Question 5: Your app's programming language (including any version managers) and framework (including versions):
Python3.11, flask, flask-sock

Question 6: Are you using a PaaS and/or containerization? If so which one?
No

Question 7: Anything else about your setup that we should know?
No

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