Search code examples
pythonopenshifttornadoredhat

openshift is looking for 'wsgi' application, I don't want 'wsgi'


I don't know if you know about this website (as I can't read your mind), but openshift is it. It is a web-hosting website. You can use python or whatever for server-side.

The problem is openshift is looking for a wsgi application. But I am using websockets with tornado so I can't use wsgi. How does I make openshift not look for wsgi, but any type of applicaiton? Or does the website only support that.

The error message I am seeing is:

'wsgi.py' does not contain WSGI application 'application'

I really need a server with websockets, I am planning on creating a multiplayer online game with javascript using websockets.

Thanks for the help, everyone.


Solution

  • Put your application in app.py. This will allow you to run whatever you want. See: