Trial cannot connect through web proxy


Recommended Posts

I'm trying to get a Trial of unRAID setup and it requires an internet connection. All of my internet traffic goes through a proxy.

 

How do I get unRAID setup to connect through a proxy server? (export https_proxy...)

Is there a service or config file I need to change somewhere?

Link to comment
  • Memento changed the title to Trial cannot connect through web proxy
  • 5 months later...
On 3/2/2018 at 2:43 PM, Memento said:

I'm trying to get a Trial of unRAID setup and it requires an internet connection. All of my internet traffic goes through a proxy.

 

How do I get unRAID setup to connect through a proxy server? (export https_proxy...)

Is there a service or config file I need to change somewhere?

 

I've asked as well, no help so far ?

Link to comment
  • 3 weeks later...

Here's something to try.  Edit your 'config/go' file and change this line:

/usr/local/sbin/emhttp &

to:

http_proxy=http://proxyserver:port /usr/local/sbin/emhttp &

Of course substitute proxyserver:port with your actual proxy server/port URL.

 

If you need to specify a username/password, use:

http_proxy=http://username:[email protected]:port /usr/local/sbin/emhttp &

Again substituting your actual username:password.  Note: you have to url-encode username or password if it uses symbols (e.g. @ --> %40).

 

For https, use HTTPS_PROXY (all caps) instead.  It should be possible to specify both http_proxy and HTTPS_PROXY but everything has to be on the same line.

 

Refer also to: https://superuser.com/questions/944958/are-http-proxy-https-proxy-and-no-proxy-environment-variables-standard

 

  • Like 1
Link to comment
  • 4 years later...
  • 2 weeks later...

I solved this finally , in download or check update in CA case, the dynamix plugin manage use wget to download file,

it seems http_proxy=http://username:[email protected]:port /usr/local/sbin/emhttp & can't effect it.

so ,the method is , create a new file .wgetrc in /root and the content is

use_proxy=yes
http_proxy=http://10.0.0.2:7890
https_proxy=http://10.0.0.2:7890
wait=10

, it works for me , on unraid 6.11.1.  @zestyboy

Edited by linfanne
  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.