Discussion:
TeXLive behind proxy
(too old to reply)
Pascal Kiwitz
2018-02-08 11:36:58 UTC
Permalink
Raw Message
Dear all

How to properly use TeXLive behind a proxy?


I worked with TeXLive for many years and I'm introducing TeXLive in my new company. The company is using a proxy server.


I was able to install the TeXLive by adding the following lines of code to the install-tl-advanced.bat:

set http_proxy=http://10.2.7.11:8080

set https_proxy=http://10.2.7.11:8080


Unfortunately, I did not find a solution for using a proxy with the TeX Live Manager 2017. Neither for the LWP nor for the wget connection.


Could you tell where I have to add my proxy settings?

Would it be possible to include that as a setting in TeX Live Manager for a future release?


Thank you and best regards,


Dr. Pascal Kiwitz
Zdenek Wagner
2018-02-08 14:02:30 UTC
Permalink
Raw Message
It should be sufficient to open Control Panel / System, find Environment
variables and create new variables http_proxy and https_proxy with the
contents as you gave. I now sit at a Linux computer which does not have
Windows in a VM, so I cannot be more specific but if I remember it well,
setting of environment variables appears below Advanced.


Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2018-02-08 12:36 GMT+01:00 Pascal Kiwitz <***@outlook.com>:

> Dear all
>
> *How to properly use TeXLive behind a proxy?*
>
>
> I worked with TeXLive for many years and I'm introducing TeXLive in my new
> company. The company is using a proxy server.
>
>
> I was able to install the TeXLive by adding the following lines of code to
> the install-tl-advanced.bat:
>
> set http_proxy=http://10.2.7.11:8080
>
> set https_proxy=http://10.2.7.11:8080
>
>
> Unfortunately, I did not find a solution for using a proxy with the TeX
> Live Manager 2017. Neither for the LWP nor for the wget connection.
>
>
> Could you tell where I have to add my proxy settings?
>
> Would it be possible to include that as a setting in TeX Live Manager for
> a future release?
>
>
> Thank you and best regards,
>
>
> Dr. Pascal Kiwitz
>
>
>
David Martens
2018-02-08 15:38:30 UTC
Permalink
Raw Message
As an alternative to setting the environment variables, wget can be directly instructed to use a proxy. On my Linux laptop, it is sufficient for tlmgr that proxy has been set for wget in /etc/wgetrc . For setting up wgetrc in Windows, Google finds detailed instructions at, e.g., http://www.whitehats.ca/main/members/Malik/malik_wget_win/malik_wget_win.html . Relevant lines in wgetrc will look something like these.

# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://1.2.3.4:8080/
http_proxy = http://1.2.3.4:8080/
ftp_proxy = http://proxy.yoyodyne.com:18023/
no_proxy = localhost, 127.0.0.1
proxy_user = domain\user
proxy_password = password

# If you do not want to use proxy at all, set this to off.
use_proxy = on

-----------------------------------------

From: tex-live [mailto:tex-live-***@tug.org] On Behalf Of Zdenek Wagner
Sent: Thursday, February 08, 2018 4:03 PM
To: Pascal Kiwitz
Cc: tex-***@tug.org
Subject: Re: [tex-live] TeXLive behind proxy

It should be sufficient to open Control Panel / System, find Environment variables and create new variables http_proxy and https_proxy with the contents as you gave. I now sit at a Linux computer which does not have Windows in a VM, so I cannot be more specific but if I remember it well, setting of environment variables appears below Advanced.


Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2018-02-08 12:36 GMT+01:00 Pascal Kiwitz <***@outlook.com>:
Dear all

How to properly use TeXLive behind a proxy?

I worked with TeXLive for many years and I'm introducing TeXLive in my new company. The company is using a proxy server.

I was able to install the TeXLive by adding the following lines of code to the install-tl-advanced.bat:
set http_proxy=http://10.2.7.11:8080
set https_proxy=http://10.2.7.11:8080

Unfortunately, I did not find a solution for using a proxy with the TeX Live Manager 2017. Neither for the LWP nor for the wget connection.

Could you tell where I have to add my proxy settings?
Would it be possible to include that as a setting in TeX Live Manager for a future release?

Thank you and best regards,

Dr. Pascal Kiwitz



<table width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;">
<tr>
<td align="left" style="text-align:justify;"><font face="arial,sans-serif" size="1" color="#999999"><span style="font-size:11px;">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. </span></font></td>
</tr>
</table
Pascal Kiwitz
2018-02-09 06:35:55 UTC
Permalink
Raw Message
Dear Mr. Wagner

Thank you very much for this hint it worked perfectly.
I've spent so many hours in trying to solve this and the final solutions is so easy...

Thanks, Pascal
________________________________
From: Zdenek Wagner <***@gmail.com>
Sent: 08 February 2018 14:02
To: Pascal Kiwitz
Cc: tex-***@tug.org
Subject: Re: [tex-live] TeXLive behind proxy

It should be sufficient to open Control Panel / System, find Environment variables and create new variables http_proxy and https_proxy with the contents as you gave. I now sit at a Linux computer which does not have Windows in a VM, so I cannot be more specific but if I remember it well, setting of environment variables appears below Advanced.


Zdenìk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2018-02-08 12:36 GMT+01:00 Pascal Kiwitz <***@outlook.com<mailto:***@outlook.com>>:
Dear all

How to properly use TeXLive behind a proxy?


I worked with TeXLive for many years and I'm introducing TeXLive in my new company. The company is using a proxy server.


I was able to install the TeXLive by adding the following lines of code to the install-tl-advanced.bat:

set http_proxy=http://10.2.7.11:8080

set https_proxy=http://10.2.7.11:8080<http://10.2.7.11:8080>


Unfortunately, I did not find a solution for using a proxy with the TeX Live Manager 2017. Neither for the LWP nor for the wget connection.


Could you tell where I have to add my proxy settings?

Would it be possible to include that as a setting in TeX Live Manager for a future release?


Thank you and best regards,


Dr. Pascal Kiwitz
Loading...