Google App Engine application deployment error: "The request is invalid for an unspecified reason." How to fix?

Our deployments for the default module for a specific application do not seem to work randomly, at least in 50% of cases, which constantly disrupts our workflow.

With verbose logging enabled through appcfg.py update app.yaml --verbose, this error appears on the terminal:

03:43 PM Uploaded 4 files and blobs.
03:43 PM Compilation starting.
2015-09-23 15:43:51,886 INFO appcfg.py:1735 Send: /api/appversion/precompile, params={'version': 'myversion', 'app_id': 'myappid', 'module': 'default'}
03:43 PM Compilation completed.
03:43 PM Starting deployment.
2015-09-23 15:43:54,215 INFO appcfg.py:1735 Send: /api/appversion/deploy, params={'version': 'myversion', 'app_id': 'myappid', 'module': 'default'}
2015-09-23 15:43:56,341 INFO appcfg.py:2601 HTTP Error (HTTP Error 400: Bad Request Unexpected HTTP status 400)
03:43 PM Rolling back the update.
2015-09-23 15:43:56,341 INFO appcfg.py:1735 Send: /api/appversion/rollback, params={'version': 'myversion', 'app_id': 'myappid', 'module': 'default'}
Error 400: --- begin server output ---

Client Error (400)
The request is invalid for an unspecified reason.
--- end server output ---

The failure is very consistent, because in most cases we try to deploy the module after it has not been deployed for several hours, the deployment attempt will fail with the output above.

, , ( , ).

. , . .

. Python .

Google, , , - , , , App Engine .

App Engine - , ( )? (, ), .

+4

Source: https://habr.com/ru/post/1609414/


All Articles