switchboard disco --target pubsub.im.wordpress.com info
Results in...
Shutdown initiated.
/opt/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:66:in initialize': Connection refused - connect(2) (Errno::ECONNREFUSED) from /opt/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:66:innew'
from /opt/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:66:in connect' from /opt/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:70:inconnect'
from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/client.rb:43:in connect!' from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/core.rb:254:instartup'
from /opt/local/lib/ruby/1.8/timeout.rb:62:in timeout' from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/core.rb:251:instartup'
from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/core.rb:71:in run!' from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/commands/disco/info.rb:34:inrun!'
from ./switchboard:7
Quick debug shows that 'hostname' is picked up as a newline.
switchboard disco --target pubsub.im.wordpress.com info
Results in...
Shutdown initiated. /opt/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:66:in
initialize': Connection refused - connect(2) (Errno::ECONNREFUSED) from /opt/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:66:in
new' from /opt/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:66:inconnect' from /opt/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:70:in
connect' from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/client.rb:43:inconnect!' from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/core.rb:254:in
startup' from /opt/local/lib/ruby/1.8/timeout.rb:62:intimeout' from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/core.rb:251:in
startup' from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/core.rb:71:inrun!' from /opt/local/lib/ruby/gems/1.8/gems/switchboard-0.1.0/lib/switchboard/commands/disco/info.rb:34:in
run!' from ./switchboard:7Quick debug shows that 'hostname' is picked up as a newline.