Websocket and Webrtc on cPanel
i've made a websocket application with Python it works locally, but when i try running it on cPanel it tells me that the WebSocket connection to '<myUrl>' failed: btnJoin.onclick @ peer.js:99. how can i make this work or what are the possible solutions?
-
Hey there! This doesn't sound like it is related to the cPanel tools on the machine so I'm not sure this is going to be the best place for answers.
Are there any other errors related to the application?
0 -
I have to initialize an ASGI Python application in Cpanel. Do you know how I can do it? Right now I can initialize a wsgi python application in Cpanel.
0 -
The only advice I would have related to this would be to use the Application Manager:
https://docs.cpanel.net/cpanel/software/application-manager/
as that allows you to get the application loaded into cPanel.
I am not a Python developer so I can't speak about the differences between WSGI and ASGI.
0 -
Does Cpanel allow ASGI (Asynchronous Server Gateway Interface) instead of WSGI (Web Server Gateway Interface)?
0
Please sign in to leave a comment.
Comments
4 comments