On 4/24/2024 6:22 PM, Mark Sapiro wrote:
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
```
<FORM action="some URL" method="POST" >
```
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
```
<FORM action="http(s)://mailman/admindb/cufsalumni" method="POST" >
```
If the scheme is http, the above applies and you need to set
```
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
```
in mm_cfg.py

Hi Mark,

I figured out the issue and the URL is basically correct. The bottom line is that an AT&T router is blocking my IP for some reason. How to fix it is another problem as I don't expect AT&T to do anything about it. Not sure when this started.

Anyway, here is the issue. I don't have a static IP address so I am using dyndns-ip.com. Most of the links on the admin page uses just 'dap002' as the URL host which uses only the LAN. However, the submit and a couple of other links use dyndns-ip.com in the URL which sends it out over the WAN. I never had a problem with that until now. It has been eons since I've configured mailman so I've pretty much forgotten what/how I did it. I guess for the admin pages only, I need to make all the links just dap002 since I only access them on the LAN. The public pages still need to use dyndns-ip.com in the URL. Is there a way to do that?

Even if AT&T fixes the problem it would still be better if all the admin stuff is done only on the LAN.

Thanks.

Attachment: 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

Reply via email to