Openshift rhc setup "The OpenShift server is not responding correctly."

7.1k Views Asked by At

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?

2

There are 2 best solutions below

2
AudioBubble On

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

2
Manmeet S. Oberoi On

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