Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1306004

Summary: The cmd "repos --list --proxy" with a fake proxy server url will not stop running.
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: vritant <vrjain>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: high    
Version: 7.3CC: bcourt, candlepin-bugs, csnyder, skallesh, stoner, vrjain
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1301215 Environment:
Last Closed: 2016-11-03 20:27:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1301215    
Bug Blocks:    

Comment 3 Shwetha Kallesh 2016-05-20 10:55:29 UTC
Marking verified!!

it takes less than a min to get response 

[root@dhcp35-45 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.17.6-1.el7
python-rhsm: 1.17.2-1.el7


[root@dhcp35-45 ~]# time subscription-manager repos --list-enabled --proxy=www.baidu.com
Proxy connnection failed, please check your settings.

real	0m10.798s
user	0m0.182s
sys	0m0.032s

[root@dhcp35-45 ~]# tail -f /var/log/rhsm/rhsm.log 
2016-05-20 15:41:24,638 [INFO] subscription-manager:13525 @managercli.py:384 - Client Versions: {'python-rhsm': '1.17.2-1.el7', 'subscription-manager': '1.17.6-1.el7'}
2016-05-20 15:41:24,638 [INFO] subscription-manager:13525 @connection.py:815 - Connection built: http_proxy=www.baidu.com:3128 host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2016-05-20 15:41:24,638 [INFO] subscription-manager:13525 @connection.py:815 - Connection built: http_proxy=www.baidu.com:3128 host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=none

Comment 5 errata-xmlrpc 2016-11-03 20:27:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2592.html