Description of problem: Cannot port-forward for MySQL database ports on scaling app Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. gem update rhc 2. 3. Actual results: C:\Users\SHAMS>rhc port-forward -a www -d DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api DEBUG: Getting all domains Password: ******** DEBUG: Getting all domains DEBUG: Finding domain shamsmobi DEBUG: Getting all domains DEBUG: Finding application :name => www, :framework => DEBUG: Getting all applications for domain shamsmobi Using ssh://51cde8975973ca2b4700001f.com... Checking available ports... DEBUG: #<RHC::Commands::ForwardingSpec:0x1f0b738> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f0b048> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f0a9a0> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f0a250> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f09ce0> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f09740> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f17570> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f16f28> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f16898> DEBUG: #<RHC::Commands::ForwardingSpec:0x1f161a8> Forwarding ports DEBUG: ["127.7.174.2", 8080, "127.7.174.2", 8080] DEBUG: ["127.7.174.3", 8080, "127.7.174.3", 8080] DEBUG: ["127.7.174.1", 3528, "127.7.174.1", 3528] DEBUG: ["127.7.174.1", 4447, "127.7.174.1", 4447] DEBUG: ["127.7.174.1", 5445, "127.7.174.1", 5445] DEBUG: ["127.7.174.1", 5455, "127.7.174.1", 5455] DEBUG: ["127.7.174.1", 8080, "127.7.174.1", 8080] DEBUG: ["127.7.174.1", 9990, "127.7.174.1", 9990] DEBUG: ["127.7.174.1", 9999, "127.7.174.1", 9999] DEBUG: ["51cdeba2e0b8cd67a8000030-shamsmobi.rhcloud.com", 43436, "51cdeba2e0b8cd67a8000030-shamsmobi.rhcloud.com", 43436] Service Connect to Forward to ======= ================ ==== ================ haproxy 127.7.174.2:8080 => 127.7.174.2:8080 haproxy 127.7.174.3:8080 => 127.7.174.3:8080 java 127.7.174.1:3528 => 127.7.174.1:3528 java 127.7.174.1:4447 => 127.7.174.1:4447 java 127.7.174.1:5445 => 127.7.174.1:5445 java 127.7.174.1:5455 => 127.7.174.1:5455 java 127.7.174.1:8080 => 127.7.174.1:8080 java 127.7.174.1:9990 => 127.7.174.1:9990 java 127.7.174.1:9999 => 127.7.174.1:9999 Error forwarding some port(s). You can try to forward manually by running: ssh -N -L 51cdeba2e0b8cd67a8000030-shamsmobi.rhcloud.com:43436:51cdeba2e0b8cd67a8000030-shamsmobi.rhcloud.com:43436 51cde8975973ca2b4700001f.com Expected results: Additional info:
This was reproducible on version 1.4.8 of the rhc gem but is no longer reproducible from version 1.5.13 and up. Based on changes to the way we format the output of the port-forwarding results, it does not like look you have 1.5.13 or later. Please install the latest rhc gem (currently at 1.10.7). To check your rhc version run: gem rhc list *** This bug has been marked as a duplicate of bug 907742 ***