From: Joe Mitchell Date: 2005-05-05T06:54:55+09:00 Subject: HTTP Proxy problem I'm having trouble getting Proxy to work properly within our corporate firewall. I've validated the proxy settings. Mozilla is able to reach the Internet just fine using the specified proxy, but my demo Ruby app is not. Also, I noticed that I was not able to reach a site within the firewall unless I specified the IP address rather than the URL. I've done some sniffing through the stack using the debugger, and the correct URL seems to be passed down through it. Any suggestions as to what configuration settings I should check or what to watch for in the stack would be welcome. Here is what I'm running: require 'net/http' h = Net::HTTP::Proxy('http://proxy-sd.am.sony.com/proxy/proxy.pac',8080) #h.start('http://www.pragmaticprogrammer.com') do |http| #doesn't work h.start(URI.parse('http://www.pragmaticprogrammer.com')) do |http| response = h.get('/index.htm') if response.message =="OK" puts response.body.scan(/