You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing some experimentation with ESP, I recently encountered this error:
INFO:Constructing an access token with scope https://www.googleapis.com/auth/service.management.readonly
INFO:Service account email: [email protected]
INFO:Refreshing access_token
INFO:Fetching the service config ID from the rollouts service
INFO:Fetching the service configuration from the service management service
nginx: [warn] Using trusted CA certificates file: /etc/nginx/trusted-ca-certificates.crt
2024/11/19 22:00:02[error]1#1: Cannot load ESP configuration protocol buffer.
nginx: [emerg] Failed to load service configuration files in /etc/nginx/endpoints/nginx.conf:112
nginx: [emerg] There were errors with Endpoints api service configuration.
The error message only occurs once in the code, here:
After confirming that ESP was getting the service config that I intended, I began experimenting with removing various elements, until I eventually found that the failure was occurring due to these two options in the "types" section of the service config:
These options come from AIP-122, which appeared much later than ESP, and probably are of no use to ESP. So perhaps these should be excluded from service compilation.
Regardless, this is brittle behavior for ESP and causes it to fail for service config that ESPv2 handles without a problem.
The text was updated successfully, but these errors were encountered:
While doing some experimentation with ESP, I recently encountered this error:
The error message only occurs once in the code,
here:
After confirming that ESP was getting the service config that I intended, I began experimenting with removing various elements, until I eventually found that the failure was occurring due to these two options in the "types" section of the service config:
These options come from AIP-122, which appeared much later than ESP, and probably are of no use to ESP. So perhaps these should be excluded from service compilation.
Regardless, this is brittle behavior for ESP and causes it to fail for service config that ESPv2 handles without a problem.
The text was updated successfully, but these errors were encountered: