Since we’ve updated Ayon server and pipeline and moved our server we are now unable to completely publish a reviewable. It dies during the integration and we’re getting an HTTP error response 413: Request Entity Too Large for URL when trying to publish reviewables.
If the thumbnail or the mp4 generated after running the Maya playblast is done and an mp4 generated, exceeding 1Mb causes it to fail in trying to POST to ayon server to then go to ftrack. Couldn’t find any configuring settings to set the limit since in Ayon settings. Never had problems before publishing reviewables before the update. Why would the http server have it’s max payload changed. Anyone else come across this problem?
INFO: Uploading reviewable 'h264' ...
INFO: Uploading reviewable S:\_Projects\<Game>\Ayon\<GameStudio>\Sequences\TST\TST_sh0010\publish\review\reviewMain\v002\NntG_TST_sh0010_reviewMain_v002_h264.mp4
DEBUG: <AyonEndpoint> "POST /api/projects/<GameStudio>/versions/e0afceab859b11efa3f0bcf1716c8d5a/reviewables?label=h264 HTTP/1.1" 413 183
Traceback (most recent call last):
File "C:\Users\<User>\AppData\Local\Ynput\AYON\dependency_packages\ayon_2406251801_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
runner(*args)
File "C:\Users\<User>\AppData\Local\Ynput\AYON\addons\core_1.0.0\ayon_core\plugins\publish\integrate_review.py", line 28, in process
self._upload_reviewable(project_name, version_id, instance)
File "C:\Users\<User>\AppData\Local\Ynput\AYON\addons\core_1.0.0\ayon_core\plugins\publish\integrate_review.py", line 85, in _upload_reviewable
ayon_con.upload_file(
File "C:\Users\<User>\AppData\Local\Ynput\AYON\app\AYON 1.1.0\dependencies\ayon_api\server_api.py", line 1980, in upload_file
return self.upload_file_from_stream(
File "C:\Users\<User>\AppData\Local\Ynput\AYON\app\AYON 1.1.0\dependencies\ayon_api\server_api.py", line 1940, in upload_file_from_stream
return self._upload_file(
File "C:\Users\<User>\AppData\Local\Ynput\AYON\app\AYON 1.1.0\dependencies\ayon_api\server_api.py", line 1899, in _upload_file
response.raise_for_status()
File "C:\Users\<User>\AppData\Local\Ynput\AYON\app\AYON 1.1.0\dependencies\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 413 Client Error: Request Entity Too Large for url: http://<AYON_SERVER>/api/projects/<GameStudio>/versions/e0afceab859b11efa3f0bcf1716c8d5a/reviewables?label=h264