Seems like the DNS resolution is ok. t...@16:20:04:~>nslookup betastream.twitter.com Server: 192.168.1.1 Address: 192.168.1.1#53
Non-authoritative answer: Name: betastream.twitter.com Address: 128.242.250.199 On Dec 20, 4:16 pm, Tom van der Woerdt <i...@tvdw.eu> wrote: > You should take a look at your server's DNS settings. > > Open a terminal session and enter `nslookup betastream.twitter.com`. It > should return something like this : > > > tom-mbp:~ tom$ nslookup betastream.twitter.com > > Server: 10.0.0.138 > > Address: 10.0.0.138#53 > > > Non-authoritative answer: > > Name: betastream.twitter.com > > Address: 128.242.250.199 > > Tom > > On 12/20/10 10:12 PM, Temo wrote: > > > > > > > > > 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 tohttp://betastream.twitter.com:80with {: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