vimeo / vimeo.py

Official Python library for the Vimeo API.
https://developer.vimeo.com
Apache License 2.0
210 stars 84 forks source link

'TusUploadFailed' object has no attribute 'text' #122

Closed amrutadotorg closed 6 years ago

amrutadotorg commented 6 years ago

Hi, I'm getting 232783872 bytes uploaded ... 'TusUploadFailed' object has no attribute 'text'

I can upload smaller files 60M but not a big ones 5G

the module version looks good,

pip show tuspy Name: tuspy Version: 0.2.1

Onebrownsound commented 6 years ago

@amrutadotorg 👋 The latest build should fix this issue, please reach out if it does not.

amrutadotorg commented 6 years ago

Hi, now I'm getting 335544320 bytes uploaded ... Communication with tus sever failed with status 502

Is it possible to retry the connection with the tus server?

erunion commented 6 years ago

@amrutadotorg We can add some retry logic in there. Can you hit https://files.tus.vimeo.com from your server at all?

amrutadotorg commented 6 years ago

Yes I can. The error appears after a couple of minutes.

curl -I https://files.tus.vimeo.com/HTTP/1.1 200 OK Date: Thu, 28 Jun 2018 17:55:52 GMT Content-Length: 222 Content-Type: text/plain; charset=utf-8 Via: 1.1 google Alt-Svc: clear

On Thursday, June 28, 2018, Jon Ursenbach notifications@github.com wrote:

@amrutadotorg https://github.com/amrutadotorg We can add some retry logic in there. Can you hit https://files.tus.vimeo.com from your server at all?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vimeo/vimeo.py/issues/122#issuecomment-401052808, or mute the thread https://github.com/notifications/unsubscribe-auth/AkeZSDbFtKnDmDNM48fTuxCPEoIPOGQeks5uBOcBgaJpZM4UxjOd .

erunion commented 6 years ago

Ok, good to know. We'll try and get some retry logic in by the end of the week.

amrutadotorg commented 6 years ago

thank you, please let me know once it is ready

erunion commented 6 years ago

@amrutadotorg We've pushed some retry logic into v1.0.4.