From: "QUEISSER,ANDREW (HP-Corvallis,ex1)" Date: 2002-04-18T01:18:28+09:00 Subject: RE: HTTP-Access2 problem (was Ruby Google problem) Problem fixed, I was using the wrong proxy port. Our server is at 8088, not 8080. Everything is working fine now, including google api. Kind of embarrassing but in the process of finding this simple problem I figured out how to build Ruby under Windows and use the debugger. Thanks all, Andrew > -----Original Message----- > From: QUEISSER,ANDREW (HP-Corvallis,ex1) > [mailto:andrew_queisser@hp.com] > Sent: Wednesday, April 17, 2002 8:17 AM > To: ruby-talk@ruby-lang.org > Subject: RE: HTTP-Access2 problem (was Ruby Google problem) > > > NaHi, > > Here's what I get for your example below. I'm on Windows so I > assume I need to do > > set HTTP_PROXY=http://web-proxy.cv.hp.com:8080 > > I did trace into the http-access2.rb module far enough to see > that the proxy string is indeed picked up from the environment > but then I lost track of what's going on in detail. It looks > like some kind of parsing problem but I need to take the time > to understand the http-access2 code a little more before I can > really debug what's going on. > > Andrew > > F:\rubystuff\http-access2_D\sample>ruby -w wcat.rb > http://api.google.com/search/beta2 > ../lib/http-access2.rb:683: warning: already initialized > constant Errno > ../lib/http-access2.rb:683:in `new': Unknown Error - > "connect(2)" (Errno::E10061 > ) > from ../lib/http-access2.rb:683:in `initialize' > from ../lib/http-access2.rb:763:in `new' > from ../lib/http-access2.rb:763:in `connect' > from ../lib/http-access2.rb:762:in `timeout' > from ../lib/http-access2.rb:762:in `connect' > from ../lib/http-access2.rb:569:in `query' > from ../lib/http-access2.rb:444:in `query' > from ../lib/http-access2.rb:171:in `request' > from ../lib/http-access2.rb:161:in `get' > from wcat.rb:16 >