# Nginx reverse proxy hangs

**URL:** <https://www.ruby-forum.com/t/nginx-reverse-proxy-hangs/240761>\
**Category:** NGINX\
**Created:** [April 29, 2014, 5:47pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-hangs/240761 "2014-04-29T17:47:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 29, 2014, 5:47pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-hangs/240761/1 "2014-04-29T17:47:20Z")

</div>

I’ve set up nginx as a reverse proxy for a jboss service and also serves  
Static Pages. Its stop working after keeping server idle for some time.

During the time, when i call static page it serves.Also tried calling  
the  
jboss directly it works.

Only the dynamic contents through reverse proxy doesn’t work.

Once i restart the nginx service, it will start work.

Enabled the debug log, but did not find any error, except 499 in access  
log  
as client closing the connection as they did not see anything.

Both the nginx and jboss not loaded, hardly gets request.

Is this a bug?

I’m using nginx 1.4.7-1~precise on Ubuntu 12.04 LTS

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![chima\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/779978/32.png) [@chima\_s](https://www.ruby-forum.com/u/chima_s)\
**Post date:** [April 29, 2014, 6:19pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-hangs/240761/2 "2014-04-29T18:19:15Z")

</div>

Hello!

On Tue, Apr 29, 2014 at 09:16:40PM +0530, chima s wrote:

> Enabled the debug log, but did not find any error, except 499 in access log  
> as client closing the connection as they did not see anything.
> 
> Both the nginx and jboss not loaded, hardly gets request.
> 
> Is this a bug?
> 
> I’m using nginx 1.4.7-1~precise on Ubuntu 12.04 LTS

> **[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki...](https://github.com/nginxinc/nginx-wiki)**
>
> ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com

–  
Maxim D.

> **[nginx](http://nginx.org/)**

---

<div class="post-metadata">

**Author:** ![chima\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/779978/32.png) [@chima\_s](https://www.ruby-forum.com/u/chima_s)\
**Post date:** [May 1, 2014, 8:48am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-hangs/240761/3 "2014-05-01T08:48:51Z")

</div>

Hi,  
We are also facing the same issue ,have any one faced the same  
problem of  
getting blank pages with 200 status code when using nginx as reverse  
proxy  
to jboss 7 ? any help/suggestion on this are very much appreciated.

Regards,  
Chris

Posted at Nginx Forum:

> **[Re: nginx reverse proxy hangs](https://forum.nginx.org/read.php?2,249736,249781#msg-249781)**
>
> I've set up nginx as a reverse proxy for a jboss service and also serves Static Pages. Its stop working after keeping server idle for some time. During the time, when i call static page it serves.Also tried calling the jboss directly it works. Only...
