Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
OpenShift rhc应用程序创建(错误号::EMSGSIZE)_Openshift_Openshift Client Tools - Fatal编程技术网

OpenShift rhc应用程序创建(错误号::EMSGSIZE)

OpenShift rhc应用程序创建(错误号::EMSGSIZE),openshift,openshift-client-tools,Openshift,Openshift Client Tools,我想使用以下教程创建WebSocket java应用程序:。我创建了帐户,安装了ruby,git,rhc,成功登录,创建了密钥,域。我应该创建一个应用程序rhc应用程序创建wildfly diy命令导致错误,此控制台输出: Using diy-0.1 (Do-It-Yourself 0.1) for 'diy' Application Options ------------------- Domain: weedteam Cartridges: diy-0.1 Gear Size:

我想使用以下教程创建WebSocket java应用程序:。我创建了帐户,安装了ruby,git,rhc,成功登录,创建了密钥,域。我应该创建一个应用程序<代码>rhc应用程序创建wildfly diy命令导致错误,此控制台输出:

Using diy-0.1 (Do-It-Yourself 0.1) for 'diy'
Application Options
-------------------
Domain:     weedteam
Cartridges: diy-0.1
Gear Size:  default
Scaling:    no

Creating application 'wildfly' ... done

  Disclaimer: This is an experimental cartridge that provides a way to try unsupported languages, frameworks, and middleware on OpenShift.

    Waiting for your DNS name to be available ... D:/Ruby22/lib/ruby/2.2.0/resolv.rb
:759:in `recvfrom': Komunikat wys│any na gniazdo datagramu by│ wiŕkszy ni┐ wewnŕ
trzny bufor lub przekracza│ inny sieciowy limit albo bufor u┐ywany do odbierania
 datagramˇw by│ mniejszy ni┐ sam datagram. - recvfrom(2) (Errno::EMSGSIZE)
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:759:in `recv_reply'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:690:in `request'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:528:in `block in fetch_resource'

        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1096:in `block (3 levels) in res
olv'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1094:in `each'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1094:in `block (2 levels) in res
olv'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1093:in `each'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1093:in `block in resolv'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1091:in `each'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1091:in `resolv'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:519:in `fetch_resource'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:509:in `each_resource'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:500:in `getresources'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/helpers.rb:43
4:in `host_exists?'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:675:in `block in dns_propagated?'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:674:in `upto'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:674:in `dns_propagated?'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:201:in `block in create'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/highline_exte
nsions.rb:190:in `call'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/highline_exte
nsions.rb:190:in `section'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/highline_exte
nsions.rb:204:in `paragraph'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/helpers.rb:33
7:in `block (2 levels) in <module:Helpers>'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:199:in `create'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands.rb:2
94:in `execute'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands.rb:2
85:in `block (3 levels) in to_commander'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/co
mmand.rb:180:in `call'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/co
mmand.rb:180:in `call'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/co
mmand.rb:155:in `run'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/ru
nner.rb:419:in `run_active_command'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/command_runne
r.rb:72:in `run!'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/de
legates.rb:8:in `run!'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/cli.rb:37:in
`start'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/bin/rhc:20:in `<top (
required)>'
        from D:/Ruby22/bin/rhc:23:in `load'
        from D:/Ruby22/bin/rhc:23:in `<main>'

cd-wildfly
不工作,
rhc-app-stop--app-wildfly
停止app(应该停止),另外两个命令找不到repo。我认为这是因为createapp命令应该做更多的事情,但它被这个错误打断了。我错了吗?如何阻止此错误发生?

我看到您正在Windows计算机上运行Ruby 2.2.0版的
rhc
。这是一个臭名昭著的组合。尝试切换到Ruby 1.9.3并重新安装rhc.Thx以获得回复。我卸载了gems,卸载了ruby 2.2.0,安装了ruby 1.9.3,安装了rhc,出现了相同的错误。在继续之前,请尝试直接
git clone
修复您的本地git。您能将该错误翻译成英文吗?这可能会帮助我们帮助你。@VilibaldW。W.我使用了
rhc git克隆-一个应用程序名
,它被成功克隆。然而,在使用本教程本节中的所有命令之后,我得到了503个错误。
$ cd wildfly
$ rhc app stop --app wildfly
$ git rm diy/index.html
$ git rm diy/testrubyserver.rb