Error Reading From Remote Server Error 502
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business 502 proxy error error reading from remote server Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
Error Reading From Remote Server Returned
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like error reading from remote server returned by apache you, helping each other. Join them; it only takes a minute: Sign up Proxy Error 502 : The proxy server received an invalid response from an upstream server up vote 24 down vote favorite 6 We are
Error Reading From Remote Server Returned By /microsoft-server-activesync
building a mass mailing sending application in Java. Mail is being send by third party SMTP. After sending 400-500 mails tomcat6 service get stopped. Below is the error. Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /lin/Campaignn.jsp. Reason: Error reading from remote server Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request. proxy error reading from remote server returned by tomcat Apache Server at msizzler.com Port 80 But when we are sending from localhost I did not received any error. It send all the mails. Please help me to sort it out this problem. java email proxy tomcat6 share|improve this question asked Dec 5 '13 at 17:36 Ranjeet Ranjan 1332210 add a comment| 3 Answers 3 active oldest votes up vote 26 down vote The HTTP 502 "Bad Gateway" response is generated when Apache web server does not receive a valid HTTP response from the upstream server, which in this case is your Tomcat web application. Some reasons why this might happen: Tomcat may have crashed The web application did not respond in time and the request from Apache timed out The Tomcat threads are timing out A network device is blocking the request, perhaps as some sort of connection timeout or DoS attack prevention system If the problem is related to timeout settings, you may be able to resolve it by investigating the following: ProxyTimeout directive of Apache's mod_proxy Connector config of Apache Tomcat Your network device's manual share|improve this answer answered Jan 29 '14 at 2:18 rmeakins 899611 add a comment| up vote 16 down vote Add this into your httpd.conf file Timeout 2400 ProxyTimeout 2400 ProxyBadHeader Ignore share|improve this answer edited Sep 6 at 16:52 Ian Hunter 3,47473559 answered Feb 18 '14
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers
Reason: Error Reading From Remote Server
or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x
The Proxy Server Received An Invalid Response From An Upstream Server. Apache
Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it 502 proxy error fix only takes a minute: Sign up Bad Gateway 502 error with Apache mod_proxy and Tomcat up vote 39 down vote favorite 14 We're running a web app on Tomcat 6 and Apache mod_proxy 2.2.3. Seeing a lot of 502 errors http://stackoverflow.com/questions/20406845/proxy-error-502-the-proxy-server-received-an-invalid-response-from-an-upstream like this: Bad Gateway! The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /the/page.do. Reason: Error reading from remote server If you think this is a server error, please contact the webmaster. Error 502 Tomcat has plenty of threads, so it's not thread-constrained. We're pushing 2400 users via JMeter against the app. All the boxes are sitting inside our firewall on a fast unloaded network, so there shouldn't be http://stackoverflow.com/questions/169453/bad-gateway-502-error-with-apache-mod-proxy-and-tomcat any network problems. Anyone have any suggestions for things to look at or try? We're heading to tcpdump next. UPDATE 10/21/08: Still haven't figured this out. Seeing only a very small number of these under load. The answers below haven't provided any magical answers...yet. :) java apache tomcat mod-proxy share|improve this question edited Oct 21 '08 at 19:45 community wiki 2 revsAlex Miller I am facing this problem for some time during my running application –Uday A. Navapara Mar 12 '15 at 5:27 add a comment| 7 Answers 7 active oldest votes up vote 32 down vote Just to add some specific settings, I had a similar setup (with Apache 2.0.63 reverse proxying onto Tomcat 5.0.27). For certain URLs the Tomcat server could take perhaps 20 minutes to return a page. I ended up modifying the following settings in the Apache configuration file to prevent it from timing out with its proxy operation (with a large over-spill factor in case Tomcat took longer to return a page): Timeout 5400 ProxyTimeout 5400 Some backgound ProxyTimeout alone wasn't enough. Looking at the documentation for Timeout I'm guessing (I'm not sure) that this is because while Apache is waiting for a response from Tomcat, there is no traffic flowing between Apache and the Browser (or whatever http client) - and so Apache closes down the connection to the browser. I found that if I left the Timeout setting at
File Repository Image Gallery Status Log Video Library Wiki → Cyn.in Users▼ Generic Views Dashboard Activity Stream Application Views Audio Library Blog Bookmark Directory Discussions Board Event Calendar File Repository http://cyn.in/home/cyn.in-users/hi-this-is-a-unique-problem-which-i-am-facing.-i-am-an-absolute-novice-in-the-matter-of-server-maintainence-i-am-trying-to-do-a-backup-and-restore-for-the-cyn.in-site.-now-i-have-done-it-1-time-when-it-was-successful.-but-n Image Gallery Video Library Wiki . Home Cyn.in Developers Cyn.in Users Sync.in Users Choose language: English - English German - Deutsch Japanese - 日本語 Spanish - Español French - Français Italian https://devcentral.f5.com/questions/502-proxy-error - Italiano Chinese - 中文 Chinese (Taiwan) - 繁體中文(臺灣) Korean - 한국어 Dutch - Nederlands Russian - Русский Thai - ไทย Swedish - Svenska Vietnamese - Tiếng Việt Portuguese - Português error reading Portuguese (Brazil) - Português (Brasil) Czech - Čeština Welsh - Cymraeg Irish Gaelic - Gaeilge Danish - Dansk Polish - Polski Slovak - Slovenčina Catalan - Català Finnish - Suomi Latvian - Latviešu Maltese - Malti Serbian - српски Swahili - Swahili Turkish - Türkçe Estonian - Eesti Galician - Galego Croatian - Hrvatski Romanian - Română Albanian - Shqip Ukrainian - error reading from Українська Afrikaans - Afrikaans Bulgarian - Български Hungarian - Magyar Icelandic - Íslenska Norwegian - Norsk Belarussian - Беларускі Indonesian - Bahasa Indonesia Lithuanian - Lietuviskai Macedonian - Македонски Hindi - हिंदी cyn.in Help ▼ Cyn.in license Enterprise Support Supported Browsers Web Links cyn.in Homepage Cynapse Homepage Cynapse Community Cyn.in Users Dashboard Activity Stream Application views ▼ Audio Library Blog Bookmark Directory Discussions Board Event Calendar File Repository Image Gallery Video Library Wiki . We're sorry, but that page doesn't exist… Please double check the web address or use the search function on this page to find what you are looking for. If you are certain you have the correct web address but are encountering an error, please contact the Site Administration. Thank you. You might have been looking for… Cyn.in Users Collaboration Space for all Cyn.in Users. This is THE definitive place for Cyn.in users to discuss ideas, get help and contribute to the product and its vision. Cyn.in Users Collaboration Space for all Cyn.in Users. This is THE definitive place for Cyn.in users to discuss ideas, get help and contribute to t
iCall iControl iControlREST IP Intelligence Services iRules iRulesLX iWorkflow Linerate LTM MobileSafe Secure Web Gateway Silverline TMOS TMSH WebSafe Clear all filters Back to List Answers 502 Proxy Error Updated 06-Aug-2014•Originally posted on 06-Aug-2014 by D. Yutzy 84 apm design proxy security Hello, I've been investigating several 502 Proxy Errors in our environment and can't seem to nail it down. We have a typical architecture of: F5->RP->F5->AS And we are getting the following: HTTP/1.1 502 Proxy Error Date: Wed, 06 Aug 2014 20:18:58 GMT Server: Apache/2.4.9 (Win64) 502 Proxy Error The proxy server received an invalid response from an upstream server.The proxy server could not handle the request GET. Reason: Error reading from remote server It seems quite random although when it happens, it seems tied to the session, then after a period of time gets reset and we don't get it for a while. 0 Rate this Question Comments on this Question Comment made 13-Aug-2014 by D. Yutzy 84 Wow... 6 days with no response. Scouring the web this seems to be a common problem between Apache and IIS, specifically settings around TimeOut and KeepAlive. Our difference is we have Apache->F5->IIS vs Apache->IIS Again, any help or suggestions is greatly appreciated. 0 Comment made 13-Aug-2014 by David Larsen F5 Can you provide your F5 configuration information for the VIP to IIS? It could be that modifying the settings within the VIP will help control the timeouts and keepalives. 0 Comment made 13-Aug-2014 by D. Yutzy 84 I'll take a look and get back, thanks. 0 Comment made 14-Aug-2014 by D. Yutzy 84 Here is what we have for attributes associated with the VIP • tcp profile - idle timeout 300 seconds, • time wait - 2000 ms • keepalive - 1800 sec 0 Answers to this Question 5 Answers: USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER Updated 14-Aug-2014•Originally posted on 14-Aug-2014 by Hamish 2997 Do you have some URI's that take longer than 5 minutes (The 300 second idle timeout) to respond (When you get the 502)? I know some developers are keen to ignore standards for HTTP and like to make the client wait for upwards of 30 minutes or so for a response to come back... (Pet peeve of mine). Failing that... What do the access/error logs say on the Apache that's reporting the error? Is it from your RP