Error python app startup

428 views
Skip to first unread message

Kush Goyal

unread,
Jun 5, 2020, 5:25:23 AM6/5/20
to Google App Engine
I am getting the below error when deploying my Django app:

ERROR: (gcloud.app.deploy) Error Response: [9] 
Application startup error! Code: APP_CONTAINER_CRASHED
  File "/env/lib/python3.6/site-packages/google/api_core/gapic_v1/method_async.py", line 20, in <module>
    from google.api_core import general_helpers, grpc_helpers_async
  File "/env/lib/python3.6/site-packages/google/api_core/grpc_helpers_async.py", line 145, in <module>
    class _WrappedStreamUnaryCall(_WrappedUnaryResponseMixin, _WrappedStreamRequestMixin, aio.StreamUnaryCall):
AttributeError: module 'grpc.experimental.aio' has no attribute 'StreamUnaryCall'


There are modules I am using:
google-cloud-storage==1.28.1
google-cloud-logging==1.15.0
google-cloud-pubsub==1.5.0
google-cloud-profiler==1.1.0
google-cloud-kms==1.4.0
google-cloud-tasks==1.5.0
gunicorn==20.0.4
psycopg2==2.8.5
grpcio==1.27.2


Aref Amiri (Cloud Platform Support)

unread,
Jun 5, 2020, 10:15:19 AM6/5/20
to Google App Engine
The issue seems to be related to the gRPC and for that reason, it is best to post it on the dedicated page where dedicated engineerign team are ready to assist. 

Please note that Google Groups is reserved for general product discussions and is not for technical support.
Message has been deleted

ankush kapoor

unread,
Jun 8, 2020, 8:24:47 AM6/8/20
to Google App Engine
Please use grpcio==1.29.0 to fix this error
Reply all
Reply to author
Forward
0 new messages