Jump to content

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:password@proxyserver: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:password@proxyserver: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
  • 9 months later...
On 10/20/2022 at 5:20 PM, linfanne said:

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:password@proxyserver: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


I have added my proxy in the 'go' file and I am able to CURL the .plg but get 'Network Error' everytime I try to install the plugin

Could you please confirm this is still the method for current version 6.12.3?

I created .wgetrc in root like so but this unfortunately didn't solve the issue (i have censored the proxy):
 

root@Unraid:/# cat /.wgetrc
use_proxy=yes
http_proxy=http://xxxxxxxxxxxxxxxxx:8080
https_proxy=http://xxxxxxxxxxxxxxxxx:8080
wait=10

 

I can also nslookup raw.githubusercontent.com without any issues on http and https

I have attached my diag for anyone to have a look, I have spent way to long on this :(

bhps-unraid-diagnostics-20230724-1212.zip

Link to comment
On 7/24/2023 at 12:14 PM, julzilla said:


I have added my proxy in the 'go' file and I am able to CURL the .plg but get 'Network Error' everytime I try to install the plugin

Could you please confirm this is still the method for current version 6.12.3?

I created .wgetrc in root like so but this unfortunately didn't solve the issue (i have censored the proxy):
 

root@Unraid:/# cat /.wgetrc
use_proxy=yes
http_proxy=http://xxxxxxxxxxxxxxxxx:8080
https_proxy=http://xxxxxxxxxxxxxxxxx:8080
wait=10

 

I can also nslookup raw.githubusercontent.com without any issues on http and https

I have attached my diag for anyone to have a look, I have spent way to long on this :(

bhps-unraid-diagnostics-20230724-1212.zip 66.32 kB · 0 downloads

 

UPDATE:

I have fixed the issue (this is working in a Victorian School with eduProxy for all the ST players here):
 

 

Edited by julzilla
Link to comment
  • 3 months later...

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.

×
×
  • Create New...