Page 1 of 1

How to setup STK to use a proxy

PostPosted: 25 Sep 2014, 19:02
by bart15
Hi all.

Running STK 0.8.1 on debian wheezy. My children can't connect to the internet without passing throught the proxy (squid + dansguardian).

The problem is that they can't get the add-ons (kart and race) without access to the internet. How can I set up the proxy parameters in STK.

Thanks for your help.

Re: How to setup STK to use a proxy

PostPosted: 26 Sep 2014, 20:02
by samuncle
Unfortunately I think it isn't possible. But it should be implemented. Maybe we should open a ticket so the upcoming version will be able to connect through a proxy.

Re: How to setup STK to use a proxy

PostPosted: 27 Sep 2014, 10:33
by hiker
Yes please, open a ticket, and tell us how you specify the proxy in your distro - I assume the settings are in some environment variables?

Cheers,
Joerg

Re: How to setup STK to use a proxy

PostPosted: 27 Sep 2014, 15:20
by acme_pjz
I think in most Linux it uses "http_proxy" environment variable, or "HTTP_PROXY", not sure... and in Windows you need to call some API to get proxy setting of Internet Explorer. IMHO the easiest way is let the user input proxy settings. ;) Assuming you are using libcurl for download, it is easy to set proxy using functions in libcurl :)

Re: How to setup STK to use a proxy

PostPosted: 08 Oct 2014, 06:49
by hiker
acme_pjz {l Wrote}:I think in most Linux it uses "http_proxy" environment variable, or "HTTP_PROXY", not sure... and in Windows you need to call some API to get proxy setting of Internet Explorer. IMHO the easiest way is let the user input proxy settings. ;) Assuming you are using libcurl for download, it is easy to set proxy using functions in libcurl :)

According to the libcurl doc, it should not be necessary to explicitly set proxy parameters, libcurls takes http_proxy etc into account (http://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html).

bart15, can you confirm that you have https_proxy defined (not only http)? And which version of libcurl is installed on your system?

Cheers,
Joerg