[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-developers
Subject:    [Mailman-Developers] Re: SSL error while connecting to hyperkitty
From:       "Abhilash Raj" <maxking () asynchronous ! in>
Date:       2019-08-31 15:15:39
Message-ID: 1c8c402a-dadb-4da7-b017-c24df707ed59 () www ! fastmail ! com
[Download RAW message or body]

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 send    timeout=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 increment    raise MaxRetryError(_pool, url, error or
> ResponseError(cause))urllib3.exceptions.MaxRetryError:
> HTTPSConnectionPool(host='domain.com <http://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_message    url = self._send_message(mlist, msg)  File
> "/var/lib/mailman/mailman-hyperkitty/mailman_hyperkitty/__init__.py", 
> line
> 201, in _send_message    files={"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 post    return 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 request    return 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 request    resp = 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 send    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 668, in <listcomp>    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 send    r = 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 send    raise SSLError(e,
> request=request)requests.exceptions.SSLError:
> HTTPSConnectionPool(host=domain.com <http://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 <sandeep7790@gmail.com>
> wrote:
> 
> > Team any help
> > 
> > Sent from my iPhone
> > 
> > > On 30-Aug-2019, at 11:18 PM, sandeep kumar <sandeep7790@gmail.com>
> > 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-leave@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-leave@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic