urlopen error unknown url type: https

You may see this error in the agent logs:

This article is for our v1 agent and will soon be deprecated.

main - ERROR - doPostBack: URLError = <urlopen error unknown url type: https>

This happens if your system does not have SSL installed with Python. You need to recompile Python with SSL on:


  1. Download and install OpenSSL, if you don't have it already. 
  2. Download Python source and rebuild Python (the usual steps of configure, make and make install). Python's configure script should be able to pick up your existing SSL libraries automatically and build a shared library _ssl.so. 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.