Forums

Web2Py app gets 405 error: Not Allowed

Dear P.A.,

My web2py-based app worked perfectly on P.A.. But recently it has this error of "405 Not Allowed". I didn't change anything. And same app runs fine locally on my macbook. How can I fix it? App url:

http://to.pythonanywhere.com/gapcheck

Just click the blue "Check" button, you can see the error. I did a forum search. One article is similar; but I cannot find a way for web2py: https://www.pythonanywhere.com/forums/topic/404/

Thank you very much! -- Yi

It looks like your web app was suffering from this problem -- the error logs said:

2014-04-30 11:02:23,704 :/usr/local/lib/python2.7/dist-packages/numexpr/cpuinfo.py:40: UserWarning: [Errno 11] Resource temporarily unavailable
2014-04-30 11:02:23,708 :  warnings.warn(str(e), UserWarning, stacklevel=stacklevel)

I've reloaded the app, and that has fixed the problem.

Hooray! Thank you very much! Next time, I could reload it myself~

Well, to be fair to you there was no way you could have known that reloading it would fix it in this case :-)