Page 1 of 1

Can't connect to Internet via Proxy

Posted: Mon Dec 03, 2018 7:04 am
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  :)

RE: Can't connect to Internet via Proxy

Posted: Mon Dec 03, 2018 8:44 am
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

RE: Can't connect to Internet via Proxy

Posted: Tue Dec 04, 2018 4:19 am
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";

RE: Can't connect to Internet via Proxy

Posted: Tue Dec 04, 2018 10:54 am
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

RE: Can't connect to Internet via Proxy

Posted: Wed Dec 05, 2018 3:30 am
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

RE: Can't connect to Internet via Proxy

Posted: Tue Dec 11, 2018 10:18 am
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