packt-cli / Packt-Publishing-Free-Learning

Scripts that automatically claim and download free daily eBooks from https://www.packtpub.com/packt/offers/free-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception occurred HTTPSConnectionPool [..]

Danielx303 opened this issue · comments

Hi everyone!

It's work for me perfectly for last ~2month but yesterday and today I have this problem:

C:\ZZZZ\Packt-Publishing-Free-Learning-master>packt-cli -gd
[ERROR] - Fetching JWT token failed!
[INFO] - Start grabbing ebook...
[ERROR] - Exception occurred HTTPSConnectionPool(host='services.packtpub.com', port=443): Max retries exceeded with url: /free-learning-v1/offers?dateFrom=2020-01-15T00%3A00%3A00&dateTo=2020-01-16T00%3A00%3A00 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076)')))

Can somebody tell what is going on?

Pozdrowienia dla Autorów :)))

Ok. I've got it.

What I have done?
One more time - upgrade project in my repo ("pip3 install packt --upgrade") and.. Changing network without a blocked port.

I think the last thing caused this problem.

Regards!