When uploading Red Hat Insights profile on Satellite Foreman production.log throws errors like 'Caught HTTP error when proxying call to tapi: 401 Unauthorized'

Solution Verified - Updated -

Issue

  • The Satellite fails to connect with Access Insights engine with below error,

    2017-05-31 03:28:14 379c74b7 [app] [E] RedhatAccess::Telemetry::PortalClient: Caught HTTP error when proxying call to tapi: 401 Unauthorized: 
    2017-05-31 03:28:14 379c74b7 [app] [I] Completed 401 Unauthorized in 685ms (Views: 0.3ms | ActiveRecord: 10.6ms)
    2017-05-31 03:28:14 cdb57b1f [app] [I] Started POST "/api/hosts/facts" for 172.xx.xx.xx at 2017-05-31 03:28:14 -0400
    2017-05-31 03:28:14 cdb57b1f [app] [I] Processing by Api::V2::HostsController#facts as JSON
    

Environment

  • Red Hat Satellite 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content