Closed typicalTYLER closed 5 years ago
Temporary workaround by running the script as python run_inference.py || sleep 30m && python run_inference.py
:)
Added exponential backoff and more retries in this commit: 5fe31a52f4c795fa437a82fe68a37913767d998e
Didn't test as my current inference run was finished, but will re-open this issue if the problem persists
Below is the stack trace, always seems to happen right at 3am, maybe when mapbox updates their servers. I've added one automatic retry, but maybe I need to try exponential backoff and more retries. Just tracking the issue in case anybody has any guidance.
I was going to try to do a retry method similar to this, but the mapbox package hides away all the requests details to where it's not possible to specify the session etc.