Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant' create calendars #49

Open
protogonfs opened this issue Jul 12, 2019 · 7 comments
Open

Cant' create calendars #49

protogonfs opened this issue Jul 12, 2019 · 7 comments

Comments

@protogonfs
Copy link

  • 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 protogonfs changed the title Cant' create caledar for users Cant' create caledars Jul 12, 2019
@dirkjf
Copy link

dirkjf commented Oct 30, 2019

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

@tonioo
Copy link
Member

tonioo commented Nov 22, 2019

@dirkjf Are you using a valid certificate?

@dirkjf
Copy link

dirkjf commented Nov 22, 2019

@tonioo, yes I use a valid certificate.

@abonanni
Copy link

abonanni commented Dec 6, 2019

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

@abonanni
Copy link

abonanni commented Dec 6, 2019

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')],)",),)"

@tonioo
Copy link
Member

tonioo commented Dec 6, 2019

@abonanni are you sure your certificate chain is complete?

@tonioo tonioo transferred this issue from modoboa/modoboa Mar 9, 2020
@PetroGolovnya
Copy link

PetroGolovnya commented Jun 2, 2020

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?

@kryskool kryskool changed the title Cant' create caledars Cant' create calendars Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants