[Mailman-Users] Re: Admin Requests Time Out

2024-04-24 Thread Dennis Putnam

On 4/23/2024 2:31 PM, Mark Sapiro wrote:

On 4/23/24 06:55, Dennis Putnam wrote:
I am trying to submit an admin request (rejecting an email) but when 
I click "submit" it times out. I don't see anything in the log file 
(maybe I need to look somewhere else). Restarting the service does 
not help nor does rebooting the system. The status appears to me to 
be correct:


Look in the logs of your web server.

Look at the source of the admindb page you are trying to submit. In 
particular you are looking for a FORM tag like

```

```
Does that URL look correct? If not see lines 67-95 at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in



Hi Mark,

It looks right to me. This is all I see:

192.168.0.196 - - [24/Apr/2024:11:30:03 -0400] "GET 
/mailman/admindb/cufsalumni HTTP/1.1" 200 2091
192.168.0.196 - - [24/Apr/2024:11:30:03 -0400] "GET /favicon.ico 
HTTP/1.1" 200 5882
192.168.0.196 - - [24/Apr/2024:11:30:05 -0400] "POST 
/mailman/admindb/cufsalumni HTTP/1.1" 200 6964


Is it possible the database is not responding? But if that were the case 
I wouldn't get the administrative request page, right?


OpenPGP_signature.asc
Description: OpenPGP digital signature
--
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


[Mailman-Users] Re: Admin Requests Time Out

2024-04-24 Thread Mark Sapiro

On 4/24/24 08:36, Dennis Putnam wrote:

On 4/23/2024 2:31 PM, Mark Sapiro wrote:


Look in the logs of your web server.

Look at the source of the admindb page you are trying to submit. In 
particular you are looking for a FORM tag like

```

```
Does that URL look correct? If not see lines 67-95 at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in



Hi Mark,

It looks right to me. This is all I see:

192.168.0.196 - - [24/Apr/2024:11:30:03 -0400] "GET 
/mailman/admindb/cufsalumni HTTP/1.1" 200 2091
192.168.0.196 - - [24/Apr/2024:11:30:03 -0400] "GET /favicon.ico 
HTTP/1.1" 200 5882
192.168.0.196 - - [24/Apr/2024:11:30:05 -0400] "POST 
/mailman/admindb/cufsalumni HTTP/1.1" 200 6964





Your POST gets a 200 status. If it doesn't update it's most likely 
because the URL is http and is being redirected to https and losing the 
POST data. See https://wiki.list.org/x/4030602 - you need to ensure the 
scheme in DEFAULT_URL_PATTERN is https, not http.


Although that said, I don't know why that would cause a timeout.

Again, look at the source of the admindb page in your web browser. Look for
```

```
If the scheme is http, the above applies and you need to set
```
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
```
in mm_cfg.py

--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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...@mail-archive.com