app icon indicating copy to clipboard operation
app copied to clipboard

Self Hosted: can't go beyond Registration Page

Open teeruku-github opened this issue 2 years ago • 3 comments

After installing I can't do beyound the registration page. Logs reveal the following

"/code/app/email_utils.py:499" - email_can_be_used_as_mailbox() -  - No MX record for domain gmail.com

The error is the same for all domains.

Interestingly running dig inside the container works.

root@2dd4e226c092:/code# dig gmail.com mx

; <<>> DiG 9.11.5-P4-5.1+deb10u8-Debian <<>> gmail.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60559
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;gmail.com.			IN	MX

;; ANSWER SECTION:
gmail.com.		3388	IN	MX	20 alt2.gmail-smtp-in.l.google.com.
gmail.com.		3388	IN	MX	30 alt3.gmail-smtp-in.l.google.com.
gmail.com.		3388	IN	MX	10 alt1.gmail-smtp-in.l.google.com.
gmail.com.		3388	IN	MX	40 alt4.gmail-smtp-in.l.google.com.
gmail.com.		3388	IN	MX	5 gmail-smtp-in.l.google.com.

;; Query time: 1 msec
;; SERVER: 127.0.0.11#53(127.0.0.11)
;; WHEN: Wed Mar 01 10:14:16 UTC 2023
;; MSG SIZE  rcvd: 161


teeruku-github avatar Mar 01 '23 10:03 teeruku-github

By default SimpleLogin uses Cloudflare nameserver 1.1.1.1 for checking. Can you run the same command dig @1.1.1.1 gmail.com mx from your container to see if it returns something?

nguyenkims avatar Mar 01 '23 17:03 nguyenkims

I had an issue once that was similar - https://github.com/simple-login/app/issues/488

Hope it helps.

Rustymage avatar Mar 11 '23 19:03 Rustymage

i will help you to setup this application contact me https://www.fiverr.com/s/9W3PNA simple

MuhammadNaeem42 avatar Nov 30 '23 00:11 MuhammadNaeem42