# Hosted API sometimes fails to respond

**URL:** <https://discuss.roboflow.com/t/hosted-api-sometimes-fails-to-respond/9939>\
**Category:** 🤝  Community Help\
**Created:** [May 20, 2025, 7:26pm UTC](https://discuss.roboflow.com/t/hosted-api-sometimes-fails-to-respond/9939 "2025-05-20T19:26:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![agoransson](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/agoransson/32/6613_2.png) [@agoransson](https://discuss.roboflow.com/u/agoransson)\
**Post date:** [May 20, 2025, 7:26pm UTC](https://discuss.roboflow.com/t/hosted-api-sometimes-fails-to-respond/9939/1 "2025-05-20T19:26:48Z")

</div>

_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](http://app.roboflow.com)

The error I see is this:

```auto
> {"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:

1. Is there something that can be done to mitigate these issues with the hosted inference?
2. Do you have some kind of “downdetector” that I can use in my project to detect if there are issues with the API?
3. 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:** -

---

<div class="post-metadata">

**Author:** ![Jackson](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/jackson/32/7434_2.png) [@Jackson](https://discuss.roboflow.com/u/Jackson)\
**Post date:** [May 20, 2025, 8:13pm UTC](https://discuss.roboflow.com/t/hosted-api-sometimes-fails-to-respond/9939/2 "2025-05-20T20:13:10Z")

</div>

Thanks for writing in @agoransson. Are you still running into issues? We recently experienced a few unusual delays as a result of an upstream provider.

Monitor Roboflow status here: [https://status.roboflow.com/](https://status.roboflow.com/).

And full sdk docs here: [Developer Tools | Roboflow Docs](https://docs.roboflow.com/developer).

---

<div class="post-metadata">

**Author:** ![agoransson](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/agoransson/32/6613_2.png) [@agoransson](https://discuss.roboflow.com/u/agoransson)\
**Post date:** [May 25, 2025, 8:12pm UTC](https://discuss.roboflow.com/t/hosted-api-sometimes-fails-to-respond/9939/3 "2025-05-25T20:12:05Z")

</div>

Right now I’m seeing issues again, but it’s not noted on the [status.roboflow.com](http://status.roboflow.com) website.

Worth mentioning is that I’m using the [serverless.roboflow.com](http://serverless.roboflow.com) server.

Thanks

/Andreas

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [June 15, 2025, 8:12pm UTC](https://discuss.roboflow.com/t/hosted-api-sometimes-fails-to-respond/9939/4 "2025-06-15T20:12:44Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
