-
Notifications
You must be signed in to change notification settings - Fork 170
Description
Hello,
I get a 504 Gateway Time-out when trying to import from pocket:
- launched wallabag docker: docker run -p 80:80 wallabag/wallabag
- logged in using wallabag:wallabag
- Config -> Consumer key for Pocket to import contents
- Import -> Pocket: Import Contents
- Dies during http://localhost/import/pocket/callback with error 504
- After that the container does not respond anymore
- Restart container: 380 entries added
::ffff:172.17.0.1 - - [19/Mar/2017:15:18:58 +0000] "POST /import/pocket/auth HTTP/1.1" 301 289 "http://localhost/import/pocket" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0"
2017/03/19 15:20:01 [error] 322#322: *58 upstream timed out (110: Operation timed out) while reading response header from upstream, client: ::ffff:172.17.0.1, server: _, request: "GET /import/pocket/callback HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
::ffff:172.17.0.1 - - [19/Mar/2017:15:20:01 +0000] "GET /import/pocket/callback HTTP/1.1" 504 176 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0"
I have used pocket more as a bookmarks + content archive than actual read it (very much) later so over several years I added > 13k entries in pocket. I would like to extract them into wallabag and then from there sift through what's still valid or needs proper tagging.
Also tried but wallabag won't properly launch (obviously)
docker run -p 6379:6379 --name redis redis:alpine
docker run -p 80:80 --link redis:redis wallabag/wallabag import pocket
- Recreated the wallabag docker image without "import pocket"
- Enabled Redis async import within Internal Settings (pocket import configure in 3 different submenus?)
- again 504 error
- actually got no clue if and where I should provide the "import pocket" command.
The import never works/worked properly always dying of timeouts. The integration with redis also doesn't appear very stable enough.
Has anybody gotten the pocket import to work with more then 5 entries?
The instructions on how to import using Redis seem to be broken as instructions state:
Import worker
To run the async redis import worker use the following command:
$ docker run --name wallabag --link wallabag-db:wallabag-db --link redis:redis -e <... your config variables here ...> wallabag/wallabag import
As clearly at this point the container is already running or using that command only, the container won't launch. During first time setup nothing is set up for pocket import obviously.
Can anybody please enlighten me where I am going wrong?