JFYI I found out that the proxy configuration is handled a bit differently in Ruby than in other tools like curl or wget.
The problem is in handling the "no_proxy" environment variable. Ruby does not ignore spaces and does not treat the values with a leading dot as domain names.
Basically instead of no_proxy="localhost, 127.0.0.1, foo.bar.com, .example.com" you should use no_proxy="localhost,127.0.0.1,foo.bar.com,.example.com,example.com".
See more details at https://github.com/yast/yast-registration/wiki/Proxy-Configuration-Issues
(Originally reported as bug https://bugzilla.suse.com/show_bug.cgi?id=969237.)
So if you see some proxy issues with Ruby then check the "no_proxy" value.
Just be aware of that difference...
Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 firstname.lastname@example.org SUSE