Saturday, 15 January 2011

node.js - Too Many Redirects on OpenShift after push -



node.js - Too Many Redirects on OpenShift after push -

i have node.js application running on openshift. after testing code on local environment pushed instance on openshift. after doing so, went check changes on public site , browser reported getting many redirects. tried @ haproxy status , getting many redirects.

i have done investigation , here i've found:

i checked nodejs logs , node server started (no errors) i've ssh'd machine , ran curl -vvv $openshift_nodejs_ip:8080 , returned index.html should. when run curl -vvv http://minutepolitics-minutepolitics.rhcloud.com/ response:

response:

hostname not found in dns cache trying 54.81.203.46... connected minutepolitics-minutepolitics.rhcloud.com (54.81.203.46) port 80 (#0) / http/1.1 user-agent: curl/7.37.1 host: minutepolitics-minutepolitics.rhcloud.com accept: */* http/1.1 302 found date: thu, 23 oct 2014 03:26:06 gmt server apache/2.2.15 (red hat) not blacklisted server: apache/2.2.15 (red hat) vary: host x-powered-by: php/5.3.3 location: http://minutepolitics-minutepolitics.rhcloud.com/ connection: close accept-ranges: none content-length: 0 content-type: text/html closing connection 0

also, when ssh machine , run /etc/init.d/haproxy start output is: starting haproxy: [alert] 294/230821 (134951) : starting frontend main: cannot bind socket [failed]

from here, don't know or seek working again.

any , help apprecaited! thanks!!

node.js openshift haproxy

No comments:

Post a Comment