# 504 Gateway Time-out in Inference Endpoints

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-gateway-time-out-in-inference-endpoints%2F68365%3E%5C
**Category:** Inference Endpoints on the Hub\
**Created:** [January 8, 2024, 11:33am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-gateway-time-out-in-inference-endpoints%2F68365 "2024-01-08T11:33:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![H-H-E](https://avatars.discourse-cdn.com/v4/letter/h/50afbb/32.png) [@H-H-E](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FH-H-E)%5C
**Post date:** [January 8, 2024, 11:33am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-gateway-time-out-in-inference-endpoints%2F68365%2F1 "2024-01-08T11:33:05Z")

</div>

On calling suno/bark model (which is a large model for TTS) ,it seems to give 504 Gateway Time-out on a POST request to the API.

Here’s the link to the repository :

> **[BasketTechologies/bark · Hugging Face](https://huggingface.co/BasketTechologies/bark)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Can you please take a look at it ?

Thank you.

---

<div class="post-metadata">

**Author:** ![dthomas84](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/dthomas84/32/22823_2.png) [@dthomas84](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdthomas84)%5C
**Post date:** [January 8, 2024, 8:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-gateway-time-out-in-inference-endpoints%2F68365%2F2 "2024-01-08T20:58:25Z")

</div>

I am having the same issue with the Facebook MusicGen small model on hosted inference. 504 timeouts for the last few hours.

---

<div class="post-metadata">

**Author:** ![AIFelix](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@AIFelix](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAIFelix)%5C
**Post date:** [January 8, 2024, 9:19pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-gateway-time-out-in-inference-endpoints%2F68365%2F3 "2024-01-08T21:19:15Z")

</div>

I’ve been getting 504s for the last 8 hours or so. I’ve also received a couple 424s which is most certainly not the correct http code. Outside of that, the responses that do come back take much longer than usual.

---

<div class="post-metadata">

**Author:** ![raviture](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/raviture/32/38591_2.png) [@raviture](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fraviture)%5C
**Post date:** [January 23, 2025, 5:04am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-gateway-time-out-in-inference-endpoints%2F68365%2F4 "2025-01-23T05:04:35Z")

</div>

hey @AIFelix did you find the reason behind 504s ?
