There's only 1 bit of code in Jetty that will return a 504 Gateway timeout.

The ProxyServlet.

Are you using that?

Joakim Erdfelt / [email protected]


On Fri, Feb 21, 2020 at 8:09 AM Dániel Sali <[email protected]>
wrote:

> Hi all,
>
> I'm writing a REST API in Scala, where an endpoint takes a bit of time to
> process (>30s), and when I send a POST request to the endpoint, the
> embedded Jetty server (9.4.26.v20200117) returns an HTTP 504 timeout error.
>
> I've tried increasing the idleTimeout setting for the HTTP connector, but
> I still get the same error after 30 seconds.
>
> Could you give me pointers on what could be causing this?
>
> Thanks and regards,
> Daniel Sali
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to