-
Create a Google Cloud Platform Project and specify get ProjectId. Specify ProjectId at host property in echoApi/spec.yaml and docker-compose.yml in services.esp.command as --service value. The projectId in this example was example-project-317294.appspot.com.
-
Create a service account for ESP and save service account json file to
credentials/service-account.json
. -
Grant permissions to a client with api key and access-token, create an
.env
file based on.env.tpl
and provide credentials.
The quotas is per minute, so if we get status code 429 Too Many Request
and we wait a minute we should be fine but after we wait a minute the next request has status code 429
, it happens even if we wait more than twice like 150
seconds. This repo reproduce the error. If see github action workflow run, there is one waiting 61
seconds with the issue and other waiting 150
with the same issue, also it happens to ESP and ESPv2.
Github actions logs, for esp v1 we can see the issue here and for esp v2 we can see the issue here
Github actions logs, for esp v1 we can see the issue here and for esp v2 we can see the issue here