Error while refreshing manifest 'no implicit conversion of Integer into String'

Solution Verified - Updated -

Issue

  • Manifest refresh fails with below error if the proxy is set on the Satellite which has user name contain all integer like '654321':
2019-10-18T12:22:21 [I|app|801e7437] Current user set to admin (admin)
2019-10-18T12:22:24 [I|app|ca2c6411] Current user set to b0d4b5a4-6dc6-4281-89ca-ddedc9fe7e0c (regular)
2019-10-18T12:22:24 [E|app|801e7437] TypeError: no implicit conversion of Integer into String
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.0.7/app/lib/katello/util/http_proxy.rb:15:in `escape'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.0.7/app/lib/katello/util/http_proxy.rb:15:in `proxy_uri'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.0.7/app/lib/katello/resources/candlepin.rb:89:in `resource'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.0.7/app/lib/katello/resources/candlepin.rb:132:in `upstream_owner_id'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.0.7/app/lib/katello/resources/candlepin/upstream_pool.rb:15:in `path'

Environment

  • Red Hat Satellite 6.5
  • Red Hat Satellite 6.6

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