Describe your question/issue here! (delete this when you post)
In my project I’m using the hosted API to run inference on my workflow which is a quite standard Yolo SAHI flow. Usually the inference is stable without issues, but the other day all of a sudden I keep getting timeouts in my attempts to run inference. This also happened sometimes when testing the workflow through app.roboflow.com
The error I see is this:
> {"severity":"WARNING","message":"TypeError: fetch failed\n at node:internal/deps/undici/undici:12618:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async makeRequest (/functions/lib/detector/utils.js:81:30) {\n cause: ConnectTimeoutError: Connect Timeout Error\n at onConnectTimeout (node:internal/deps/undici/undici:7760:28)\n at node:internal/deps/undici/undici:7716:50\n at Immediate._onImmediate (node:internal/deps/undici/undici:7748:13)\n at process.processImmediate (node:internal/timers:478:21) {\n code: 'UND_ERR_CONNECT_TIMEOUT'\n }\n}"}
> {"severity":"ERROR","message":"Unhandled error TypeError: fetch failed\n at node:internal/deps/undici/undici:12618:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async makeRequest (/functions/lib/detector/utils.js:81:30) {\n cause: ConnectTimeoutError: Connect Timeout Error\n at onConnectTimeout (node:internal/deps/undici/undici:7760:28)\n at node:internal/deps/undici/undici:7716:50\n at Immediate._onImmediate (node:internal/deps/undici/undici:7748:13)\n at process.processImmediate (node:internal/timers:478:21) {\n code: 'UND_ERR_CONNECT_TIMEOUT'\n }\n}"}
My questionsa:
- Is there something that can be done to mitigate these issues with the hosted inference?
- Do you have some kind of “downdetector” that I can use in my project to detect if there are issues with the API?
- Do you have some mirrors for the hosted API if these failures are common during a certain period?
Thanks
- Project Type: Yolo
- Operating System & Browser: MacOS, Chrome
- Project Universe Link or Workspace/Project ID: -