GRPC and types import error in App Engine Datastore

前端 未结 3 688
迷失自我
迷失自我 2020-12-11 08:13

I deployed my application in App engine successfully. However, when I try to access my API, I receive the following message:

Error: Server Error Th

3条回答
  •  萌比男神i
    2020-12-11 08:42

    The first traceback appears to suggest that grpc is somehow involved, and that's a problem. According to comments on issue 149 grpc is not yet supported on GAE standard environment.

    But since you're on the GAE standard environment you should really use the recommended, GAE-optimized (and more feature-rich) NDB Client Library to access the datastore, not the generic google.cloud.datastore one (which might indeed include features not meeting the standard env sandbox restrictions).

提交回复
热议问题