From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: location@lists.ipfire.org Subject: Re: Problem in urllib? Date: Tue, 30 Mar 2021 10:27:23 +0100 Message-ID: In-Reply-To: <0fbb7485-52fd-5bfa-e55d-d07111700be4@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4562658935968752412==" List-Id: --===============4562658935968752412== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, Please just update to the 0.9.5 release and this problem will be fixed. Best, -Michael > On 30 Mar 2021, at 10:08, Gisle Vanem wrote: >=20 > I have a problem with he Python-module > and downloading a new .db-file. Used as: >=20 > py -3 location.py --debug update >=20 > 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 >=20 > But when using wget or Chrome, the above URL downloads just fine. >=20 > 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" >=20 > (but a 'curl -k ..' works). >=20 > How can I solve this? I've tried several ca-bundle files to no avail. >=20 > --=20 > --gv --===============4562658935968752412==--