{"action":"created","issue":{"url":"https://api.github.com/repos/vimeo/vimeo.php/issues/190","repository_url":"https://api.github.com/repos/vimeo/vimeo.php","labels_url":"https://api.github.com/repos/vimeo/vimeo.php/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/vimeo/vimeo.php/issues/190/comments","events_url":"https://api.github.com/repos/vimeo/vimeo.php/issues/190/events","html_url":"https://github.com/vimeo/vimeo.php/issues/190","id":389926178,"node_id":"MDU6SXNzdWUzODk5MjYxNzg=","number":190,"title":"TusCommunicationError when uploading a video of 500MB","user":{"login":"Kinozuko","id":1244433,"node_id":"MDQ6VXNlcjEyNDQ0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1244433?v=4","gravatar_id":"","url":"https://api.github.com/users/Kinozuko","html_url":"https://github.com/Kinozuko","followers_url":"https://api.github.com/users/Kinozuko/followers","following_url":"https://api.github.com/users/Kinozuko/following{/other_user}","gists_url":"https://api.github.com/users/Kinozuko/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinozuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinozuko/subscriptions","organizations_url":"https://api.github.com/users/Kinozuko/orgs","repos_url":"https://api.github.com/users/Kinozuko/repos","events_url":"https://api.github.com/users/Kinozuko/events{/privacy}","received_events_url":"https://api.github.com/users/Kinozuko/received_events","type":"User","site_admin":false},"labels":[{"id":573977437,"node_id":"MDU6TGFiZWw1NzM5Nzc0Mzc=","url":"https://api.github.com/repos/vimeo/vimeo.php/labels/support","name":"support","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-11T19:50:42Z","updated_at":"2018-12-11T20:33:27Z","closed_at":"2018-12-11T20:33:27Z","author_association":"NONE","body":"Hi, i have an issue when i try to upload videos (500MB as minimum), at begin is uploading correctly, after a while i got an exepcion, it work perfectly when i upload small video (4MB), i'm using python-sdk with the function upload inside my class, in the construct i initialize the user\r\n\r\n`class VimeoAPI():\r\n\r\n\tdef upload_file(self,file_path,file_name,file_description):\r\n\t\tfile = self._service.upload(file_path,\r\n\t\t\tdata = {\r\n\t\t\t\t\"name\" : file_name,\r\n\t\t\t\t\"description\" : file_description,\r\n\t\t\t\t\"privacy.add\" : False,\r\n\t\t\t\t\"privacy.comments\" : \"nobody\",\r\n\t\t\t\t\"privacy.download\" : False,\r\n\t\t\t\t\"privacy.embed\" : \"private\",\r\n\t\t\t\t\"privacy.views\" : \"unlisted\",\r\n\t\t\t\t\"chunk_size\" : (100 * 1024 * 1024) # 100 MB\r\n\t\t\t}\r\n\t\t)\r\n\t\treturn {\r\n\t\t\t\"response\" : True if file else False,\t\r\n\t\t\t\"video_uri\" : file\r\n\t\t}\r\n`\r\n\r\nPython-sdk only use the \"tus\" option to upload video (when using the upload function inside the Pyvimeo), i'm getting errors based in the tus-py-client, im gettin this exception from tusclient inside exception.py in the vimeo-sdk:\r\n\r\n`\r\n message = getattr(response, 'message')\r\nAttributeError: 'TusCommunicationError' object has no attribute 'message'\r\n`\r\nThe exception class is this:\r\n\r\n`class TusUploadFailed(TusCommunicationError):\r\n   \r\n \"\"\"Should be raised when an attempted upload fails\"\"\"\r\n    pass\r\n`\r\n\r\nHow you can see, the exception is empty and i'm getting that exception, also, i'm getting this:\r\n\r\n`\r\nraise TusCommunicationError(error)\r\ntusclient.exceptions.TusCommunicationError: HTTPSConnectionPool(host='files.tus.vimeo.com', port=443): Max retries exceeded with url: /files/vimeo-prod-src-tus-us/8c77eeeb2a0ec1aa466cf045d9c042d6 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1e52422a90>: Failed to establish a new connection: [Errno 110] Connection timed out',))\r\n`\r\n###############################\r\n###############################\r\n\r\n`\r\nraise ConnectionError(e, request=request)\r\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='files.tus.vimeo.com', port=443): Max retries exceeded with url: /files/vimeo-prod-src-tus-us/8c77eeeb2a0ec1aa466cf045d9c042d6 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1e52422a90>: Failed to establish a new connection: [Errno 110] Connection timed out',))\r\n`\r\n###############################\r\n###############################\r\n\r\n`\r\nraise MaxRetryError(_pool, url, error or ResponseError(cause))\r\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='files.tus.vimeo.com', port=443): Max retries exceeded with url: /files/vimeo-prod-src-tus-us/8c77eeeb2a0ec1aa466cf045d9c042d6 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1e52422a90>: Failed to establish a new connection: [Errno 110] Connection timed out',))\r\n`\r\n###############################\r\n###############################\r\n\r\n`\r\n\"Failed to establish a new connection: %s\" % e)\r\nurllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f1e52422a90>: Failed to establish a new connection: [Errno 110] Connection timed out\r\n`\r\n###############################\r\n###############################\r\n\r\n`\r\n raise TusUploadFailed(e)\r\ntusclient.exceptions.TusUploadFailed: (55, 'SSL_write() returned SYSCALL, errno = 32')\r\n`\r\n###############################\r\n###############################\r\n\r\n`\r\npycurl.error: (55, 'SSL_write() returned SYSCALL, errno = 32')\r\n`\r\n###############################\r\n###############################\r\n\r\n`\r\nraise TusUploadFailed(e)\r\ntusclient.exceptions.TusUploadFailed: (55, 'SSL_write() returned SYSCALL, errno = 32')\r\n`\r\n###############################\r\n###############################\r\n\r\n`\r\nraise TusUploadFailed(e)\r\ntusclient.exceptions.TusUploadFailed: (55, 'SSL_write() returned SYSCALL, errno = 32')\r\n`\r\n###############################\r\n###############################\r\n\r\n`\r\nself.handle.perform()\r\npycurl.error: (55, 'SSL_write() returned SYSCALL, errno = 32')\r\n`\r\n the error is based in the python vimeo-sdk or the tus-py-client  or is something else?\r\n"},"comment":{"url":"https://api.github.com/repos/vimeo/vimeo.php/issues/comments/446351667","html_url":"https://github.com/vimeo/vimeo.php/issues/190#issuecomment-446351667","issue_url":"https://api.github.com/repos/vimeo/vimeo.php/issues/190","id":446351667,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjM1MTY2Nw==","user":{"login":"Kinozuko","id":1244433,"node_id":"MDQ6VXNlcjEyNDQ0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1244433?v=4","gravatar_id":"","url":"https://api.github.com/users/Kinozuko","html_url":"https://github.com/Kinozuko","followers_url":"https://api.github.com/users/Kinozuko/followers","following_url":"https://api.github.com/users/Kinozuko/following{/other_user}","gists_url":"https://api.github.com/users/Kinozuko/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinozuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinozuko/subscriptions","organizations_url":"https://api.github.com/users/Kinozuko/orgs","repos_url":"https://api.github.com/users/Kinozuko/repos","events_url":"https://api.github.com/users/Kinozuko/events{/privacy}","received_events_url":"https://api.github.com/users/Kinozuko/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T20:33:27Z","updated_at":"2018-12-11T20:33:27Z","author_association":"NONE","body":"Yeah, sorry, my bad, i put these issues in the wrong sdk, my bad, this error is from python sdk"}}
{"actor":{"display_login":"Kinozuko"}}