modoboa-radicale icon indicating copy to clipboard operation
modoboa-radicale copied to clipboard

Cant' create calendars

Open protogonfs opened this issue 5 years ago • 7 comments

  • Modoboa: 1.13.1 and 1.14
  • installer used: Yes
  • Webserver: Nginx
  • OS: Ubuntu 18.04.2 LTS

Steps to reproduce

With a fresh installation done trough the installer, try to create a new calendar for a user.

Current behavior

When I click on 'Create', nothing seems to happen. Error 500 came up in /var/log/uwsgi/app/modoboa_instance.log. Using a Let's Encrypt certificate for SSL. Error: [...] [pid: 2667|app: 1|req: 54/81] <Client_IP_removed> () {58 vars in 1162 bytes} [Wed Jul 10 17:38:09 2019] POST /api/v1/user-calendars/ => generated 882 bytes in 412 msecs (HTTP/1.1 500) 5 headers in 181 bytes (1 switches on core 0)

Expected behavior

When clicking on 'Create', Modoboa will proceed to create the calendar and no errors show up in logs.

protogonfs avatar Jul 12 '19 11:07 protogonfs

I can confirm I also have this issue on a fresh install on Ubuntu 18.04 LTS with Nginx.

dirkjf avatar Oct 30 '19 18:10 dirkjf

@dirkjf Are you using a valid certificate?

tonioo avatar Nov 22 '19 14:11 tonioo

@tonioo, yes I use a valid certificate.

dirkjf avatar Nov 22 '19 15:11 dirkjf

Same problem with a self signed certificate. Is it possible to add a parameter like "verify_ssl = false" ?

abonanni avatar Dec 06 '19 11:12 abonanni

I had the Certificate Authority in the system. curl and wget are working welle but python generate error "Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),)"

abonanni avatar Dec 06 '19 12:12 abonanni

@abonanni are you sure your certificate chain is complete?

tonioo avatar Dec 06 '19 19:12 tonioo

In modoboa 1.15.0 and modoboa-radicale 1.4.3 i have same issue. With 500 error. Certificate from letsencrypt. I can create calendar, bit not can to create events in calendar.

{50 vars in 939 bytes} [Tue Jun 2 04:35:41 2020] GET /calendars/ => generated 5699 bytes in 295 msecs (HTTP/1.1 200) 5 headers in 163 bytes (1 switches on core 0) {48 vars in 832 bytes} [Tue Jun 2 04:35:41 2020] GET /jsi18n/ => generated 3223 bytes in 71 msecs (HTTP/1.1 200) 5 headers in 171 bytes (1 switches on core 0) {52 vars in 1019 bytes} [Tue Jun 2 04:35:42 2020] GET /api/v1/shared-calendars/ => generated 2 bytes in 74 msecs (HTTP/1.1 200) 6 headers in 193 bytes (1 switches on core 0) {52 vars in 1015 bytes} [Tue Jun 2 04:35:42 2020] GET /api/v1/user-calendars/ => generated 264 bytes in 81 msecs (HTTP/1.1 200) 6 headers in 195 bytes (1 switches on core 0) {50 vars in 1151 bytes} [Tue Jun 2 04:35:42 2020] GET /api/v1/user-calendars/10/events/?start=2020-05-31T00%3A00%3A00%2B07%3A00&end=2020-06-07T00%3A00%3A00%2B07%3A00&_=1591065343477 => generated 19091 bytes in 273 msecs (HTTP/1.1 500) 5 headers in 184 bytes (1 switches on core 0) {50 vars in 954 bytes} [Tue Jun 2 04:35:55 2020] GET /core/top_notifications/check/ => generated 67 bytes in 108 msecs (HTTP/1.1 200) 5 headers in 153 bytes (1 switches on core 0) {58 vars in 1183 bytes} [Tue Jun 2 04:35:57 2020] POST /api/v1/user-calendars/10/events/ => generated 19741 bytes in 162 msecs (HTTP/1.1 500) 5 headers in 184 bytes (1 switches on core 0) {50 vars in 958 bytes} [Tue Jun 2 04:36:12 2020] GET /core/top_notifications/check/ => generated 2 bytes in 87 msecs (HTTP/1.1 200) 5 headers in 152 bytes (1 switches on core 0)

modoboa-radicale and radicale must be connected by SSL?

PetroGolovnya avatar Jun 02 '20 02:06 PetroGolovnya