2015-05-15 6 views
1

Я устанавливаю клиентские инструменты в Windows.Настройка rhc - Не удается подключиться к серверу

Я успешно завершил команду -> драгоценный камень установки RHC

Следующий шаг ->установка RHC

Я использую сервер по умолчанию, но получаю ниже ошибки:

C:\>rhc setup --debug 
DEBUG: Using config file Y:/.openshift/express.conf 
DEBUG: Running greeting_stage 
OpenShift Client Tools (RHC) Setup Wizard 

This wizard will help you upload your SSH keys, set your application namespace, 
and check that other programs like Git are properly installed. 
DEBUG: Running server_stage 

If you have your own OpenShift server, you can specify it now. Just hit enter to 

use the server for OpenShift Online: openshift.redhat.com. 
Enter the server hostname: |openshift.redhat.com| 

You can add more servers later using 'rhc server'. 
DEBUG: Running login_stage 
DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api 
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7 
DEBUG: Created new httpclient 
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api 

Unable to connect to the server (getaddrinfo: No such host is known. 
(https://openshift.redhat.com:443)). Check that you have correctly specified 
your OpenShift server 'https://openshift.redhat.com/broker/rest/api'. 

Версия для печати: 1.9.3p551

Обратите внимание: я за прокси-сервером.

ответ

2

После такого количества RnD я решил проблему с прокси-сервером.

установить прокси перед запуском 'rhc setup'.

set HTTP_PROXY=http://username:[email protected]:port 
+0

После установки прокси я получаю это сообщение: «У вас нет разрешения на выполнение этой операции». Любая идея, что происходит? Благодарю. – dcalap

3

Отключите все серверы, такие как Apache, XAMP и WAMP.

->rehit the command in cmd 'rhc setup'. 
->It ask for personal server or hostname simply press ENTER for default. 
->then it ask for 'openshift login' 
+0

Работайте для меня. Спасибо –

Смежные вопросы