[Satellite6] How to configure goferd to connect to Satellite via HTTP Proxy?

Solution Unverified - Updated -

Issue

  • How to configure goferd to connect to Satellite via HTTP Proxy?
  • The client system and the satellite server is behind a proxy and the katello-agent gives an error message under /var/log/messages.
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 - [Errno 110] Connection timed out
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 - Traceback (most recent call last):
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib/gofer/plugins/katelloplugin.py", line 194, in validate_registration
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     consumer = uep.getConsumer(consumer_id)
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 912, in getConsumer
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     return self.conn.request_get(method)
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 602, in request_get
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     return self._request("GET", method)
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 505, in _request
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     conn.request(request_type, handler, body=body, headers=headers)
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/httplib.py", line 936, in request
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     self._send_request(method, url, body, headers)
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/httplib.py", line 973, in _send_request
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     self.endheaders()
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/httplib.py", line 930, in endheaders
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     self._send_output()
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/httplib.py", line 802, in _send_output
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     self.send(msg)
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/httplib.py", line 761, in send
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     self.connect()
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -   File "/usr/lib64/python2.6/site-packages/M2Crypto/httpslib.py", line 73, in connect
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 -     raise error
Jan 12 09:36:00 client-system goferd: [ERROR][MainThread] katelloplugin:201 - error: [Errno 110] Connection timed out
Jan 12 09:36:00 client-system goferd: [WARNING][MainThread] katelloplugin:87 - [Errno 110] Connection timed out
Jan 12 09:37:00 client-system goferd: [INFO][MainThread] rhsm.connection:727 - Connection built: host=satellite.example.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False

Environment

  • Red Hat Enterprise Linux 5.7+ 6.5+ 7.x+
  • katello-agent

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.