From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gisle Vanem To: location@lists.ipfire.org Subject: Problem in urllib? Date: Tue, 30 Mar 2021 11:08:47 +0200 Message-ID: <0fbb7485-52fd-5bfa-e55d-d07111700be4@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4490561981918435935==" List-Id: --===============4490561981918435935== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I have a problem with he Python-module and downloading a new .db-file. Used as: py -3 location.py --debug update always returns: HTTP GET Request to location.ipfire.org URL: https://location.ipfire.org/databases/1/location.db.xz Headers: If-modified-since: Tue, 30 Mar 2021 04:04:14 GMT User-agent: location/0.9.4 HTTP Response: 410 Headers: date: Tue, 30 Mar 2021 08:32:16 GMT content-length: 282 content-type: text/html; charset=3Diso-8859-1 strict-transport-security: max-age=3D31536000; includeSubDom= ains; preload connection: close https://location.ipfire.org/databases/ reported: HTTP Error 410: Gone Could not download a new database But when using wget or Chrome, the above URL downloads just fine. Maybe there is a problem with urllib in Windows' version of Python 3.6.5? Or it's a server and CA-path problem since my curl says: subject alt name(s) or common name do not match "location.ipfire.org" (but a 'curl -k ..' works). How can I solve this? I've tried several ca-bundle files to no avail. --=20 --gv --===============4490561981918435935==--