DEV Community

Aashish Chaubey 💥⚡️
Aashish Chaubey 💥⚡️

Posted on

httplib2.ServerNotFoundError: Unable to find the server at

I am using Docker to run my python Application and it internally uses YouTube's Data API and I face a similar issue. Can someone please help me solve this?

When i try to fetch the details of gmail using google-api's (googleapiclient,oauth2client), i am getting below error:

 File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/google_api_python_client-1.7.8-py2.7.egg/googleapiclient/", line 130, in positional_wrapper

  File "/usr/local/lib/python2.7/site-packages/google_api_python_client-1.7.8-py2.7.egg/googleapiclient/", line 224, in build

  File "/usr/local/lib/python2.7/site-packages/google_api_python_client-1.7.8-py2.7.egg/googleapiclient/", line 274, in _retrieve_discovery_doc
  File "/usr/local/lib/python2.7/site-packages/httplib2-0.12.1-py2.7.egg/httplib2/", line 2135, in request
  File "/usr/local/lib/python2.7/site-packages/httplib2-0.12.1-py2.7.egg/httplib2/",

Top comments (1)

aashish profile image
Aashish Chaubey 💥⚡️

I figured out the solution and found out that RHEL apparently ships with podman and my container was running on podman so the solution was simple, install docker and do the procedure again.