Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

429: Too many request on cluster where open connections are just 40 and max can go 1000

My alloy db instance shows number of connections 40 and i now at peak i can reach 1000. But for some reason from my code i am receiving 429 error code and my system metrics show connections open 49. 

python3.8/site-packages/aiohttp/client_reqrep.py", line 1070, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 429, message='Too Many Requests', url=URL('https://alloydb.googleapis.com/v1beta/projects/*****/locations/***/clusters/***:generateClientCertif...')

Can someone explain what is happening? This is an 2 month old code running fine past 2 months all of a sudden we started seeing this error.

0 0 194
0 REPLIES 0