Skip to content

Linux Python SSL #522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Frag1337 opened this issue May 22, 2025 · 2 comments
Open

Linux Python SSL #522

Frag1337 opened this issue May 22, 2025 · 2 comments

Comments

@Frag1337
Copy link
Contributor

Frag1337 commented May 22, 2025

Hi everyone,

I'm having an interesting issue with the latest build on ubuntu and receive following error in my plugins:

Error: <urlopen error unknown url type: https>
Can't connect to HTTPS URL because the SSL module is not available.

This does not happen on the windows build..

sp info
[Source.Python] 
IMPORTANT: Please copy the full output.
--------------------------------------------------------
Checksum      : 73df9d7519f16304e9dc12cbbc1b9123
Date          : 2025-05-22 19:41:24.721359+00:00
OS            : Linux-5.15.0-134-generic-x86_64-with-glibc2.35
Game          : css
Dedicated     : True
SP version    : 741
Github commit : 1b6024dba73dc85d482f3087021c0391dea36503
Server plugins:
   00: Tickrate_Enabler 0.5, updated, original by Didrole
   01: Metamod:Source 1.12.0-dev+1219
   02: Source.Python, (C) 2012-2025, Source.Python Team.
SP plugins:
   00: SurfTricks_Updater
--------------------------------------------------------
@waldotf
Copy link
Contributor

waldotf commented May 22, 2025

You need to install the correct version of libssl for Python ssl to work. It should be something like libssl-dev for Ubuntu and you explicitly want a 1.1.x version, not libssl3 (shouldn't be a problem if your distro natively provides libffi7 still).

@Frag1337
Copy link
Contributor Author

Frag1337 commented May 23, 2025

Thank you for this information. Indeed, installing the correct 1.1.x 32bit version made it work! Thank you.

For anyone with the same issue, this was the fix:

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_i386.deb
apt install ./libssl1.1_1.1.1f-1ubuntu2.24_i386.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants