Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Erin Test
> On Jul 12, 2017, at 3:49 PM, Mark Sapiro wrote: > You might find this thread interesting > >

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Mark Sapiro
On 07/12/2017 01:42 PM, Erin Test wrote: > > I thought I did, but when I tried to stop it just now it said it wasn't > running. And when I try it now I'm seeing > sudo mailman start > Password: > Starting Mailman's master runner > /Library/Frameworks/Python.framework/Versions/3.6/Resources/Pyth

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Erin Test
> On Jul 12, 2017, at 1:34 PM, Mark Sapiro wrote: > > Have you started mailman (mailman start)? I thought I did, but when I tried to stop it just now it said it wasn't running. And when I try it now I'm seeing sudo mailman start Password: Starting Mailman's master runner /Library/Frameworks/

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Mark Sapiro
On 07/12/2017 01:11 PM, Erin Test wrote: > I'm not aware of anything else using that port. > > sudo netstat -l -n -t -p 8001 > 8001: unknown or uninstrumented protocol sudo netstat -l -n -t -p no 8001. -p means list the names of the processes listining. The output will be a list of all the proce

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Erin Test
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 no

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Erin Test
I'm not aware of anything else using that port. sudo netstat -l -n -t -p 8001 8001: unknown or uninstrumented protocol I'm on a mac and I read the options for netstat can be different between OSX/BSD and Linux, so I verified using lsof (8889 is the port mysql is using) leaves:~ ejustice$ lsof -

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Barry Warsaw
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 refus

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Mark Sapiro
On 07/12/2017 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 Is so

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Erin Test
Hi Barry and Mark Thanks for your responses. I have no desire to open the REST API to the public, I'm just trying to access it at all and assumed I needed to provided a web server, but that's apparently not the case. Other than mailman start is there something I'm missing that is needed to s

Re: [Mailman-Developers] Telling Apache about Mailman Rest API

2017-07-12 Thread Barry Warsaw
On Jul 11, 2017, at 05:50 PM, Erin Test wrote: >All of that being said I'm missing something in getting my basic setup >finalized. I have a web server (Apache) running and have installed mailman >core. When I try to access the REST API I get some variation of connection >refused depending on wha