logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Randomly receive 502 Bad Gateway error (Apache 2.4.4)
Author
hyohannes



Joined: 23 Jul 2013
Posts: 4
Location: USA, Boston

PostPosted: Tue 23 Jul '13 22:08    Post subject: Randomly receive 502 Bad Gateway error (Apache 2.4.4) Reply with quote

Hello all,


I am currently running apache 2.4.4 with Tomcat and randomly i receive the following error when i try to hit the external URL:

Bad Gateway
The proxy server received an invalid response from an upstream server


====================================================
Inside apachie error.log file., i also see the following error, i am not sure if they are related:

"The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed."



=====================================================

Here is my httpd.conf file:

Admin note:
Removed the httpd.conf, see forum rules to use paste bin.



=================================================
Any possible pointers or tips will be greatly appreciated.

Thanks,
-Hab
Back to top
hyohannes



Joined: 23 Jul 2013
Posts: 4
Location: USA, Boston

PostPosted: Tue 23 Jul '13 22:43    Post subject: Reply with quote

Here is httpd.conf file. I hope i posted this time properly.

Admin note:
Sorry, please read the forum rules, Rule 0.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Wed 24 Jul '13 12:52    Post subject: Reply with quote

winnt_accept: Asynchronous AcceptEx failed:

be sure you have in your httpd.conf

AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off

Steffen
Back to top
hyohannes



Joined: 23 Jul 2013
Posts: 4
Location: USA, Boston

PostPosted: Wed 24 Jul '13 14:52    Post subject: Reply with quote

Thanks Steffen.

It seems I don't see the error "AH00341: winnt_accept: Asynchronous AcceptEx failed" anymore but once in awhile i still see the error:

Bad Gateway

The proxy server received an invalid response from an upstream server.


Any other suggestions what might cause this error at random time?


Thanks again.
Back to top
hyohannes



Joined: 23 Jul 2013
Posts: 4
Location: USA, Boston

PostPosted: Wed 24 Jul '13 15:03    Post subject: Reply with quote

Also, if it helps --- if i refresh the page right after i get the the Bad Gateway error the page comes up just fine.
Back to top


Reply to topic   Topic: Randomly receive 502 Bad Gateway error (Apache 2.4.4) View previous topic :: View next topic
Post new topic   Forum Index -> Apache