Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

504 while importing from Pocket #2027

Closed
thomasschmit opened this issue May 4, 2016 · 15 comments
Closed

504 while importing from Pocket #2027

thomasschmit opened this issue May 4, 2016 · 15 comments

Comments

@thomasschmit
Copy link

Issue details

When I try to import my articles from Pocket to my Wallabag instance, I get an 504 Gateway Time-out.

Environment

  • wallabag 2.0.3
  • Installation via Docker (wallabag/wallabag), using SQLite
  • Pocket account with hundreds of articles
@nicosomb
Copy link
Member

nicosomb commented May 4, 2016

How many articles do you want to import ?

@thomasschmit
Copy link
Author

thomasschmit commented May 4, 2016

No idea. Probably more than one thousand, including the archives!

@j0k3r
Copy link
Member

j0k3r commented May 4, 2016

Yeah this is mostly because it took too long to process all your articles... 😞
We've started to work on an async integration to avoid time out like that: #1941

So I close this issue as duplicate.

@j0k3r j0k3r closed this as completed May 4, 2016
@da-n
Copy link

da-n commented Sep 16, 2016

Any progress on this? I am also seeing the same issue. Small server instance (EC2 Nano), so guessing it is a memory issue?

@j0k3r
Copy link
Member

j0k3r commented Sep 16, 2016

Version 2.1 will include the async way to import content. It'll we released this month.

@da-n
Copy link

da-n commented Sep 16, 2016

Ok awesome, thanks. I am moving from Instapaper. Which meant opening up an Pocket account, importing, then creating an app to get API key, so to have the import fail is a real blow. But I'm looking forward to trying it out. Hoping I can contribute once on board as well. Thanks.

@j0k3r
Copy link
Member

j0k3r commented Sep 16, 2016

Oh if you aren't in a rush, we plan to implement Instapaper import as well, but not in the first release of 2.1.0, but on a minor one :)

@da-n
Copy link

da-n commented Sep 19, 2016

Just to follow up, I updated to latest version today and despite seeing a timeout the articles all got pulled down correctly, so problem has been resolved. Thanks for the awesome project!

@McMac
Copy link

McMac commented Nov 12, 2016

Still having this issue with 2.1.3 docker version of wallabag. :(

@tcitworld
Copy link
Member

I guess Redis can be enabled on the docker images for asynchronous import ?

@McMac
Copy link

McMac commented Nov 12, 2016

Thanks! Looking at the changes I found out that it can be enabled. Missing proper usage however (the radis container isn't processing anything).

@egeogretmen
Copy link

I'm using a shared hosting (yea, I know...) and it gives a timeout after importing from pocket, fetching only 20 of the articles out of maybe 50-60. If I hit import again, I get some of the articles as duplicate, while some not. Any ideas how to solve this efficiently? Pocket gives an html export, so that might come in handy in cases like this.

@McMac
Copy link

McMac commented Mar 26, 2017

I tried Redis, without Redis, with Mysql, with SQLite, with Docker, without Docker. It just keeps dying either before (504) or somewhere in between where you then can't recover but only get duplicates.
If it only were Java then I could at least help fix it. :-S

@ryanpcmcquen
Copy link

Still having 504s with import (I am on framabag). Is there another fix incoming?

@tcitworld
Copy link
Member

tcitworld commented Jan 18, 2018

The terms of Framabag say that async export (which is the fix for this) is not enabled because Framabag is only intended as a demo version to discover the service, limited to 1000 articles per account. Therefore allowing to import hundreds and hundreds of articles makes no sense for this service.

If you have a reasonable number of articles (from another source than Pocket) but fail to import them, contact Framasoft at https://contact.framasoft.org/ and we will do it manually. Otherwise, we really advise you to have a look at https://wallabag.it/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants