Replies: 4 comments 4 replies
-
I'm really confused about what you are saying and don't know what in the discussions here made you think that. python-socketio is just a web framework, it does not deal with serving or encrypting content, that is left for web servers to do. All the web servers that you can use with python-socketio have support for TLS/SSL, so what is the issue? What made you think this is impossible? Just look at the documentation for the list of web servers that you can use, pick one, then learn how to run that server with TLS/SSL. Or run the web server w/o encryption and put Nginx in front to handle that encrypted connections. |
Beta Was this translation helpful? Give feedback.
-
@miguelgrinberg got your opinion. Anybody else who understand that I need not launch external web server and I need use python socketio with self signed ssl/tls cert just in the server app can help me? Could someone provide me a solution/example using e.g http.server module right in the server app that uses socketio, please? The server app has no domain name. It must be available via IP address only and each time when the IP address of the node is changed, it generates new self signed certs for that IP when it restarts. The websocket server must be connectable from browsers. Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
i didn't say that asgiref is a web server. i said "using asgiref". |
Beta Was this translation helpful? Give feedback.
-
thanks. and thanks to engine.io |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
as i understand from the discussions it's impossible to use socketio.AsyncServer() to serve wss connection from browsers without external web server.
Do you have a solution to wrap it someting like
It is just for secure transport from-to browser and the app must work .
Certificate is self-signed.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions