Hi Henrick,
On Tue, Jul 18, 2017, at 04:54 AM, Henrik Rasmussen wrote: <snip>
raise ImproperlyConfigured("No Facebook app configured: please"
ImproperlyConfigured: No Facebook app configured: please add a SocialApp using the Django admin
This is a known issue, it happens because the Facebook is added as a default service provider but it crashes the login page if it is not configured.
As a get around, you can either remove the Facebook as a service provider from the Django's INSTALLED_APPS variable, or you can login into the Django's admin console and setup Facebook as a login provider.
Documentation should have instructions on both, please ask again if anything isn't clear there.
When I do sign in, I get the following from uwsgi-error.log
<snip>
File "/usr/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/usr/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/local/lib/python2.7/smtplib.py", line 256, in __init__ (code, msg) = self.connect(host, port) File "/usr/local/lib/python2.7/smtplib.py", line 316, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/local/lib/python2.7/smtplib.py", line 291, in _get_socket return socket.create_connection((host, port), timeout) File "/usr/local/lib/python2.7/socket.py", line 575, in create_connection raise err socket.error: [Errno 111] Connection refused
This is because you haven't setup Django to send emails. When you register an email with Django, it needs to be able to verify that it is a valid email address for which it should be configured to send email. See the documentation on how to do so at
docs.mailman3.org asynchronous.in/docker-mailman/
Henrik
-----Oprindelig meddelelse----- Fra: Abhilash Raj [mailto:raj.abhilash1@gmail.com] Sendt: 17. juli 2017 18:04 Til: mailman-users@mailman3.org Emne: [MM3-users] Re: AH01102: error reading status line from remote server 172.19.199.3:8000
Hi Henrik,
On Mon, Jul 17, 2017, at 02:31 AM, Henrik Rasmussen wrote:
I've just installed Mailman 3.1 on RHEL7 (Docker-Mailman3) and to get the right CSS layout I installed Apache on the Mailman server outside Docker, as advised by Abhilash Raj and Alexander Klotz.
My Mailman server is on a secured network and the https connection from Internet will be handled by proxy servers, so I will be using http (port 80) between proxy-servers and Mailman server.
But when I sign in (currently via an SSH tunnel to the Mailman server from my workstation) I get "Internal error: [client ::1:41912] AH01102: error reading status line from remote server 172.19.199.3:8000, referer: http://localhost/accounts/login/?next=%2Fpostorius%2Flists%2F"
Output from logs might be more helpful to debug what is wrong. They are present at
/opt/mailman/web/logs/mailmanweb.log
for Django. You may also find some other log files there which are related to uwsgi, the WSGI server that is used to interface Django with Web Servers like Apache.If I type a wrong password, I am just warned about that, so the problem appears when log in is accepted.
I expect that it is because I connect to localhost:80 through SSH tunnel. What do I miss in my Apache configuration on the Mailman server to avoid this problem?
<VirtualHost *:80> ErrorLog /var/log/httpd/error_log LogLevel warn CustomLog /var/log/httpd/access_log combined
ServerAdmin root@example.foo ServerName list.foo.bar Alias /static /opt/mailman/web/static Alias /favicon.ico /opt/mailman/web/static/hyperkitty/img/favicon.ico
ProxyPassMatch ^/static/.* ! ProxyPass / http://172.19.199.3:8000/ ProxyPassReverse / http://172.19.199.3:8000/
<Directory /> Allow from all Require all granted </Directory>
<Directory /opt/mailman/web/static/hyperkitty/img/> Allow from all Require all granted </Directory>
# ssl config here ... </VirtualHost>
Thanks, Henrik Rasmussen
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj