found this in apache: 

(104) Connection reset by peer: proxy: error reading status line from remote server

but nothing in undertow.

got 502 on HTTP GET. Sometimes while calling the home page / or when page loads OK, got 502 on page resources (js, css, images).

I call startBlocking and use the outputstream to write the response, when everything has been written I call the "outputstream.close" method. Do I need to call exchange.endExchange too?

Thanks


On Sun, Jan 18, 2015 at 8:52 PM, Stuart Douglas <sdouglas@redhat.com> wrote:
Is there any info in the log? Or is there any specific type of request that causes this?

Stuart


----- Original Message -----
> From: "Edgar Espina" <espina.edgar@gmail.com>
> To: undertow-dev@lists.jboss.org
> Sent: Monday, 19 January, 2015 9:42:19 AM
> Subject: [undertow-dev] occasional 502 from Apache HTTP Proxy
>
> Hi,
>
> I've an Undertow application behind apache reverse proxy, trying to load a
> page displays error 502 proxy error.
>
> Still couldn't find why so I wonder if any of you find a similar problem with
> Undertow and Apache.
>
> Please note this is our first app on top of Undertow, existing apps running
> on Tomcat/Jetty are OK.
>
> Appreciate any help.
>
> Thanks
>
> --
> edgar
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev



--
edgar