kaltura / KalturaGeneratedAPIClientsPython

Python auto generated clients libs which will then be built and test by Travis CI
GNU Affero General Public License v3.0
6 stars 15 forks source link

Read timeouts on Kaltura uploads #4

Closed burnes closed 4 years ago

burnes commented 4 years ago

With large video files (>500MB) our service raises read timeouts. Why is this requestTimeout hard coded? Is it possible to increase this somehow?

kaltura_client.uploadToken.upload(upload_token.id, media_file)
...
KalturaClient.exceptions.KalturaClientException: HTTPSConnectionPool(host='www.kaltura.com', port=443): Read timed out. (read timeout=10) (-4)

This is the corresponding code in the generated Kaltura API client::

https://github.com/kaltura/KalturaGeneratedAPIClientsPython/blob/44e17ee8683dc3d1ffa59eaf507264a887dfa921/KalturaClient/Client.py#L314

kaltura-hooks commented 4 years ago

Hi @burnes,

Thank for you reporting an issue and helping improve Kaltura!

To get the fastest response time, and help the maintainers review and test your reported issues or suggestions, please ensure that your issue includes the following (please comment with more info if you have not included all this info in your original issue):

For general troubleshooting see: https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.13.0/doc/kaltura-packages-faq.md#troubleshooting-help

If you only have a general question rather than a bug report, please close this issue and post at: http://forum.kaltura.org

Thank you in advance,

burnes commented 4 years ago

Just recognized that Kaltura recommends to upload large files in multiple chunks. Guess using chunks will fix the problems, so I'll close the issue again.