On 6/19/23 3:42 AM, Ralf Hildebrandt via Mailman-Users wrote:
Hi!
I noticed that my error log has quite a few entries like
Jun 18 15:59:10 2023 (1236) Unable to retrieve data from
https://publicsuffix.org/list/public_suffix_list.dat: <urlopen error [Errno 101]
Network is unreachable>
Jun 18 18:32:56 2023 (1236) Unable to retrieve data from
https://publicsuffix.org/list/public_suffix_list.dat: <urlopen error [Errno 101]
Network is unreachable>
Jun 18 18:35:07 2023 (1236) Unable to retrieve data from
https://publicsuffix.org/list/public_suffix_list.dat: <urlopen error [Errno 101]
Network is unreachable>
Jun 18 18:45:58 2023 (1236) Unable to retrieve data from
https://publicsuffix.org/list/public_suffix_list.dat: <urlopen error [Errno 101]
Network is unreachable>
It could be one of the two issues here
a) IPv6
b) not using the http proxy
It's neither of those. I forget exactly which package upgrade is
involved, but it has to do with the way an https url is retrieved and an
SSL issue involving that.
Here's a patch I've used on mail.python.org.
```
=== modified file 'Mailman/Utils.py'
--- Mailman/Utils.py 2021-06-06 17:55:49 +0000
+++ Mailman/Utils.py 2023-05-25 01:07:55 +0000
@@ -1232,7 +1232,13 @@
syslog('error',
'Unable to retrieve data from %s: %s',
url, e)
- return
+ try:
+ d = open('/home/psf-users/msapiro/public_suffix_list.dat')
+ except Exception, e:
+ syslog('error',
+ 'Unable to retrieve data from %s: %s',
+ '/home/psf-users/msapiro/public_suffix_list.dat', e)
+ return
for line in d.readlines():
if not line.strip() or line.startswith(' ') or
line.startswith('//'):
continue
```
I can download the file alright using curl/wget (environment variables
are set correctly)
Download the file manually and replace
'/home/psf-users/msapiro/public_suffix_list.dat' in the above patch with
the path to the downloaded file.
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org