Skip to main content

All Questions

Tagged with
1 vote
1 answer
205 views

Only python file can read a specific file

For a High school projet, I have to use a private key to encrypt file. I changed permission to my pk, only the root user can read this file. I change the owner (to root) and put the uid right to this ...
Leonardo Rafael Mora's user avatar
1 vote
0 answers
119 views

What is the correct try/except for this error? (SSLCertVerificationError)

Sometimes I get this error and want to know which expectation I should set to try sending the query again: HTTPSConnectionPool(host='x.x.x', port=443): Max retries exceeded with url: /api/x/x/x/x (...
marwen aydi's user avatar
0 votes
0 answers
1k views

SSL Cert Verification Error hostname 'x.x.x' doesn't match either of '*exmple.com',

I'm working with many APIs, I send 200,000 requests per day and sometimes I get this error and don't know why: HTTPSConnectionPool(host='x.x.x', port=443): Max retries exceeded with url: /api/x/x/x/x (...
marwen aydi's user avatar
-3 votes
1 answer
1k views

ImportError: cannot import name 'native' from 'OpenSSL._util'

This problem occurs when I run Django.I guss it related with kms-client-sdk==0.1.5
user19666214's user avatar
1 vote
0 answers
363 views

python request.post raise unexpected eof while reading

i was upgraded recent version pyopenssl package in django project after that request.post raise eof while reading error import requests headers = { 'Content-Type': 'application/json', '...
H22's user avatar
  • 69
-2 votes
1 answer
276 views

Not able to Crawl HTTPS web pages with Scrapy

I have a web scraper which works without any issues locally but it's not able to crawl HTTPS web pages on the production server (CentOS). FYI. everything works as expected when I run the script ...
Arman Avetisyan's user avatar
5 votes
2 answers
6k views

Client unable to establish connection, macOS, django, odbc 17, pyodbc

Everything was working until I restarted my laptop. I have this setup: python 3.8.9 django 3.1.1 pyodbc 4.0.30 pyodbc.drivers() shows this: ['ODBC Driver 17 for SQL Server'] SQLServer openssl version ...
sgalich's user avatar
  • 197
1 vote
0 answers
990 views

Python intermittent OpenSSL error: FileNotFoundError: [Errno 2] No such file or directory

I'm getting an intermittent error on my production Django website (running under UWSGI) when trying to use the kubernetes client library. The error seems to be urllib3, or perhaps OpenSSL. The strange ...
Ben Davis's user avatar
  • 13.9k
0 votes
1 answer
146 views

manage.py runserver do nothing on VPS

When I run python3 manage.py runserver on Ubuntu 16.04 VPS machine it does nothing with my project but it runs that runs on my computer. I try to run python3 -v manage.py runserver and have seen that ...
Dmytro Popoilyk's user avatar
1 vote
0 answers
231 views

uwsgi+django: unsupported hash type

When I am deploying my django site to an Ubuntu 18.04 Server,I found that using python manage.py runserver works well.But when I use uwsgi to run this django site,a unsupported hash typeerror keeps ...
lwabish's user avatar
  • 11
0 votes
1 answer
2k views

rollbar django suddenly not working. AttributeError: module 'lib' has no attribute 'X509_up_ref'

My rollbar suddenly does not work on my django python app. It was working previously until i merge something. it looks more like openssl issue? >>> import rollbar >>> rollbar.init('...
Axil's user avatar
  • 3,311
1 vote
0 answers
1k views

Getting error in Vmware "pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available."

I am struggling in installing Django using pip on Vmware. I have tried almost every option available. Command: [root@ora12c src]# pip3.6 install django Output: [root@ora12c src]# pip3.6 install ...
danish noman's user avatar
1 vote
1 answer
2k views

Django paypalrestsdk error - OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]

I am programming on Django and using paypalrestsdk https://github.com/paypal/PayPal-Python-SDK I am getting this error: OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', '...
Axil's user avatar
  • 3,311
0 votes
0 answers
223 views

Can't install django on mac

Im trying to install django but I keep getting this error Collecting django Could not fetch URL https://pypi.python.org/simple/django/: There was a problem confirming the ssl certificate: [SSL: ...
Shawn Edward's user avatar
1 vote
0 answers
252 views

WantReadError is raising while sending apple push notifications

I'm trying to send apple push notifications with django-ios-notifications app, but i've faced with WantReadError. Here is a stacktrace: File ".../local/lib/python2.7/site-packages/...
ivan_ochc's user avatar
  • 412

15 30 50 per page