Openshift Proxy Error Error Reading From Remote Server
Contents |
Start 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 error reading status line from remote server Stack Overflow the company Business Learn more about hiring developers or posting ads with the proxy server received an invalid response from an upstream server. apache us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system ah01102: error reading status line from remote server and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Proxy (20014)internal error: proxy: error reading status line from remote server Error 502 “Reason: Error reading from remote server” with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18 up vote 47 down vote favorite 24 Apache is receiving requests at port :80 and proxying them to Jetty at port :8080 The proxy server received an invalid response from an upstream server The proxy server could not handle the request GET /. My dilemma: Everything works fine normally (fast requests, few seconds or few
Proxy-initial-not-pooled
tens of seconds long requests are processed ok). Problems occur when request processing takes long (few minutes?). If I issue request instead directly to Jetty at port :8080 the request is processed OK. So problem is likely to sit somewhere between Apache and Jetty where I am using mod_proxy. How to solve this? I have already tried some "tricks" related to KeepAlive settings, without luck. Here is my current configuration, any suggestions? #keepalive Off ## I have tried this, does not help #SetEnv force-proxy-request-1.0 1 ## I have tried this, does not help #SetEnv proxy-nokeepalive 1 ## I have tried this, does not help #SetEnv proxy-initial-not-pooled 1 ## I have tried this, does not help KeepAlive 20 ## I have tried this, does not help KeepAliveTimeout 600 ## I have tried this, does not help ProxyTimeout 600 ## I have tried this, does not help NameVirtualHost *:80
here for a quick overview of the site Help Center Detailed answers to any
The Proxy Server Received An Invalid Response From An Upstream Server. Apache Reverse Proxy
questions you might have Meta Discuss the workings and policies the proxy server received an invalid response from an upstream server tomcat of this site About Us Learn more about Stack Overflow the company Business Learn more about setenv proxy-initial-not-pooled hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow http://serverfault.com/questions/185894/proxy-error-502-reason-error-reading-from-remote-server-with-apache-2-2-3-de is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Proxy Error 502 Openshift up vote 3 down vote favorite I'am using Openshift Demo in my local machine and Drupal project, when i submit in a form.php i need to http://stackoverflow.com/questions/23093073/proxy-error-502-openshift create an app with the REST API with the curl lib, and i get the : Proxy Error 502 The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /. Reason: Error reading from remote server I don't have any suspect things in all my logs files, also i change all params (TimeOut, size ..) in the haproxy config, httpd.conf, broker.conf and i still have the error so any ideas why this error ? This my curl code : $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_PROXY, null); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_USERPWD, $username . ':' . $password); curl_setopt($ch, CURLOPT_POSTFIELDS, 'name=test&cartridge[url]=my_Cartridge_URL'); curl_setopt($ch, CURLOPT_POST, true); $server_output_app_create = curl_exec ($ch); drupal_set_message(''. print_r($server_output_app_create, TRUE) .''); curl_close ($ch); Thanks php curl openshift share|improve this question asked Apr 15 '14 at 19:47 user3524724 185 Followup? What did you
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 http://stackoverflow.com/questions/23425793/openshift-some-requests-fail-proxy-error company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions https://www.experts-exchange.com/questions/28405761/openshift-Node-js-application-proxy-error.html Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Openshift - some requests fail (proxy error) up vote 4 down vote favorite I am using openshift to deploy some error reading little applications i built. everything is ok, but SOMETIMES, don't ask me why, when i try to log-in (post request), i get this error (after waiting 5 minutes more or less: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /login. Reason: Error reading from remote server different requests work, only this post request for logging in seems broken. Logs of from remote server my application don't show errors, just seem that request is not handled. Any advice? node.js apache http proxy openshift share|improve this question asked May 2 '14 at 10:19 Morrisda 685514 any idea on this i get this only when i attempt access my admin panel. –Darbs May 8 '14 at 22:51 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Browse other questions tagged node.js apache http proxy openshift or ask your own question. asked 2 years ago viewed 785 times Related 3Strategies for dealing with URIs when building an application that sits behind a reverse proxy5“Proxying” a lot of HTTP requests with Node.js + Express 22Node.js on OpenShift: Apache returns 404 for URLs with percent-encoded '/' characters6Openshift (node.js) fails to install jsdom2Getting 502 (Proxy Error) When Browsing Node.js Server0How do you get this node.js proxy server to work on a host like openshift or appfog?1Changing request and response
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > openshift Node.js application proxy error Want to Advertise Here? Solved openshift Node.js application proxy error Posted on 2014-04-05 MySQL Server Web Applications JavaScript 1 Verified Solution 2 Comments 1,196 Views Last Modified: 2014-04-05 Hi all, I am running a node.js application on openshift. I created one application in my openshift account, then i added 3 Cartridges in it, node.js, mysql, phpmyadmin. I am able to run index page of my application but when i try to access the database with web service it give me follow error_ Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /search. Reason: Error reading from remote server Apache/2.2.15 (Red Hat) Server at storefrontver1-eziq.rhcloud.com Port 443 Any help appreciated. Thanks & Regards, Krunal T. Tailor 0 Question by:KRUNAL TAILOR Facebook Twitter LinkedIn Google LVL 12 Active 2 days ago Best Solution byKRUNAL TAILOR Oops, I set wrong ip address in config file. Sorry all. Go to Solution 2 Comments LVL 12 Overall: Level 12 Web Applications 1 MySQL Server 1 Message Active 2 days ago Accepted Solution by:KRUNAL TAILOR2014-04-05 Oops, I set wrong ip address in config file. Sorry all. 0 LVL 12 Overall: Level 12 Web Applications 1 MySQL Server 1 Message Active 2 days ago Author Closing Comment by:KRUNAL TAILOR2014-04-05 My mistake for setting wrong credentials. Sorry for that. 0 Write Comment First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. Comment Submit Your Comment By clicking you are agreeing to Experts Exchange's Terms of Use. Featured Post Enabling OSINT in Activity Based Intelligence Promoted by Recorded Future Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web. CONTINUE READING Suggested Solutions Title # Comments Views Activity Trying to give some css styles and better position