Can't connect to Internet via Proxy

Found something amiss in NEMS? Confirm first that you are running the latest version, and then post your bug report here.
Post Reply
DamageHero
Junior Member
Posts: 5
Joined: Mon Dec 03, 2018 6:59 am

Can't connect to Internet via Proxy

Post by DamageHero »

Hello  :)

In order to do the initial sudo nems-init I need an internet connection.
I have a proxy setup and put the proxy into /etc/environment and /etc/apt/apt.conf.d/proxy10 but it still does not work. 
I can ping Google, I can ping 8.8.8.8, I can ping local devices but I cannot run sudo nems-init in order to update nems.

Seems like NEMS does not use the Proxy I've set up. Any suggestion?

Kind Regards, DamageHero  :)
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: Can't connect to Internet via Proxy

Post by Robbie Ferguson »

Interesting. Thanks for letting me know.

Could you please send me a copy of your proxy config files so I can review and see what needs to happen to patch it for you?

Please run sudo nems-support

Then follow the directions there and also attach your config files.

Thanks,
Robbie
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
DamageHero
Junior Member
Posts: 5
Joined: Mon Dec 03, 2018 6:59 am

RE: Can't connect to Internet via Proxy

Post by DamageHero »

Thanks for your reply Robbie  :)


/etc/apt/apt.conf.d/10proxy

Acquire::http: :P roxy "http://proxy.fqdn:8080";
_______________________

/etc/environment

export http_proxy"=http://proxy.fqdn:8080";
Last edited by DamageHero on Tue Dec 04, 2018 4:21 am, edited 1 time in total.
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: Can't connect to Internet via Proxy

Post by Robbie Ferguson »

Thank you.
As I obviously do not have proxy.fqdn, please let me know if you would be willing to allow me SSH access to your NEMS server. Email me [email protected] and we can go from there.

If I can correct this for your NEMS server, it will help others who may have a similar issue.

And of course, I am happy to fix it for you, but it would be difficult and time consuming for me to emulate the same setup.

Thanks,
Robbie
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
DamageHero
Junior Member
Posts: 5
Joined: Mon Dec 03, 2018 6:59 am

RE: Can't connect to Internet via Proxy

Post by DamageHero »

I see. Thank you very much!

Sadly I can't give you access the NEMS Server or hand out more information, since I work for a slightly bigger company where this is simply not allowed due to security reasons.

I just went the other way around and did nems-init with a proxy-free-internetconnection and put it on our proxy-neccessary-network afterwards.

Kind Regards,

DamageHero
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: Can't connect to Internet via Proxy

Post by Robbie Ferguson »

My only concern there is that the problem is still not fixed. The same script that prevented nems-init from working behind your proxy will also prevent other scripts from being able to run. Do you expect to be signing up for offsite backup service? This would be the big one that I'd be concerned about (it won't detect your Internet connection thanks to the way your Proxy is setup)... so I may have to do some testing and rework that section of code for cases such as yours.

Let me know. I'd appreciate it since presumably others would have proxies and could be affected.

Thanks,
Robbie
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
Post Reply