Radicale icon indicating copy to clipboard operation
Radicale copied to clipboard

[ERROR] An exception occurred during request: SSL handshake failed: EOF occurred in violation of protocol (_ssl.c:749)

Open uenz opened this issue 3 years ago • 9 comments

Hi, i set up radicale with ssl according to the documentation with self signed certificate. To get it work with an iPhone i hat to comment out the certificate_authority part. It works fine with iPhones over ssl. [server] ssl = True certificate = /path/to/server_cert.pem key = /path/to/server_key.pem #certificate_authority = /path/to/client_cert.pem

But with MacOS connecting the same url as the iphone i get the [ERROR] An exception occurred during request: SSL handshake failed: EOF occurred in violation of protocol (_ssl.c:749) The certificate is also set to trusted. Now i ran out of ideas. Can someone give me an hint?

uenz avatar Sep 20 '21 18:09 uenz

I've seen something suspiciously similar with DAVx5 and Radicale 3.0. I'm wondering how Radicale 3.0 broke DAVx5. There are a number of potential causes, but right now I don't have any clues.

ehem avatar Dec 06 '21 01:12 ehem

Any news on bug 1183? This seems a serious issue since I hope no one sends their contacts and calendar around without SSL/TLS.

ehem avatar Jan 19 '22 22:01 ehem

Due to factors it was handy to test 3.1.5. For me Radicale 3.1.5 appears to solve this issue.

This issues DB is looking like a black hole. There is no reference to this in any commit message, so I'm completely unaware what the problem was.

ehem avatar Apr 18 '22 19:04 ehem

I also have Radicale 3.1.5. iOS works, with latest MacOS Monterey (12.3.1) adding a CalDAV account with SSL brings "[ERROR] An exception occurred during request: SSL handshake failed: EOF occurred in violation of protocol (_ssl.c:1129)" What's your setup ?

Woastscho avatar Apr 19 '22 11:04 Woastscho

I get no more SSL Exception with MacOS Monterey (12.3.1) since Radicale 3.1.5. But Contacts does not show any items for the radicale server.

uenz avatar Apr 19 '22 11:04 uenz

@unez @ehem I have Ubuntu 21.10 with Radicale 3.1.5, MacOS 12.3.1. I add CalDAV account in MacOS Calendar App and get: "[ERROR] An exception occurred during request: SSL handshake failed: EOF occurred in violation of protocol (_ssl.c:1129)" on server side config.txt Do you have any hints for me about your setup ?

Woastscho avatar Apr 19 '22 14:04 Woastscho

@uenz sorry

Woastscho avatar Apr 19 '22 15:04 Woastscho

@Woastscho The SSL related parts in my config are the same. But MacOS sync is not working for me, only iPhone.

uenz avatar May 01 '22 17:05 uenz

Except for the last bit – (_ssl.c:997) – , I get the same error on iOS when I try to synchronize my tasks. Calendar on iOS works fine, on macOS everything works fine.

habibi-hapti avatar Aug 17 '22 07:08 habibi-hapti