Degoo
Degoo copied to clipboard
Getting lots of <Response 504> errors.
I seem to get for following on many files:
Traceback (most recent call last):
File "/home/dberger/degoo.DLBerger/./degoo_put", line 286, in
Any idea what it means?
Well 504 is a timeout error:
https://www.howtogeek.com/367129/what-is-a-504-gateway-timeout-error-and-how-can-i-fix-it/
which suggests the Degoo server is down or not easy to reach from your end. Warrants a nicer message if it happens a lot, I've never seen it. This also happened in setUploadFile3:
https://github.com/bernd-wechner/Degoo/blob/5185deb521a4b680edcb5fa8ea030491293af26f/degoo/API.py#L715
Which was under put_file and hence came after the file was actually uploaded and is the call made to register the success of the upload with Degoo.
It is times for retries, especially on timeout errors?
Could be. Albeit probably with a command line option requesting it. Some timeouts are ephemeral and by sitting in a retry loop can provide a response in "real" time (meaning withing ones patience limits). Others don't ... I imagine:
- A clearer message on a server timeout
- A command line option requesting retries - with an optional integer count (if not supplied, and endless loop)
- A retry loop that respects that command line option (runs when requested for as often as requested) and:
- if running verbose reports each retry effort with timings.
Any more news on this?