mickstar / Zoo-For-Zotero

This is an Android app for viewing Zotero libraries.
573 stars 53 forks source link

It's always timeout when downloading a larget attachment more than 25M even in a local network. #122

Open znsoftm opened 3 years ago

znsoftm commented 3 years ago

I setup a webdav server in my local network, when I download an attachment more than 25M, it always complains time is out for downloading.

Can you add a setup item to change the value of timeout ?

31SFX4 commented 3 years ago

I have the same problem. It looks like the program always raises a timeout errors afte 30 seconds even when it is still downloading. It should only timeout when it hasn't received any data for a period, not after a fixed time from the start.

pstaerk commented 3 years ago

I also have experienced the same problem.

This (and the following lines) seems to be the line that needs changing: https://github.com/mickstar/Zoo-For-Zotero/blob/1e9f59c5098ce649fd9119ec8bb4828cc68055d6/app/src/main/java/com/mickstarify/zooforzotero/ZoteroAPI/Webdav.kt#L204

Madcliff commented 2 years ago

Yeah I am having this issue as well. Most of my pdfs cannot be downloaded because of this...

robcnewman commented 2 years ago

Also experiencing this issue, has anybody got a solution?

qldaisd commented 1 year ago

Same question. Is there any solution?

hughplay commented 1 year ago

I found the author has already implemented the feature for customizing the timeout. I tested the new branch feature/upgrade-webdav by building the project with AndroidStudio.

The only extra thing that is not included in the source code is a google-services.json file, which can be obtained by following this page.

It worked fine on my phone with extra custom configurations:

Many thanks to the author for his great efforts and hope the new version will appear in Google Play Store very soon.
rafadscruz commented 10 months ago

Any chance of having this update soon? I tried to build it in Android Studio, but could not connect during the login.