Insights registration fails with an error "IDNAError: The label [] is not a valid A-label"

Solution Verified - Updated -

Issue

  • Python errors when running insights-client commands
  • Insights registration fails with an error:

      File "/usr/lib/python2.7/site-packages/idna/core.py", line 265, in alabel
        raise IDNAError('The label {0} is not a valid A-label'.format(label))
    IDNAError: The label [] is not a valid A-label
    

Environment

  • Red Hat® Insights
  • Red Hat Enterprise Linux® 6.10+ and 7.5+
  • Red Hat Satellite 6.5 and later

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