Hi @rami.reddy ,
Welcome to the Auth0 Community!
I searched the error on our community and found this topic. The solution is adding Auth0_domain in the connection.
connection = http.client.HTTPSConnection(AUTH0_DOMAIN)
Do you want to give it a try?