{"action":"created","issue":{"url":"https://api.github.com/repos/liedekef/spacewalk_scripts/issues/26","labels_url":"https://api.github.com/repos/liedekef/spacewalk_scripts/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/liedekef/spacewalk_scripts/issues/26/comments","events_url":"https://api.github.com/repos/liedekef/spacewalk_scripts/issues/26/events","html_url":"https://github.com/liedekef/spacewalk_scripts/issues/26","id":101375833,"number":26,"title":"Proxy seems not working on CentOS7","user":{"login":"snahelou","id":528345,"avatar_url":"https://avatars.githubusercontent.com/u/528345?v=3","gravatar_id":"","url":"https://api.github.com/users/snahelou","html_url":"https://github.com/snahelou","followers_url":"https://api.github.com/users/snahelou/followers","following_url":"https://api.github.com/users/snahelou/following{/other_user}","gists_url":"https://api.github.com/users/snahelou/gists{/gist_id}","starred_url":"https://api.github.com/users/snahelou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snahelou/subscriptions","organizations_url":"https://api.github.com/users/snahelou/orgs","repos_url":"https://api.github.com/users/snahelou/repos","events_url":"https://api.github.com/users/snahelou/events{/privacy}","received_events_url":"https://api.github.com/users/snahelou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-17T09:16:51Z","updated_at":"2015-08-17T10:08:08Z","closed_at":"2015-08-17T10:08:08Z","body":"Hello,\r\n\r\nIt seems that there is a new perl issue. (regarding https://github.com/liedekef/spacewalk_scripts/issues/17 ) \r\n I have to add the following env variable in order to perform with proxy\r\n```bash\r\n       $ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = \"Net::SSL\";\r\n```\r\nWithout this, there is the following output: \r\n```bash\r\n   [root@---~]# /etc/cron.daily/redhat-clone-errata.sh\r\n   INFO: Architecture is not specified, will try to determine it based on the channel properties of 'cha-rhel-6server-x86_64'\r\n   INFO: Setting the OS variant to Redhat, if this is wrong please remove the --redhat option\r\n   INFO: Server 127.0.0.1 is running API version 16\r\n   INFO: Your API version is supported\r\n   INFO: Authentication on 127.0.0.1 successful\r\n   ERROR: Couldn't log in to redhat: 500 Can't connect to rhn.redhat.com:443\r\n```\r\n\r\nYou can verify witch tcpdump or with this little test:  \r\n```perl\r\n#!/usr/bin/perl\r\nuse Frontier::Client;\r\n\r\nmy $HOST = 'rhn.redhat.com:443';\r\n$ENV{https_proxy} = \"http://--------------\";\r\n\r\n$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = \"Net::SSL\";\r\n$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;\r\n\r\nmy $client = new Frontier::Client(url => \"https://$HOST/rpc/api\");\r\nmy $ver = $client->call('api.getVersion');\r\nprint $ver.\"\\n\";\r\n```\r\n\r\nI've verify this change for CentOS6 and CentOS7.\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/liedekef/spacewalk_scripts/issues/comments/131765540","html_url":"https://github.com/liedekef/spacewalk_scripts/issues/26#issuecomment-131765540","issue_url":"https://api.github.com/repos/liedekef/spacewalk_scripts/issues/26","id":131765540,"user":{"login":"liedekef","id":75667,"avatar_url":"https://avatars.githubusercontent.com/u/75667?v=3","gravatar_id":"","url":"https://api.github.com/users/liedekef","html_url":"https://github.com/liedekef","followers_url":"https://api.github.com/users/liedekef/followers","following_url":"https://api.github.com/users/liedekef/following{/other_user}","gists_url":"https://api.github.com/users/liedekef/gists{/gist_id}","starred_url":"https://api.github.com/users/liedekef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liedekef/subscriptions","organizations_url":"https://api.github.com/users/liedekef/orgs","repos_url":"https://api.github.com/users/liedekef/repos","events_url":"https://api.github.com/users/liedekef/events{/privacy}","received_events_url":"https://api.github.com/users/liedekef/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T10:08:08Z","updated_at":"2015-08-17T10:08:08Z","body":"Solved in version 20150817"}}