# HTTP proxy problem

**URL:** <https://rubytalk.org/t/http-proxy-problem/18832>\
**Category:** ruby-talk\
**Created:** [7 June 2005 09:29 UTC](https://rubytalk.org/t/http-proxy-problem/18832 "2005-06-07T09:29:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujeet\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@sujeet\_kumar](https://rubytalk.org/u/sujeet_kumar)\
**Post date:** [7 June 2005 09:29 UTC](https://rubytalk.org/t/http-proxy-problem/18832/1 "2005-06-07T09:29:45Z")

</div>

Hi  
&nbsp;&nbsp;My demo ruby applet is not able to reach internet.I am a student  
and use proxy to reach nternet.I have provided a username and  
password to reach internet.Mozilla is able to reach internet just fine  
using specified proxy, but my demo ruby applet not. In mozilla i have  
to bypass some proxyies.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How to reach internet with my Ruby applet.

regards  
sujeet

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://rubytalk.org/u/Robert)\
**Post date:** [7 June 2005 12:01 UTC](https://rubytalk.org/t/http-proxy-problem/18832/2 "2005-06-07T12:01:48Z")

</div>

sujeet kumar wrote:

> Hi  
> &nbsp;&nbsp;My demo ruby applet is not able to reach internet.

Since when are there Ruby applets?

> I am a student  
> and use proxy to reach nternet.I have provided a username and  
> password to reach internet.Mozilla is able to reach internet just fine  
> using specified proxy, but my demo ruby applet not. In mozilla i have  
> to bypass some proxyies.  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How to reach internet with my Ruby applet.

Maybe you are on Windows and your proxy needs NTLM authentication. Dunno  
whether that's possible with Net::HTTP but I guess rather not.

Kind regards

&nbsp;&nbsp;&nbsp;&nbsp;robert

---

<div class="post-metadata">

**Author:** ![Anonymous\_Coward](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Anonymous\_Coward](https://rubytalk.org/u/Anonymous_Coward)\
**Post date:** [7 June 2005 13:18 UTC](https://rubytalk.org/t/http-proxy-problem/18832/3 "2005-06-07T13:18:20Z")

</div>

> sujeet kumar wrote:
> 
> > Hi  
> > &nbsp;&nbsp;My demo ruby applet is not able to reach internet.
> 
> Since when are there Ruby applets?
> 
> > I am a student  
> > and use proxy to reach nternet.I have provided a username and  
> > password to reach internet.Mozilla is able to reach internet just fine  
> > using specified proxy, but my demo ruby applet not. In mozilla i have  
> > to bypass some proxyies.  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How to reach internet with my Ruby applet.
> 
> Maybe you are on Windows and your proxy needs NTLM authentication. Dunno  
> whether that's possible with Net::HTTP but I guess rather not.

Perhaps he is not using the \_ruby\_ proxy?

sujeet, could you include more information, are you using Net::HTTP  
or some other method of accessing the Internet? There is a specific  
way of HTTP access through proxy, see Net::HTTP.Proxy for information[1].

> Kind regards
> 
> &nbsp;&nbsp;&nbsp;robert

E

[1]  
[http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html#M000045](http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html#M000045)

> **···**
>
> Le 7/6/2005, "Robert Klemme" \<bob.news@gmx.net\> a écrit:
> 
> --  
> template\<typename duck\>  
> void quack(duck& d) { d.quack(); }
