13

I would like to setup access to my open shift application. I have rhc client installed and wanted to run

rhc setup

I'm asked about providing server hostname:

Enter the server hostname: |openshift.redhat.com|

so I enter the hostname of my application: http://blog-trampkiwpodrozy.rhcloud.com

Unfortunately, I'm getting the following error message:

The OpenShift server is not responding correctly. Check that 'http://blog-trampkiwpodrozy.rhcloud.com/broker/rest/api' is the correct URL for your server. The server may be offline or misconfigured

Any ideas how to deal with this?

timo.rieber
  • 3,727
  • 3
  • 32
  • 47
Jakub
  • 3,129
  • 8
  • 44
  • 63

2 Answers2

22

You need to accept the default server hostname, run rhc setup again and use openshift.redhat.com not your application url.

  • The thing is that I have already one application configured and when I don't pass the hostname the token for the other application is used. So any ideas how to configure the second application? – Jakub Dec 22 '14 at 15:52
  • Re-run rhc setup, and use openshift.redhat.com. You are probably inside the cloned directory so it automatically uses that application. –  Dec 22 '14 at 18:43
10

In case you are setting up with openshift

Just press enter.(it will take openshift.redhat.com as input)

After pressing enter, you and get the option to enter login username & password, as mentioned in the Docs

Follow these steps:

https://developers.openshift.com/en/getting-started-windows.html

Manmeet S. Oberoi
  • 1,082
  • 1
  • 17
  • 29