# Shoes: problem with http proxy

**URL:** <https://www.ruby-forum.com/t/shoes-problem-with-http-proxy/149807>\
**Category:** Ruby\
**Created:** [September 30, 2008, 1:49am UTC](https://www.ruby-forum.com/t/shoes-problem-with-http-proxy/149807 "2008-09-30T01:49:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![raffaboss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5a626/32.png) [@raffaboss](https://www.ruby-forum.com/u/raffaboss)\
**Post date:** [September 30, 2008, 1:49am UTC](https://www.ruby-forum.com/t/shoes-problem-with-http-proxy/149807/1 "2008-09-30T01:49:32Z")

</div>

I’ve problem to do remote (internet) operations in the Shoes graphics  
toolkit when i’m behind a proxy (gem/download/… shoes methods).  
The pc i use at work is a winXp machine, i set the ‘http\_proxy’ env  
variable correctly (outside shoes [eg. gem install xxx] is ok).  
Ideas?

---

<div class="post-metadata">

**Author:** ![raffaboss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5a626/32.png) [@raffaboss](https://www.ruby-forum.com/u/raffaboss)\
**Post date:** [September 30, 2008, 7:31pm UTC](https://www.ruby-forum.com/t/shoes-problem-with-http-proxy/149807/2 "2008-09-30T19:31:48Z")

</div>

On Tue, Sep 30, 2008 at 08:48:37AM +0900, Raffaele Tesi wrote:

> I’ve problem to do remote (internet) operations in the Shoes graphics  
> toolkit when i’m behind a proxy (gem/download/… shoes methods).  
> The pc i use at work is a winXp machine, i set the ‘http\_proxy’ env  
> variable correctly (outside shoes [eg. gem install xxx] is ok).

Shoes uses WinHTTP, so I’ll have to write some code for that. While  
I’m there, do you think it would be more convenient to use IE’s  
proxy settings?

\_why

---

<div class="post-metadata">

**Author:** ![raffaboss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5a626/32.png) [@raffaboss](https://www.ruby-forum.com/u/raffaboss)\
**Post date:** [September 30, 2008, 9:22pm UTC](https://www.ruby-forum.com/t/shoes-problem-with-http-proxy/149807/3 "2008-09-30T21:22:57Z")

</div>

mmm, i think http\_proxy env var would be preferable:

- uniformity (i see ruby uses this env variable all around);
- avoid NTLM hell (demanding tools like cntlm the frucking  
proto-normalization stuff)

thanks

\_why wrote:

> On Tue, Sep 30, 2008 at 08:48:37AM +0900, Raffaele Tesi wrote:
> 
> > I’ve problem to do remote (internet) operations in the Shoes graphics  
> > toolkit when i’m behind a proxy (gem/download/… shoes methods).  
> > The pc i use at work is a winXp machine, i set the ‘http\_proxy’ env  
> > variable correctly (outside shoes [eg. gem install xxx] is ok).
> 
> Shoes uses WinHTTP, so I’ll have to write some code for that. While  
> I’m there, do you think it would be more convenient to use IE’s  
> proxy settings?
> 
> \_why

---

<div class="post-metadata">

**Author:** ![raffaboss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b5a626/32.png) [@raffaboss](https://www.ruby-forum.com/u/raffaboss)\
**Post date:** [October 1, 2008, 5:57am UTC](https://www.ruby-forum.com/t/shoes-problem-with-http-proxy/149807/4 "2008-10-01T05:57:03Z")

</div>

On Wed, Oct 01, 2008 at 04:21:54AM +0900, Raffaele Tesi wrote:

> mmm, i think http\_proxy env var would be preferable:
> 
> - uniformity (i see ruby uses this env variable all around);
> - avoid NTLM hell (demanding tools like cntlm the frucking  
> proto-normalization stuff)

Okay, I just committed this. A new build for Windows should be out  
soon, keep your eyes on the shoes blog. [http://newwws.shoooes.net](http://newwws.shoooes.net)

\_why
