After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686785 - Port of WebDAV source doesn't match SSL check
Port of WebDAV source doesn't match SSL check
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
evolution[caldav]
Depends on:
Blocks:
 
 
Reported: 2012-10-24 12:04 UTC by Petr Schindler
Modified: 2012-10-24 19:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (1.77 KB, patch)
2012-10-24 19:00 UTC, Milan Crha
committed Details | Review

Description Petr Schindler 2012-10-24 12:04:33 UTC
Version:
evolution-3.6.1-1.fc18.x86_64
Fedora 18

How to reproduce:

1. In calendar section click on arrow next to 'new' and choose calendar
2. Choose CalDAV as type.
- now I have some default name of calendar, and my name is filled in user text field
3. Give a name of server (I use server with ssl secure connection), check 'Use secure connection' and 'Ignore invalid SSL certificate'
4. Click on 'Find Calendars'

After that I get message that 'HTTP Error: SSL handshake failed'. Evolution doesn't connect to the server.

5. ok, that could be broken, so I give a path to my calendar and my email address
6. Click OK

Evolution doesn't download my calendar entries and even doesn't ask for a password.

I found one workaround:
1. and 2. are the same
3. Give a name of server plus '/' (e.g. server.com/ ), check all two boxes (ssl)
4. click on 'Find Calendars'
- now it will say: 'HTTP Error: Cannot resolve hostname (server.com/)
5. Erase the '/' from server name and click on 'Find Calendars' again

Now it will ask for a password to the server and offer me a list of my calendars. When I choose one, every other fields are filled and after confirmation of form I'll get working calendar.
Comment 1 Milan Crha 2012-10-24 12:08:03 UTC
Confirming, I can reproduce this too.
Comment 2 Milan Crha 2012-10-24 19:00:01 UTC
Created attachment 227190 [details] [review]
evo patch

for evolution;

There was missing sync between ESourceAuthentication::port and ESourceSecurity::secure, for cases where default port was used, thus, for me, there was checked to use https, but the port was left on 80.
Comment 3 Milan Crha 2012-10-24 19:03:45 UTC
Created commit 529b5bf in evo master (3.7.2+)
Created commit f641be5 in evo gnome-3-6 (3.6.2+)