hooram / ownphotos

Self hosted alternative to Google Photos
MIT License
2.77k stars 233 forks source link

Current dev does not work - getting 504 Gateway Time-out on api backend #96

Closed guysoft closed 5 years ago

guysoft commented 5 years ago

Hey, Current dev gives me on curl 504 Gateway Time-out.

Here is my log output. Note the workers are also timing out.

ownphotos-proxy    | 172.19.0.7 - - [21/Apr/2019:11:33:48 +0000] "GET /api/auth/token/obtain/ HTTP/1.1" 499 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0"
ownphotos-backend  | [2019-04-21 11:33:58 +0000] [104] [CRITICAL] WORKER TIMEOUT (pid:113)
ownphotos-backend  | [2019-04-21 11:33:59 +0000] [104] [CRITICAL] WORKER TIMEOUT (pid:114)
ownphotos-backend  | [2019-04-21 11:33:59 +0000] [114] [INFO] Worker exiting (pid: 114)
ownphotos-backend  | [2019-04-21 11:33:59 +0000] [113] [INFO] Worker exiting (pid: 113)
ownphotos-backend  | [2019-04-21 11:34:00 +0000] [135] [INFO] Booting worker with pid: 135
ownphotos-backend  | [2019-04-21 11:34:00 +0000] [136] [INFO] Booting worker with pid: 136
ownphotos-proxy    | 172.19.0.7 - - [21/Apr/2019:11:34:06 +0000] "GET /api/auth/token/obtain/ HTTP/1.1" 499 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0"
ownphotos-backend  | 11:34:17 Registering birth of worker d9030bf3c79d.102
ownphotos-backend  | 11:34:18 RQ worker 'rq:worker:d9030bf3c79d.102' started, version 0.12.0
ownphotos-backend  | 11:34:18 *** Listening on default...
ownphotos-backend  | 11:34:18 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
ownphotos-backend  | 11:34:18 Cleaning registries for queue: default
ownphotos-backend  | 11:34:18 *** Listening on default...
ownphotos-backend  | 11:34:18 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
ownphotos-backend  | /miniconda/lib/python3.6/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
ownphotos-backend  |   import imp
ownphotos-backend  | /miniconda/lib/python3.6/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
ownphotos-backend  |   import imp
ownphotos-backend  | [2019-04-21 11:34:30 +0000] [104] [CRITICAL] WORKER TIMEOUT (pid:135)
ownphotos-backend  | [2019-04-21 11:34:30 +0000] [104] [CRITICAL] WORKER TIMEOUT (pid:136)
ownphotos-backend  | [2019-04-21 11:34:30 +0000] [136] [INFO] Worker exiting (pid: 136)
ownphotos-backend  | [2019-04-21 11:34:30 +0000] [135] [INFO] Worker exiting (pid: 135)
ownphotos-backend  | [2019-04-21 11:34:31 +0000] [147] [INFO] Booting worker with pid: 147
ownphotos-backend  | [2019-04-21 11:34:31 +0000] [148] [INFO] Booting worker with pid: 148
ownphotos-backend  | /miniconda/lib/python3.6/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
ownphotos-backend  |   import imp
ownphotos-backend  | /miniconda/lib/python3.6/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
ownphotos-backend  |   import imp
ownphotos-proxy    | 172.19.0.7 - - [21/Apr/2019:11:34:34 +0000] "GET /api/auth/token/obtain/ HTTP/1.1" 499 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0"
guysoft commented 5 years ago

Seems to work in later images, closing