Hi Simone,

Thank you for pointing out the use of AsyncContext, indeed it seems to be
the problem :-)
I'm using Scalatra with the FutureSupport trait, which does the
request.startAsync() call.

Thank you all for your help,
Best wishes,
Daniel

On Fri, Feb 21, 2020 at 6:17 PM Simone Bordet <[email protected]> wrote:

> Hi,
>
> On Fri, Feb 21, 2020 at 3:51 PM Dániel Sali
> <[email protected]> wrote:
> > Thanks for the quick reply, unfortunately, I'm not using the
> ProxyServlet and I still get an error.
>
> [snip]
>
> Your application calls request.startAsync(), but does not specify the
> async context timeout, which by default is 30 seconds.
> You want to do
>
> AsyncContext asyncContext = request.startAsync();
> asyncContext.setTimeout(/* your value here*/);
>
> Use 0 to set an infinite timeout (i.e. your application must resume
> the processing explicitly).
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
> _______________________________________________
> 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