[Mailman-Developers] Telling Apache about Mailman Rest API

Erin Test galaxyjustice2 at gmail.com
Wed Jul 12 16:27:31 EDT 2017


Everything matches between mailman info and what I'm putting into the curl call.  Also mailman info & mailman conf are showing changes when I make them so I know /etc/mailman.cfg file is being read.

As to the logs I've got the logging level set at debug for all the logging categories but I'm not seeing anything in the log files.

-Erin

> On Jul 12, 2017, at 12:10 PM, Barry Warsaw <barry at list.org> wrote:
> 
> Hi Erin,
> 
> On Jul 12, 2017, at 11:57 AM, Erin Test wrote:
> 
>> To access the REST API I've tried both command line curl calls:
>> curl -I -u restadmin http://localhost:8001/3.1/system/versions
>> Enter host password for user 'restadmin':
>> curl: (7) Failed to connect to localhost port 8001: Connection refused
> 
> What does `mailman info` say?  That will print the hostname:port that the REST
> server is listening on, and the basic auth credentials in use.  All of those
> are of course configurable in your mailman.cfg file.
> 
> If your curl arguments match what `mailman info` says, then there must be
> something else going on.  Maybe there's a firewall issue?  You can also check
> the Mailman logs to see if you're getting some exception or other in the
> server, and of course you can also adjust the logging level in the mailman.cfg
> file.
> 
> Cheers,
> -Barry
> 



More information about the Mailman-Developers mailing list