Openshift: OSError Errno 98 cannot update server

I am using Openshift with Django / Python 3. As of yesterday, I was not able to update my server. When I click the change, the click will succeed. Using SCP to view files on the server, updated files are present. Using rhc git-pull, download the correct files. However, templates are the only thing that really changes in the application with a click. No changes to python files affect the application.

When I try to use the "rhc tail", I get the following error:

OSError: [Errno 98] Address already in use

Finding this error makes me think that several server processes are running for my application. I am not sure how to run the proposed diagnostics, since I do not control the server. Any ideas? Restarting the application does not fix it. Starting a rhc stop seems to have successfully stopped the application, but my site runs smoothly. (I never tried to stop earlier, but I guess he should kill the website.)

+3
source share
3 answers

I found this message this afternoon to those who had the same problem. It seems like Openshift has changed some things on us. I did not receive a note :(.

Read here: Post in March Openshift

@MSDOS, , , , , .

app.py( wsgi) wsgi.py, , .:) , cron: (

+2

, "rhc app force-stop", "rhc app start". , , -, .

+1

, .

django https://github.com/openshift/openshift-community-cartridge-python-3.3/blob/master/template/app.py ( , ).

app.py, CherryPy httpd, django app.py. ( https://github.com/openshift/django-example)

app.py , httpd ​​. OSError: [Errno 98] Address already in use.

app.py .

500, Django , Python. , . find . -name *.log* .

. !

+1

Source: https://habr.com/ru/post/1532928/


All Articles