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 1367991

Summary: redhat-access-gui does not accept http_proxy or https_proxy
Product: Red Hat Enterprise Linux 7 Reporter: shiwang <shiwang>
Component: redhat-access-guiAssignee: Lindani Phiri <lphiri>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:44:42 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:    
Bug Blocks: 1420851    
Attachments:
Description Flags
modified redhat_access.py based on redhat-access-gui-1.0.0-6
none
modified redhat_access.ui based on redhat-access-gui-1.0.0-6
none
Added proxy support. none

Description shiwang 2016-08-18 04:39:29 UTC
Description of problem:

The redhat-access-gui tool does not accept http_proxy or https_proxy,
I want to know how to set proxy for redhat-access-gui tool.

Version-Release number of selected component (if applicable):

redhat-access-gui-1.0.0-6.el7.noarch.rpm

How reproducible:

In an internal network, try to use redhat-access-gui with proxy setting, but failed.
The proxy is correct because I can login to access.redhat.com using firefox.

Steps to Reproduce:
1.Install redhat-access-gui
2.Set http_proxy and https_proxy on bash cmd line

export http_proxy=XX.XX.XX.XX:3128
export https_proxy=XX.XX.XX.XX:3128

3.Run redhat-access-gui
4.Try to login with RHN login id.


Actual results:

Login failed, from the tcpdump, the communication to https://api.access.redhat.com does not go through proxy server

Expected results:

Login success 
the communication to https://api.access.redhat.com go through proxy server

Additional info:

Maybe redhat-access-gui does not have this feature, then it would be a new feature request.

Comment 2 Wu Siu Wa 2016-10-08 09:00:03 UTC
Created attachment 1208309 [details]
modified redhat_access.py based on redhat-access-gui-1.0.0-6

Comment 3 Wu Siu Wa 2016-10-08 09:00:45 UTC
Created attachment 1208310 [details]
modified redhat_access.ui based on redhat-access-gui-1.0.0-6

Comment 4 Wu Siu Wa 2016-10-08 09:03:54 UTC
Hello,

Proxy support should be easy to implement, as redhat_support_lib API already provide these options.

/usr/lib/python2.7/site-packages/redhat_support_lib/api.py
~~~
 class API(object):
     def __init__(self,
                 username,
                 password,
                 url='https://api.access.redhat.com',
                 key_file=None,
                 cert_file=None,
                 proxy_url=None,
                 proxy_user=None,
                 proxy_pass=None,
                 ftp_host='dropbox.redhat.com',
                 ftp_port=21,
                 ftp_user=None,
                 ftp_pass=None,
                 ftp_dir="/incoming",
                 timeout=None,
                 userAgent=None,
                 no_verify_ssl=False,
                 ssl_ca=None):
~~~


A modified version of `redhat-access-gui` is attached as attachment 1208309 [details] & 1208310.

Apologize that I didn't make it a patch file as I couldn't find the git tree.

feichashao

Comment 5 Wu Siu Wa 2016-10-08 09:42:52 UTC
Created attachment 1208311 [details]
Added proxy support.

This patch is based on redhat-access-gui-1.0.0-6

Comment 9 RHEL Program Management 2020-12-15 07:44:42 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.