Skip to content Skip to sidebar Skip to footer

Google App Engine Configuring Endpoints Api

I have a problem configuring Endpoints API. Any code i use, from my own, to google's examples on site fail with the same traceback WARNING 2016-11-01 06:16:48,279 client.py:229] n

Solution 1:

Have you tried generating and uploading the OpenAPI configuration for the service? See the sections named "Generating the OpenAPI configuration file" and "Deploying the OpenAPI configuration file" in the python library documentation.

Note that in step 2 of the generation process, you may need to prepend python to the command (e.g python lib/endpoints/endpointscfg.py get_swagger_spec ...), since the PyPi package doesn't preserve executable file permissions right now.

Solution 2:

To get rid of the "FrontendsNotSupported" you need to use a "B*" instance class.

The error "Exception: Fetching service config failed" should be gone if you follow the steps in https://cloud.google.com/endpoints/docs/frameworks/python/quickstart-frameworks-python. As already pointed out by Brad, the section "OpenAPI configuration" and the resulting environment variables are required to make the service configuration work.

Post a Comment for "Google App Engine Configuring Endpoints Api"