question

Lelelo1-9442 avatar image
0 Votes"
Lelelo1-9442 asked MikeUrnun commented

Azure function response status code 429

I have a azure function published. When I open two tabs the browser and call it I get:

Response status code does not indicate success: 429 (Too Many Requests).

.. in the second tab.

The plan I have is Consumption.

Why can I not call the same function multiple times? Shoulden't 'Consumption' scale and allow concurrent calls?



azure-functions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sadomovalex avatar image
0 Votes"
sadomovalex answered

check host.json of your Azure function: does it have maxConcurrentRequests=1? (Configure host behaviors to better handle concurrency)


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Lelelo1-9442 avatar image
0 Votes"
Lelelo1-9442 answered MikeUrnun commented

I was experiencing the issue with:

{  
     "version": "2.0",  
     "logging": {  
         "applicationInsights": {  
             "samplingExcludedTypes": "Request",  
             "samplingSettings": {  
                 "isEnabled": true  
             }  
         }  
     }  
 }

Then I ended up with trying adding different extensionSettings. But when i changed back to the original host.json that was in git - the problem was gone (with the host.config above)


Nevermind, after 10-15 requests i'ts back again:

Response status code does not indicate success: 429 (Too Many Requests).

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Lelelo1-9442 - It is a transient issue? Are you able to reproduce consistently?

0 Votes 0 ·