Groups
Groups
Sign in
Groups
Groups
soap4r
Conversations
About
Send feedback
Help
strange Errno::ECONNREFUSED, but works fine in Rails console
13 views
Skip to first unread message
Xin
unread,
May 8, 2008, 5:21:22 PM
5/8/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to soap4r
I get this very strange connection refused error when run normally:
! CONNECT TO :0
Exception `Errno::ECONNREFUSED' at /usr/lib/ruby/gems/1.8/gems/
httpclient-2.1.2/lib/httpclient.rb:1497 - Connection refused -
connect(2)
Exception `Errno::ECONNREFUSED' at /usr/lib/ruby/gems/1.8/gems/
httpclient-2.1.2/lib/httpclient.rb:1506 - Connection refused -
connect(2) (://:0)
Exception `Errno::ECONNREFUSED' at /usr/lib/ruby/gems/1.8/gems/
httpclient-2.1.2/lib/httpclient.rb:935 - Connection refused -
connect(2) (://:0)
Exception `Errno::ECONNREFUSED' at /usr/lib/ruby/1.8/soap/
streamHandler.rb:252 - Connection refused - connect(2) (://:0)
/usr/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1497:in
`initialize': Connection refused - connect(2) (://:0)
(Errno::ECONNREFUSED)
from /usr/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:
1497:in `new'
from /usr/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:
1497:in `create_socket'
from /usr/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:
1455:in `connect'
from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
from /usr/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:
1454:in `connect'
from /usr/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:
1311:in `query'
from /usr/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:
932:in `query'
... 12 levels...
from /home/xin/apps/goldminer1.5/vendor/plugins/amazon_ecs/lib/
AWSECommerceServiceClient.rb:150:in `retrieve_items'
from /home/xin/apps/goldminer1.5/vendor/plugins/amazon_ecs/lib/
AWSECommerceServiceClient.rb:149:in `each'
from /home/xin/apps/goldminer1.5/vendor/plugins/amazon_ecs/lib/
AWSECommerceServiceClient.rb:149:in `retrieve_items'
from lib/jobs/fetch_amazon_items.rb:14
But when I run the same method in Rails console, everything is fine. I
am desperately trying to debug this.
Can anyone help at all?
Xin
Reply all
Reply to author
Forward
0 new messages