ssl

URLError: <urlopen error [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1007)>

URLError: <urlopen error [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1007)> Question: I’m trying to retrieve audio files via URLs retrieved from conllu files. I receive the link, but when I want to download the file, I get the following error, while when I enter the link on the browser I manage to download the file, …

Total answers: 1

MongoDB Atlas ServerSelectionTimeoutError: SSL handshake failed

MongoDB Atlas ServerSelectionTimeoutError: SSL handshake failed Question: I’m having a hard time fetching some data from my mongodb database using pymongo driver. I keep getting the following error: pymongo.errors.ServerSelectionTimeoutError: SSL handshake failed: ac-mtxrap4-shard-00-01.vfg8vpd.mongodb.net:27017: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1007),SSL handshake failed: ac-mtxrap4-shard-00-00.vfg8vpd.mongodb.net:27017: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1007),SSL handshake failed: ac-mtxrap4-shard-00-02.vfg8vpd.mongodb.net:27017: [SSL: TLSV1_ALERT_INTERNAL_ERROR] …

Total answers: 1

Disable ssl verification on a third party module using HTTPX

Disable ssl verification on a third party module using HTTPX Question: I’m using a module that uses httpx to make a request. Because of my company’s network policy, I get a CERTIFICATE_VERIFY_FAILED every time I try to run my code. The data I’m sending and receiving in the request is not sensitive so I want …

Total answers: 1

Pre-commit install-hooks does not work (SSLError)

Pre-commit install-hooks does not work (SSLError) Question: I use conda Python environments. Whenever I try to run pre-commit install-hooks, I get the error Could not fetch URL https://pypi.org/simple/ruamel-yaml/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=’pypi.org’, port=443): Max retries exceeded w ith url: /simple/ruamel-yaml/ (Caused by SSLError("Can’t connect to HTTPS URL because the SSL …

Total answers: 1

Problem when installing Python from source, SSL package missing even though openssl installed

Problem when installing Python from source, SSL package missing even though openssl installed Question: The Problem Trying to install Python-3.11.1 from source on Zorin OS (Ubuntu16 based) I get the following errors when I try to pip install any package into a newly created venv: python3.11 -m venv venv source venv/bin/active pip install numpy WARNING: …

Total answers: 1

How can i add subject to my python email program in ssl?

How can i add subject to my python email program in ssl? Question: I want to add subject to my python email program how can i do that? i dont want to use any python libraries i just want to do that with ssl, Can anyone can give me code example so that i can …

Total answers: 1

AES-GCM 256-bit VS. SSL/TLS for socket security

AES-GCM 256-bit VS. SSL/TLS for socket security Question: Is there a difference between using AES-GCM 256-bit encryption, or using SSL/TLS to pass data over a socket. I am currently passing data back and forth from client to server, using asymmetric AES-GCM 256-bit encryption. Is there an advantage to using SSL/TLS as opposed to my current …

Total answers: 1

GCP Dataflow Kafka and missing SSL certificates

GCP Dataflow Kafka and missing SSL certificates Question: I’m trying to fetch the data from Kafka to Bigquery using GCP Dataflow. My Dataflow template is based on Python SDK 2.42 + Container registry + apache_beam.io.kafka. There is my pipeline: def run( bq_dataset, bq_table_name, project, pipeline_options ): with Pipeline(options=pipeline_options) as pipeline: kafka = pipeline | ReadFromKafka( …

Total answers: 1

MongoEngine cannot connect through Atlas Uri string. Tried everything

MongoEngine cannot connect through Atlas Uri string. Tried everything Question: I’m new to programming and am building my first app.. I’m building a kivy app trying to use mongoDB as the database. I can connect to a localhost to query and create documents. I cannot get it to connect to the atlas no matter what …

Total answers: 1

Python SMTP 'unable to get local issuer certificate' in python virtualenv

Python SMTP 'unable to get local issuer certificate' in python virtualenv Question: Sorry if title is unclear. I’m trying to send an email through python 3.10 through the standard library. It works locally on my machine with these default settings. smtp_server = "smtp.office365.com" port = 587 # For starttls sender_email = os.environ.get("EMAIL") password = os.environ.get("EMAIL_PASSWORD") …

Total answers: 1