<div dir="ltr">latest: 1.2.0.Beta8</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 18, 2015 at 9:42 PM, Stuart Douglas <span dir="ltr"><<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also what version of Undertow are you using?<br>
<span class="im HOEnZb"><br>
Stuart<br>
<br>
----- Original Message -----<br>
> From: "Edgar Espina" <<a href="mailto:espina.edgar@gmail.com">espina.edgar@gmail.com</a>><br>
</span><div class="HOEnZb"><div class="h5">> To: "Stuart Douglas" <<a href="mailto:sdouglas@redhat.com">sdouglas@redhat.com</a>><br>
> Cc: <a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
> Sent: Monday, 19 January, 2015 11:13:21 AM<br>
> Subject: Re: [undertow-dev] occasional 502 from Apache HTTP Proxy<br>
><br>
> found this in apache:<br>
><br>
> (104) Connection reset by peer: proxy: error reading status line from<br>
> remote server<br>
><br>
> but nothing in undertow.<br>
><br>
> got 502 on HTTP GET. Sometimes while calling the home page / or when page<br>
> loads OK, got 502 on page resources (js, css, images).<br>
><br>
> I call startBlocking and use the outputstream to write the response, when<br>
> everything has been written I call the "outputstream.close" method. Do I<br>
> need to call exchange.endExchange too?<br>
><br>
> Thanks<br>
><br>
> On Sun, Jan 18, 2015 at 8:52 PM, Stuart Douglas <<a href="mailto:sdouglas@redhat.com">sdouglas@redhat.com</a>> wrote:<br>
><br>
> > Is there any info in the log? Or is there any specific type of request<br>
> > that causes this?<br>
> ><br>
> > Stuart<br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Edgar Espina" <<a href="mailto:espina.edgar@gmail.com">espina.edgar@gmail.com</a>><br>
> > > To: <a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
> > > Sent: Monday, 19 January, 2015 9:42:19 AM<br>
> > > Subject: [undertow-dev] occasional 502 from Apache HTTP Proxy<br>
> > ><br>
> > > Hi,<br>
> > ><br>
> > > I've an Undertow application behind apache reverse proxy, trying to load<br>
> > a<br>
> > > page displays error 502 proxy error.<br>
> > ><br>
> > > Still couldn't find why so I wonder if any of you find a similar problem<br>
> > with<br>
> > > Undertow and Apache.<br>
> > ><br>
> > > Please note this is our first app on top of Undertow, existing apps<br>
> > running<br>
> > > on Tomcat/Jetty are OK.<br>
> > ><br>
> > > Appreciate any help.<br>
> > ><br>
> > > Thanks<br>
> > ><br>
> > > --<br>
> > > edgar<br>
> > ><br>
> > > _______________________________________________<br>
> > > undertow-dev mailing list<br>
> > > <a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
> > > <a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> edgar<br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">edgar</div>
</div>