stephenmkbrady / django_matrix_client_basic

Django matrix client app with absolutely no javascript and CSS3. It'll run on a feature phone browser using opera 4.4
MIT License
0 stars 0 forks source link

503 service unavailable timeout when sync'ing 700+ messages on heroku #5

Open stephenmkbrady opened 6 years ago

stephenmkbrady commented 6 years ago

Timeout when sync'ing 700+ messages on heroku and not locally Log: ''' at=error code=H12 desc="Request timeout" method=GET path="/chat/" host=peaceful-sea-58238.herokuapp.com request_id=34dbf6e6-1572-4599-8a1a-601d00582329 fwd="" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https ''' I think this might be something to do with gunicorn's worker timeout, but I upped it already to higher than 30seconds in the command line: web: gunicorn pymatrix_client.wsgi --timeout 120 --log-file -

Will have to investigate further. Local testing will not catch this, so need to see if I can get tests running on server with deployment.

stephenmkbrady commented 6 years ago

Remaining issue:

Not resolved:

This won't be fixed fully without some js ajax magic.