Timmer trigger RecursionError colorama/ansitowin32.py", line 29
Mark Sanders
20
Reputation points
I created a timer trigger function that runs every 5 minutes. Python 3.9. Using the cli, I check the number of namespaces in a kubernetes cluster. Based on results, the node pool min sizes are adjusted.
It seems to run fine for most of the day. Suddenly, the function starts failing with the error below. I have to restart the function to get things working again. Any suggestions would be helpful.
Exception: RecursionError: maximum recursion depth exceeded
Stack: File "/azure-functions-host/workers/python/3.9/LINUX/X64/azure_functions_worker/dispatcher.py", line 484, in _handle__invocation_request
sys.stdout.flush()
File "/home/site/wwwroot/.python_packages/lib/site-packages/colorama/ansitowin32.py", line 29, in __getattr__
return getattr(self.__wrapped, name)
File "/home/site/wwwroot/.python_packages/lib/site-packages/colorama/ansitowin32.py", line 29, in __getattr__
return getattr(self.__wrapped, name)
File "/home/site/wwwroot/.python_packages/lib/site-packages/colorama/ansitowin32.py", line 29, in __getattr__
return getattr(self.__wrapped, name)
[Previous line repeated 490 more times]
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Sign in to answer