<div dir="ltr"><p>Dear Chris,</p><p><br>This server is configured via proxy server inorder to access internet</p><p><br>[root@pocserver ~]# more /etc/profile.d/rhn_proxy.sh</p><p>export http_proxy=http://xsRHNsatellite:username@proxyserver:8080/<br>export https_proxy=http://xsRHNsatellite:username@proxyserver:8080/</p><p>export HTTP_PROXY=http://xsRHNsatellite:username@proxyserver:8080/<br>export HTTPS_PROXY=http://xsRHNsatellite:username@proxyserver:8080/</p><p>export no_proxy=.domain</p><p><br>In the above file we have configured the proxy settings and the has been exported as environment variable.</p><p>I have validated after export also.</p><p>[root@pocserver ~]# env | grep -i http</p><p>http_proxy=http://xsRHNsatellite:username@proxyserver:8080/<br>HTTPS_PROXY=http://xsRHNsatellite:username@proxyserver:8080/<br>https_proxy=http://xsRHNsatellite:username@proxyserver:8080/<br>HTTP_PROXY=http://xsRHNsatellite:username@proxyserver:8080/</p><p><br>The below curl command is working....</p><p><br>curl -v <a href="https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml">https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml</a> --cacert /etc/rhsm/ca/redhat-uep.pem --cert /etc/pki/entitlement/6229515953803313501.pem --key /etc/pki/entitlement/6229515953803313501-key.pem</p><p><br>However if i try to sync it,i am getting the same error</p><p><br>[root@pocserver ~]# pulp-admin rpm repo sync run --repo-id rhel-6 <br>+----------------------------------------------------------------------+ <br>                   Synchronizing Repository [rhel-6] <br>+----------------------------------------------------------------------+ </p><p>This command may be exited via ctrl+c without affecting the request. </p><p><br></p><p>Downloading metadata... <br>[/] <br>... failed </p><p>HTTPSConnectionPool(host='<a href="http://cdn.redhat.com">cdn.redhat.com</a>', port=443): Max retries exceeded with <br>url: /content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml (Caused <br>by <class 'socket.error'>: [Errno 110] Connection timed out) </p><div><br></div><p>Task Failed </p><p>Importer indicated a failed response</p><p><br></p><p>is there any proxy syntax do we need to add while creating the repository with feed and cert ?</p><p><br>Please advise me on this ?</p><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 18, 2015 at 10:04 PM, Vijayabalan Balakrishnan <span dir="ltr"><<a href="mailto:bvijaycom@gmail.com" target="_blank">bvijaycom@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div>Dear Randy,</div><div><br></div><div>I have followed your advise and now while syncing ,I am getting the below error...</div><div><br></div><div>[root@pocserver ~]# pulp-admin rpm repo create --repo-id rhel-6 --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem --feed-cert=/etc/pki/entitlement/7281296287748190629.pem --feed-key=/etc/pki/entitlement/7281296287748190629-key.pem --feed=<a href="https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os</a> --retain-old-count=2 --validate=true --relative-url rhel-6  --serve-http=true --serve-https=false --gpg-key=/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release </div><div>Successfully created repository [rhel-6] </div><div>[root@pocserver ~]# <br>[root@pocserver ~]# <br>[root@pocserver ~]# pulp-admin rpm repo sync run --repo-id rhel-6 <br>+----------------------------------------------------------------------+ <br>                   Synchronizing Repository [rhel-6] <br>+----------------------------------------------------------------------+ </div><div>This command may be exited via ctrl+c without affecting the request. </div><div><br></div><div>Downloading metadata... <br>[/] <br>... failed </div><div>HTTPSConnectionPool(host='<a href="http://cdn.redhat.com" target="_blank">cdn.redhat.com</a>', port=443): Max retries exceeded with <br>url: /content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml (Caused <br>by <class 'socket.error'>: [Errno 110] Connection timed out) </div><div><br></div><div>Task Failed </div><div>Importer indicated a failed response</div><div> <br> <br> <br> <br>the creation of the repository went fine.. but the sync failed again... same error... </div><div><br></div><div><br></div><div>Please help me on this ...</div><div><br></div><div><br></div><div>Thanks,</div><div>BVIJAY<br></div></div>
</blockquote></div><br></div></div>