mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #1624] Admin Login in Webinterface Gateway Timeout #1276
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1276
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dogy007 on GitHub (Nov 24, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1624
Current behavior
Login in Webinterface works with all users
Login in Webinterface doesn't work with admin. Modoboa responds with Gateway Timeout
In /var/log/nginx mail.domain.ch-error.log
2018/11/24 00:14:40 [error] 508#508: *698 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <192.X.X.X>, server: mail.Domain.ch, request: "GET /dashboard/ HTTP/1.1", upstream: "uwsgi://unix:/run/uwsgi/app/modoboa_instance/socket", host: "mail.Domain.ch", referrer: "https://mail.Domain.ch/accounts/login/?next=/"
If the password is wrong we get a "Username and Password do not match"
(Keep in mind, it works with users...)
It did work for a Month, and suddenly stopped working without configuration changes
Mails do get delivered still and can be accessed with a mail client
@tonioo commented on GitHub (Nov 26, 2018):
@Dogy007 Could you please set DEBUG to True inside settings.py, reload uwsgi and retry? You should see a more verbose output.
@Dogy007 commented on GitHub (Nov 26, 2018):
The soultion was allow modoboa connection to it's api. Otherwise logins in the admin user portal wasn't possible
@johnmays4545 commented on GitHub (May 8, 2019):
How do we allow modoboa connection to it's api? What config file do I need to modify
@johnmays4545 commented on GitHub (May 8, 2019):
Solution for this issue on my server was to disable Firewall blocking countries outside the USA