<urlopen error unknown url type: https>

I'm seeing this, whether trying to upgrade python or install openssl doesn't work. Does linode socket module support SSL?

2 Replies

There is no such thing as a "linode socket module"… There exists only what you install from sources that only you know.

IMHO, one of three things is happening here:

  • you have a coding error;

  • if the web server to which the URL points belongs to you, you didn't set up SSL…or didn't set it up correctly; or

  • you forgot to install something on which your "linode socket module" depends.

I haven't any idea what you're trying to do so I can't offer any more specific advice than that…

-- sw

Thanks for the reply, I figured out the situation, turns out that another version (seems to come with the vm or os image probably from the beginning), there's python3 (3.7) already installed in /usr/local/bin (and lib) location where beyond yum's reach which does not have a ssl module. And no matter how many times i did yum install openssl-devel and reinstall python3 it just won't go through. So I removed this python3 gang entirely, and do yum install which is automatically a python3.6 version coming with the full ssl package. And it got installed and recognized from the right location of /usr/bin, which then solves the problem.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct