汇合红宝石
大家好,这是我使用的脚本:我从网站上得到了这个:http://confluence.atlassian .com/display/DISC/Confluence4r
我不断收到此错误
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/xmlrpc/client.rb:549:in `do_rpc': HTTP-Error: 302 Moved Temporarily (RuntimeError)
from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/xmlrpc/client.rb:420:in `call2'
from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/xmlrpc/client.rb:410:in `call'
from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/xmlrpc/client.rb:617:in `method_missing'
Hi guys this is the script im using : i got this off the site : http://confluence.atlassian.com/display/DISC/Confluence4r
I keep getting this error
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/xmlrpc/client.rb:549:in `do_rpc': HTTP-Error: 302 Moved Temporarily (RuntimeError)
from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/xmlrpc/client.rb:420:in `call2'
from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/xmlrpc/client.rb:410:in `call'
from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/xmlrpc/client.rb:617:in `method_missing'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您提供给该脚本的 URL 可能不是您的服务器为 Confluence 提供服务的 URL。通常会有像
confluence => 这样的重定向。 confluence.domain.com
,这就是 HTTP 302“错误”(这不是真正的错误,而是重定向)发生的原因。解决此问题的最简单方法是向脚本提供正确的 URL。
一种更面向未来的解决方法是从 HTTP 错误中拯救出来,并使用重定向 URL 作为服务器的 URL,然后重试。
The URL you supplied to that script is probably not the one your server is serving Confluence on. There's usually a redirection like
confluence => confluence.domain.com
, that's why the HTTP 302 "error" (it's not a real error, it's a redirection) occurs.The simplest way to solve this is to supply the correct URL to the script.
A more future proof way to solve would be rescuing from the HTTP error and use the redirect URL as the server's URL and try again.