From: Chris Roos Date: 2006-10-20T22:43:21+09:00 Subject: Re: Having trouble connecting to a site via net/http On 10/20/06, jakattack2@gmail.com wrote: > I tried the code that you suggest and I get the following error > messages. The error seems to be thrown on this line > > response = http.get('/') > > Janak > > # Error messages > c:/ruby/lib/ruby/1.8/net/http.rb:565:in `connect': undefined method > `verify_mode' for nil:NilClass (NoMethodError) > from c:/ruby/lib/ruby/1.8/net/http.rb:555:in `do_start' > from c:/ruby/lib/ruby/1.8/net/http.rb:544:in `start' > from c:/ruby/lib/ruby/1.8/net/http.rb:1031:in `request' > from c:/ruby/lib/ruby/1.8/net/http.rb:771:in `get' > from adtest.rb:32 > Did you require net/https (NOT net/http)? Chris