docker-readthedocs icon indicating copy to clipboard operation
docker-readthedocs copied to clipboard

Bad Gateway Error on first build

Open selimt opened this issue 6 years ago • 1 comments

Hi, when I build docs for a gitlab project for the first time I start the containers. I get a Bad Gateway Error on the browser and the readthedocs container outputs the following:

readthedocs.doc_builder.environments:116[335]: INFO Running: 'python2.7 -mvirtualenv --no-site-packages --no-download /app/user_builds/mercury-client/envs/latest' [/app/readthedocs]
Performing system checks...

System check identified no issues (1 silenced).
December 21, 2018 - 17:03:41
Django version 1.9.13, using settings 'readthedocs.settings.container'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
2018-12-21 23:04:28,414 INFO reaped unknown pid 441
root:123[448]: INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
root:123[448]: INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt

If I wait a little and run the build again, then it succeeds.

Thanks -Selim

selimt avatar Dec 21 '18 23:12 selimt

I have this issue as well

opensorceror avatar Aug 20 '19 21:08 opensorceror