Description of problem: In subscription-manager-gui if no value is entered in "Proxy Location" after checking "I would like to connect via an HTTP proxy" and we click on "Test Connection" it returns "proxy connection succeeded" Version-Release number of selected component (if applicable): python-rhsm-1.8.7-1.git.1.675a611.el6.x86_64 subscription-manager-migration-data-1.12.2.6-1.git.0.171d4c3.el6.noarch subscription-manager-gui-1.8.4-1.git.36.80a2bf7.el6.x86_64 subscription-manager-firstboot-1.8.4-1.git.36.80a2bf7.el6.x86_64 subscription-manager-migration-1.8.4-1.git.36.80a2bf7.el6.x86_64 subscription-manager-1.8.4-1.git.36.80a2bf7.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. Open Subscription Manager GUI 2. Click on System (main window) 3. Click on Configure Proxy 4. Check "I would like to connect via an HTTP proxy" 5. Click on "Test Connection" Actual results: "Proxy Connection Succeeded" Expected results: Should say "Proxy Location cannot be empty" Additional info: tail -f /var/log/rhsm/rhsm.log 2013-03-25 13:18:52,520 [INFO] @connection.py:593 - Using no auth 2013-03-25 13:18:52,521 [INFO] @connection.py:597 - Connection Built: host: fsharath-candlepin.usersys.redhat.com, port: 8443, handler: /candlepin 2013-03-25 13:18:52,521 [DEBUG] @connection.py:394 - Loading CA PEM certificates from: /etc/rhsm/ca/ 2013-03-25 13:18:52,521 [DEBUG] @connection.py:376 - Loading CA certificate: '/etc/rhsm/ca/redhat-uep.pem' 2013-03-25 13:18:52,522 [DEBUG] @connection.py:376 - Loading CA certificate: '/etc/rhsm/ca/fsharath-candlepin.pem' 2013-03-25 13:18:52,522 [DEBUG] @connection.py:376 - Loading CA certificate: '/etc/rhsm/ca/candlepin-stage.pem' 2013-03-25 13:18:52,522 [DEBUG] @connection.py:415 - Making request: GET /candlepin/status 2013-03-25 13:18:52,617 [DEBUG] @connection.py:434 - Response status: 200
Created attachment 716096 [details] Test Proxy Connection Behavior Please refer the attachment for more details
Created attachment 716124 [details] Test Proxy Connection Behavior The behavior described in Comment 1 holds when both the check boxes in the panel are checked with blank text fields. Please refer tot he attachment.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
commit 1ab0ede466202e776f3ea1eda2139bf1ff60f8ca Author: ckozak <ckozak> Date: Thu Jun 13 16:19:31 2013 -0400 927340: added empty warning, block auth unless proxy enabled
Created attachment 773706 [details] proxy connection test with the field empty
Created attachment 773707 [details] proxy connection test with the authentication field empty
Marking verified!! [root@localhost ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.17-1 subscription-manager: 1.8.13-1.el5 python-rhsm: 1.8.13-1.git.0.85d7af5.el5
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. http://rhn.redhat.com/errata/RHBA-2013-1332.html