[Mailman-Developers] Re: SSL error while connecting to hyperkitty

2019-08-31 Thread sandeep kumar
Hi Team

Iam seeing following errors while mailman is trying to archive in
mailman.log


This is my base URL in mailman-hyperkitty.cfg

base_url: http://localhost/hyperkitty




































*During handling of the above exception, another exception
occurred:Traceback (most recent call last):  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/adapters.py",
line 449, in sendtimeout=timeout  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/urllib3-1.24.1-py3.6.egg/urllib3/connectionpool.py",
line 638, in urlopen_stacktrace=sys.exc_info()[2])  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/urllib3-1.24.1-py3.6.egg/urllib3/util/retry.py",
line 398, in incrementraise MaxRetryError(_pool, url, error or
ResponseError(cause))urllib3.exceptions.MaxRetryError:
HTTPSConnectionPool(host='domain.com ', port=443): Max
retries exceeded with url:
/hyperkitty/api/mailman/archive?key=SecretArchiverAPIKey (Caused by
SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed (_ssl.c:841)'),))During handling of the above exception, another
exception occurred:Traceback (most recent call last):  File
"/var/lib/mailman/mailman-hyperkitty/mailman_hyperkitty/__init__.py", line
154, in _archive_messageurl = self._send_message(mlist, msg)  File
"/var/lib/mailman/mailman-hyperkitty/mailman_hyperkitty/__init__.py", line
201, in _send_messagefiles={"message": ("message.txt", message_text)})
File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/api.py",
line 116, in postreturn request('post', url, data=data, json=json,
**kwargs)  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/api.py",
line 60, in requestreturn session.request(method=method, url=url,
**kwargs)  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
line 533, in requestresp = self.send(prep, **send_kwargs)  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
line 668, in sendhistory = [resp for resp in gen] if allow_redirects
else []  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
line 668, in history = [resp for resp in gen] if
allow_redirects else []  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
line 247, in resolve_redirects**adapter_kwargs  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
line 646, in sendr = adapter.send(request, **kwargs)  File
"/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/adapters.py",
line 514, in sendraise SSLError(e,
request=request)requests.exceptions.SSLError:
HTTPSConnectionPool(host=domain.com ', port=443): Max
retries exceeded with url:
/hyperkitty/api/mailman/archive?key=SecretArchiverAPIKey (Caused by
SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed (_ssl.c:841)'),))*


Rgrds
Sandeep

On Sat, Aug 31, 2019 at 10:20 AM sandeep kumar 
wrote:

> Team any help
>
> Sent from my iPhone
>
> > On 30-Aug-2019, at 11:18 PM, sandeep kumar 
> wrote:
> >
> > Hi Team
> >
> > Iam using httpd to work with ssl on mailman 3 using proxy pass.
> >
> > After this configuration Iam not able to connect to hyperkitty. It is
> throwing ssl certificate error in mailman.log file.
> >
> > What should be the configuration of hyperkitty while using https in
> mailman..?
> >
> > Please help me with this Iam struck here from past 4 days
> >
> > Rgrds
> > Sandeep
> >
> > Sent from my iPhone
>


-- 
Regards
Sandeep Kumar
+91-9642669192
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: SSL error while connecting to hyperkitty

2019-08-31 Thread Abhilash Raj
On Sat, Aug 31, 2019, at 1:36 AM, sandeep kumar wrote:
> Hi Team
> 
> Iam seeing following errors while mailman is trying to archive in
> mailman.log
> 
> 
> This is my base URL in mailman-hyperkitty.cfg
> 
> base_url: http://localhost/hyperkitty

Are you sure this is the URL? this is http and Mailman shouldn't try to connect 
to this using HTTPS.

Is your web server configured to redirect all HTTP traffic to HTTPS? If that is 
the case, then it is going to fail.

Which wsgi server are you using? uwsgi?

Can you also show your ProxyPass configuration?

> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *During handling of the above exception, another exception
> occurred:Traceback (most recent call last):  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/adapters.py",
> line 449, in sendtimeout=timeout  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/urllib3-1.24.1-py3.6.egg/urllib3/connectionpool.py",
> line 638, in urlopen_stacktrace=sys.exc_info()[2])  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/urllib3-1.24.1-py3.6.egg/urllib3/util/retry.py",
> line 398, in incrementraise MaxRetryError(_pool, url, error or
> ResponseError(cause))urllib3.exceptions.MaxRetryError:
> HTTPSConnectionPool(host='domain.com ', port=443): 
> Max
> retries exceeded with url:
> /hyperkitty/api/mailman/archive?key=SecretArchiverAPIKey (Caused by
> SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate 
> verify
> failed (_ssl.c:841)'),))During handling of the above exception, another
> exception occurred:Traceback (most recent call last):  File
> "/var/lib/mailman/mailman-hyperkitty/mailman_hyperkitty/__init__.py", 
> line
> 154, in _archive_messageurl = self._send_message(mlist, msg)  File
> "/var/lib/mailman/mailman-hyperkitty/mailman_hyperkitty/__init__.py", 
> line
> 201, in _send_messagefiles={"message": ("message.txt", 
> message_text)})
> File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/api.py",
> line 116, in postreturn request('post', url, data=data, json=json,
> **kwargs)  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/api.py",
> line 60, in requestreturn session.request(method=method, url=url,
> **kwargs)  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
> line 533, in requestresp = self.send(prep, **send_kwargs)  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
> line 668, in sendhistory = [resp for resp in gen] if allow_redirects
> else []  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
> line 668, in history = [resp for resp in gen] if
> allow_redirects else []  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
> line 247, in resolve_redirects**adapter_kwargs  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/sessions.py",
> line 646, in sendr = adapter.send(request, **kwargs)  File
> "/var/lib/mailman/venv3/lib64/python3.6/site-packages/requests-2.21.0-py3.6.egg/requests/adapters.py",
> line 514, in sendraise SSLError(e,
> request=request)requests.exceptions.SSLError:
> HTTPSConnectionPool(host=domain.com ', port=443): Max
> retries exceeded with url:
> /hyperkitty/api/mailman/archive?key=SecretArchiverAPIKey (Caused by
> SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate 
> verify
> failed (_ssl.c:841)'),))*
> 
> 
> Rgrds
> Sandeep
> 
> On Sat, Aug 31, 2019 at 10:20 AM sandeep kumar 
> wrote:
> 
> > Team any help
> >
> > Sent from my iPhone
> >
> > > On 30-Aug-2019, at 11:18 PM, sandeep kumar 
> > wrote:
> > >
> > > Hi Team
> > >
> > > Iam using httpd to work with ssl on mailman 3 using proxy pass.
> > >
> > > After this configuration Iam not able to connect to hyperkitty. It is
> > throwing ssl certificate error in mailman.log file.
> > >
> > > What should be the configuration of hyperkitty while using https in
> > mailman..?
> > >
> > > Please help me with this Iam struck here from past 4 days
> > >
> > > Rgrds
> > > Sandeep
> > >
> > > Sent from my iPhone
> >
> 
> 
> -- 
> Regards
> Sandeep Kumar
> +91-9642669192
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
> 
> Security Policy: https://wiki.list.org/x/QIA9
>

-- 
  thanks,
  Abhilash Raj (maxking)
___
Mailman-Developers mailing list --

[Mailman-Developers] Re: Change of my homepage

2019-08-31 Thread Abhilash Raj



On Thu, Aug 29, 2019, at 9:06 AM, sandeep kumar wrote:
> Hi Abhilash
> 
> I tried to configure through webserver but after doing this in ssl.conf 
> and http.conf I observed that my hyperkitty stopped working.
> 
> Though the archiving is taking place but Iam not able view those 
> archives in hyperkitty through browser.
> 
> I think Iam missing somewhere in between the communication of mailman 
> core and hyperkitty. Correct me if Iam wrong


If the archiving is working, it is not the connection between Core and Mailman, 
but connection between Web server and Hyperkitty.

Can you share your web server configuration?

> 
> Rgrds
> Sandeep
> 
> Sent from my iPhone
> 
> > On 29-Aug-2019, at 8:59 PM, Abhilash Raj  wrote:
> > 
> >> On Thu, Aug 29, 2019, at 1:42 AM, sandeep kumar wrote:
> >> Hi Team
> >> 
> >> I want to customize my home page of mailman 3 . When I type my site name it
> >> should go to another page and from there when I click distribution lists
> >> link It should redirect to mailman 3 default homepage.
> >> 
> >> I am trying to achieve this and failing in this regard.
> > 
> > How did you try to achieve this?
> > 
> >> 
> >> Expert team please give me any suggestions and clues regarding the
> >> dependencies that may involved in changing this.
> > 
> > Redirections aren't directly implemented in Mailman, it is typically
> > configured in your webserver. 
> > 
> > You are looking for a config probably where lists.example.com/index.html
> > is your website and then you ProxyPass the /mailman3 endpoint to Mailman's
> > wsgi server, which will make your DL address to be 
> > lists.example.com/mailman3.
> > 
> >> 
> >> -- 
> >> Regards
> >> Sandeep Kumar
> >> +91-9642669192
> >> ___
> >> Mailman-Developers mailing list -- mailman-developers@python.org
> >> To unsubscribe send an email to mailman-developers-le...@python.org
> >> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> >> Mailman FAQ: https://wiki.list.org/x/AgA3
> >> 
> >> Security Policy: https://wiki.list.org/x/QIA9
> >> 
> > 
> > -- 
> >  thanks,
> >  Abhilash Raj (maxking)
> > ___
> > Mailman-Developers mailing list -- mailman-developers@python.org
> > To unsubscribe send an email to mailman-developers-le...@python.org
> > https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> > Mailman FAQ: https://wiki.list.org/x/AgA3
> > 
> > Security Policy: https://wiki.list.org/x/QIA9
>

-- 
  thanks,
  Abhilash Raj (maxking)
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9