Hide Forgot
Description of problem: Create some apps in INT and visit the app via 8000/8443 port. 8000/8443 port is not available. Create apps on devenv 3966, both 8000 and 8443 port is OK. Version-Release number of selected component (if applicable): INT(devenv_3965) How reproducible: Always Steps to Reproduce: 1. create some apps 2. visit the app in web by https://$app-url:8443 http://$app-url:8000 Actual results: 8000/8443 port is not available Expected results: 8000/8443 port should be available
DEBUG: Starting child process with 'node /usr/lib/node_modules/openshift-node-web-proxy/bin/web-proxy.js --config /etc/openshift/web-proxy-config.json' 1383142532792:ERROR:[30/Oct/2013:10:15:32 -0400] - Failed to load proxy config file '/etc/openshift/web-proxy-config.json - SyntaxError: /etc/openshift/web-proxy-config.json: Unexpected string /usr/lib/node_modules/openshift-node-web-proxy/lib/proxy/ProxyServer.js:48 throw new Error("Failed to load proxy config file '" + f + ' - ' + err); ^ Error: Failed to load proxy config file '/etc/openshift/web-proxy-config.json - SyntaxError: /etc/openshift/web-proxy-config.json: Unexpected string at _load_config (/usr/lib/node_modules/openshift-node-web-proxy/lib/proxy/ProxyServer.js:48:11) at new ProxyServer (/usr/lib/node_modules/openshift-node-web-proxy/lib/proxy/ProxyServer.js:691:19) at Object.<anonymous> (/usr/lib/node_modules/openshift-node-web-proxy/bin/web-proxy.js:26:20) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:901:3 DEBUG: Program node /usr/lib/node_modules/openshift-node-web-proxy/bin/web-proxy.js --config /etc/openshift/web-proxy-config.json exited with code 8 DEBUG: Starting child process with 'node /usr/lib/node_modules/openshift-node-web-proxy/bin/web-proxy.js --config /etc/openshift/web-proxy-config.json' [root node-web-proxy]# cat /etc/openshift/web-proxy-config.json { "help": { "loggers" : { "description": "Dictionary of the loggers", "file" : "Log file name", "rollover": { "description" : "Log rollover configuration", "max-size-bytes": "Max size of file in bytes (TODO)", "frequency" : [ "How often log files are rotated. One of: ", "off, daily, 1day, 2days, 3days, 4days, 5days, ", "7days, weekly" ], "suffix" : "Rolled over log file suffix", "max-retention" : "How many rolled over copies to retain" } }, "pidfile": "PID file location - write server pid to this file", "routes": { "description": "Dictionary for configuration of routes", "files" : [ "List of files/single file that contains the ", "routing information" ], "cmd" : [ "External system command to run to get a list of ", "1 or more files containing the routing info"], "redirect404": "Redirect URI to use if there is no route" }, "servers": { "description" : "Dictionary of all the 'servers' we run", "max_connections": [ "Max number of simultaneous connections per server.", "Use 0 for unlimited connections." ], "ports" : "List of ports/single port a specific server binds to", "protocol" : "Protocol a specific server supports", "routes" : { "description": "Routes configuration", "files": "One or more JSON files containing the routes", "cmd": [ "External command to run to get a list of files ", "containing the routes" ] }, "ssl" : { "description": "SSL server configuration", "certificate": "Certificate file - used for security negotiations", "private_key": "Private key associated with the Certificate" } }, "timeouts" : { "description": "Timeout settings in seconds", "connect" : "Connection timeout to backend servers.", "check" : [ "Backend server check interval. Controls how often ", "we check routing to a previously assumed down ", "backend server." ], "io" : "Client IO - really timeouts reading from clients", "keep-alive" : "Keep-Alive idle (no traffic) timeout", "websockets" : "WebSocket idle (no traffic) timeout" } }, "loggers": { "access.log": { "file" : "/var/log/node-web-proxy/access.log", "rollover": { "frequency" : "off", "suffix" : "%F", "max-retention" : 7 } }, "error.log": { "file" : "/var/log/node-web-proxy/error.log", "rollover": { "max-size-bytes" : "TODO-add-support", "frequency" : "off", "suffix" : "%F", "max-retention" : 7 } }, "websockets.log": { "file" : "/var/log/node-web-proxy/websockets.log", "rollover": { "frequency" : "off", "suffix" : "%F", "max-retention" : 7 } } }, "pidfile": "/var/run/openshift-node-web-proxy.pid", "runas": { "user": "apache", "group": "apache" }, "routes": { "cmd" : "/usr/bin/node-find-proxy-route-files", "redirect404": "https://openshift.redhat.com/app" }, "servers": { "nonsecure_http_proxy": { "max_connections": 4096, "host" : "10.101.29.24" "ports" : [ 8000 ], "protocol" : "http" }, "secure_http_proxy": { "max_connections": 4096, "ports" : [ 8443 ], "host" : "10.101.29.24" "protocol" : "https", "ssl" : { "ca" : "/etc/pki/tls/certs/rhcloud.com-chain.crt", "certificate": "/etc/pki/tls/certs/rhcloud.com.crt", "private_key": "/etc/pki/tls/private/rhcloud.com.key" } } }, "timeouts": { "description": [ "Timeout values are all specified in seconds" ], "connect" : 10, "io" : 300, "keep-alive" : 60, "websockets" : 3600 } }
Fixed in INT
Test in INT(devenv_3971) Both 8000 and 8443 port are available for apps. Move to verified.