Forums

"OSError: write error" on Free account when making a POST request from android app

I am suing a Free account and facing an issue of timeout, when making a request on the web url (mywebsite on pythoneverywhere) from my Android app. In error log file it shows "OSError: write error" and in the Response of my request from android app it shows "timeout". BUT: If i "reload" flask_app.py file after every few minutes. Then everything works fine. Can somebody helps me know is it because of my free account that there is some restrcition or I need to change some configurations?

The first hit to the reloaded app is often slower, and your android app could be not patient enough.