I'm using ruby event machine to connect to sitestreams - and am unable
to even connect to the betastream server - any help would be
appreciated.

connecting to http://betastream.twitter.com:80 with {:path=>"/2b/
site.json", :proxy=>nil, :content=>"follow=1,2,3,4,5", :timeout=>0, 
:method=>"GET", :content_type=>"application/
x-www-form-urlencoded", :host=>"http://
betastream.twitter.com", :port=>80, :ssl=>false, :auth=>"login:password", 
:user_agent=>"TwitterStream"}
EventMachine::ConnectionError: unable to resolve server address
        from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:714:in `connect_server'
        from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:714:in `bind_connect'
        from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:692:in `connect'
        from /opt/local/lib/ruby/gems/1.8/gems/twitter-stream-0.1.6/
lib/twitter/json_stream.rb:56:in `connect'
        from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb:
5
        from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:256:in `call'
        from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:256:in `run_machine'
        from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:256:in `run'
        from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb:
4
        from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:142:in
`load_without_new_constant_marking'
        from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:142:in `load'
        from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
        from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:142:in `load'
        from (irb):13

best, Temo

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to