mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[GH-ISSUE #3041] Calendar creation fails with HTTP 504 #1742
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#1742
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 @dabis-eu on GitHub (Aug 9, 2023).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3041
Impacted versions
Steps to reproduce
Create simple user and/or Domain Admin. Log in as user. Click 'Calendars' from top bar. Click '+ New calendar'. Enter details and click 'Create'.
Current behavior
New calendar dialog box stays open and calendar is not created.
POST gets sent after about a minute following error is thrown in network console:
POST https://xxx.xxx.eu/api/v1/user-calendars/ 504 vue-resource.esm.js:996
(anonymous) @ vue-resource.esm.js:996
u @ vue-resource.esm.js:192
ce @ vue-resource.esm.js:935
de @ vue-resource.esm.js:1091
(anonymous) @ vue-resource.esm.js:1053
r @ vue-resource.esm.js:1050
_e @ vue-resource.esm.js:1300
Ce.o. @ vue-resource.esm.js:1361
A @ api.js:18
createCalendar @ calendar.js:25
(anonymous) @ vuex.esm.js:851
y.dispatch @ vuex.esm.js:516
dispatch @ vuex.esm.js:406
saveCalendar @ CalendarForm.vue:109
submit @ CalendarForm.vue:1
$n @ vue.runtime.esm.js:3017
n @ vue.runtime.esm.js:1815
Aa.o._wrapper @ vue.runtime.esm.js:7473
/calendars/#/:1 Uncaught (in promise) e {url: '/api/v1/user-calendars/', ok: false, status: 504, statusText: '', headers: e, …}
Promise.then (async)
saveCalendar @ CalendarForm.vue:109
submit @ CalendarForm.vue:1
$n @ vue.runtime.esm.js:3017
n @ vue.runtime.esm.js:1815
Aa.o._wrapper @ vue.runtime.esm.js:7473
If i go to /api/v1/user-calendars/ and try /api/v1/user-calendars/check_token/ i get the following response:
HTTP 405 Method Not Allowed
Allow: POST, OPTIONS
Content-Type: application/json
Vary: Accept
{
"detail": "Method "GET" not allowed."
}
Reading other closed problems with calendar creation i can rule out the following:
Certificate is letsencrypt full chain
/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py generate_rights --force Didn't solve the problem
/var/log/supervisor/radicale-stdout---supervisor-9hqo2x5x.log is empty
"ssl_verify_cert=False" line in /srv/modoboa/env/lib/pythonX.X/site-packages/modoboa_radicale/backends/caldav_.py is added
proxy_pass_header Authorization; is in nginx config (as per installer)
Expected behavior
Window closes and new calendar is created
Video/Screenshot link (optional)
@dabis-eu commented on GitHub (Aug 18, 2023):
Turned out to be a firewall issue on our DMZ Network, ports was blocked
closed