Password reset throws error

Hi !
Password reset mail is sent but student when clicked on Change my password button in the e-mail received, throws “Page not found” error. It was working fine in previous version (Ironwood). Please help me if anyone can.

Here is the relavant log.

    59.99.45.19 - - [05/Dec/2020:18:12:25 +0000] https://domain.com "GET /password_reset_confirm/1b-5m6-f8c96953b3512be48069/?track=pwreset HTTP/1.1" 404 9577 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36" "-"
rabbitmq_1          | closing AMQP connection <0.193.2> (172.18.0.11:37860 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | accepting AMQP connection <0.205.2> (172.xx.x.xx:xxx70 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | connection <0.205.2> (172.xx.x.xx:xxx70 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | closing AMQP connection <0.205.2> (172.xx.x.xx:xxx70 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | accepting AMQP connection <0.217.2> (172.18.0.11:37872 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | connection <0.217.2> (172.18.0.11:37872 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | closing AMQP connection <0.217.2> (172.18.0.11:37872 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | accepting AMQP connection <0.229.2> (172.18.0.11:37874 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | connection <0.229.2> (172.18.0.11:37874 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:03 ===
rabbitmq_1          | closing AMQP connection <0.229.2> (172.18.0.11:37874 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:12 ===
rabbitmq_1          | accepting AMQP connection <0.242.2> (172.18.0.11:37896 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:12 ===
rabbitmq_1          | connection <0.242.2> (172.18.0.11:37896 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:12 ===
rabbitmq_1          | closing AMQP connection <0.242.2> (172.18.0.11:37896 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | accepting AMQP connection <0.254.2> (172.18.0.11:37906 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | connection <0.254.2> (172.18.0.11:37906 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.4\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.3\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.7\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.3\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.3\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.4\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.3\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.6\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.11\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
smtp_1              | + sed -ri '
smtp_1              | 	s/^#?(dc_local_interfaces)=.*/\1='\''[0.0.0.0]:25 ; [::0]:25'\''/;
smtp_1              | 	s/^#?(dc_other_hostnames)=.*/\1='\'''\''/;
smtp_1              | 	s/^#?(dc_relay_nets)=.*/\1='\''172.18.0.7\/16'\''/;
smtp_1              | 	s/^#?(dc_eximconfig_configtype)=.*/\1='\''internet'\''/;
smtp_1              | ' /etc/exim4/update-exim4.conf.conf
smtp_1              | + update-exim4.conf -v
smtp_1              | using non-split configuration scheme from /etc/exim4/exim4.conf.template
smtp_1              |     1 LOG: MAIN
smtp_1              |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | closing AMQP connection <0.254.2> (172.18.0.11:37906 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | accepting AMQP connection <0.266.2> (172.18.0.11:37908 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | connection <0.266.2> (172.18.0.11:37908 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | closing AMQP connection <0.266.2> (172.18.0.11:37908 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | accepting AMQP connection <0.278.2> (172.18.0.11:37910 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | connection <0.278.2> (172.18.0.11:37910 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:22:13 ===
rabbitmq_1          | closing AMQP connection <0.278.2> (172.18.0.11:37910 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:26:00 ===
rabbitmq_1          | accepting AMQP connection <0.301.2> (172.xx.0.xx.xxx18 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:26:00 ===
rabbitmq_1          | connection <0.301.2> (172.xx.0.xx.xxx18 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::12:26:00 ===
rabbitmq_1          | closing AMQP connection <0.301.2> (172.xx.0.xx.xxx18 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::14:21:51 ===
rabbitmq_1          | accepting AMQP connection <0.641.2> (172.18.0.10:51858 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::14:21:51 ===
rabbitmq_1          | connection <0.641.2> (172.18.0.10:51858 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::14:21:51 ===
rabbitmq_1          | closing AMQP connection <0.641.2> (172.18.0.10:51858 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::16:45:15 ===
rabbitmq_1          | accepting AMQP connection <0.1059.2> (172.18.0.10:53586 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::16:45:15 ===
rabbitmq_1          | connection <0.1059.2> (172.18.0.10:53586 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::16:45:15 ===
rabbitmq_1          | closing AMQP connection <0.1059.2> (172.18.0.10:53586 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::16:45:27 ===
rabbitmq_1          | accepting AMQP connection <0.1073.2> (172.18.0.10:53616 -> 172.xx.x.x:xx72)
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::16:45:27 ===
rabbitmq_1          | connection <0.1073.2> (172.18.0.10:53616 -> 172.xx.x.x:xx72): user 'guest' authenticated and granted access to vhost '/'
rabbitmq_1          | 
rabbitmq_1          | =INFO REPORT==== 5-Dec-2020::16:45:27 ===
rabbitmq_1          | closing AMQP connection <0.1073.2> (172.18.0.10:53616 -> 172.xx.x.x:xx72, vhost: '/', user: 'guest')
cms_1               | 2020-12-05 18:14:04,044 ERROR 84 [django.security.DisallowedHost] [user None] exception.py:77 - Invalid HTTP_HOST header: '13.232.41.232'. You may need to add '13.232.41.232' to ALLOWED_HOSTS.
cms_1               | 37.187.107.208 - - [05/Dec/2020:18:14:04 +0000] "GET / HTTP/1.0" 400 26 "-" "Mozilla/5.0 zgrab/0.x"
nginx_1             | 37.187.107.208 - - [05/Dec/2020:18:14:04 +0000] https://xx.xxx.xx.xxx "GET / HTTP/1.1" 400 37 "-" "Mozilla/5.0 zgrab/0.x" "-"

I am trying to use gmail with these configurations:

  • RUN_SMTP: true
  • SMTP_HOST: smtp.gmail.com
  • SMTP_PORT: 587
  • SMTP_USERNAME: your_username@gmail.com
  • SMTP_PASSWORD your_password
  • SMTP_USE_TLS: false
  • SMTP_USE_SSL: true

I am not sure but I think RUN_SMTP should only be set to false when you do not want to send any emails.

In the SMTP logs, I get:

1 LOG: MAIN
smtp_1           |     1   exim 4.92 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)

It seems that SMTP has ignored the SMTP_PORT settings.

I have tried testing the SMTP service with these commands:

docker exec -it tutor_local_smtp_1 /bin/bash
root@452ed2bbde34:/# echo "Subject: test" | /usr/sbin/exim4 -v your_username@gmail.com

I get this error:

R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com'

Are you getting other e-mails from your instance?

Is see that you have set TLS to false, however TLS is required for port 587 per Google’s documentation