No visual feedback at all when unsuccessfully adding caldav calendar (HTTP 400 due to using http instead of https)
Steps to reproduce:
- Open GNOME Calendar.
- Open the "Manager Calendars" dialogue.
- Click "Add Calendar...".
- Instead of naming a new calendar, fill in the url of a caldav calendar. For example, mine looks something like
https://posteo.de:8443/calendars/<user>/default
. - Enter the right username and password when prompted, and finish by clicking "Add".
Expected behaviour:
The calendar I just added shows up in the list of calendars and is usable.
Actual behaviour:
The list of calendars is still empty, and none of the events in my calendar are visible. In fact, there is no visible change at all.
Curiously, the calendar does, in fact, show up in Evolution under "Online" calendars. However, Evolution gives an warming saying it cannot connect to the calendar, and none of the events show up.
Here is the relevant log section of Gnome Calendar when running with the --debug
flag:
09:43:42.0742 GcalNewCalendarPage: DEBUG: Unauthorized, asking for credentials...
09:43:54.0260 GcalNewCalendarPage: DEBUG: Found 3 sources
09:43:57.0430 GcalCalendarManagementPage: DEBUG: Activating GcalCalendarsPage
09:43:57.0430 GcalCalendarManagementPage: DEBUG: Deactivating GcalNewCalendarPage
09:43:57.0452 GcalManager: WARNING: Failed to open/connect to calendar: Unable to connect to “Personleg”: The name org.gnome.evolution.dataserver.Calendar8 was not provided by any .service files
09:43:57.0455 GcalManager: WARNING: Failed to open/connect to calendar: Unable to connect to “Studie”: The name org.gnome.evolution.dataserver.Calendar8 was not provided by any .service files
09:43:57.0456 GcalManager: WARNING: Failed to open/connect to calendar: Unable to connect to “Viktig”: The name org.gnome.evolution.dataserver.Calendar8 was not provided by any .service files
09:43:57.0695 GcalManager: WARNING: source_credentials_required_cb: Failed to authenticate 'Personleg': Bad Request
09:43:57.0796 GcalManager: WARNING: source_credentials_required_cb: Failed to authenticate 'Personleg': Bad Request
09:43:57.0802 GcalManager: WARNING: source_credentials_required_cb: Failed to authenticate 'Studie': Bad Request
09:43:57.0893 GcalManager: WARNING: source_credentials_required_cb: Failed to authenticate 'Studie': Bad Request
09:43:57.0946 GcalManager: WARNING: source_credentials_required_cb: Failed to authenticate 'Viktig': Bad Request
09:43:58.0047 GcalManager: WARNING: source_credentials_required_cb: Failed to authenticate 'Viktig': Bad Request
As you can see, Gnome Calendar did correctly recognize three calendars.
Details
I am running an up-to-date stable Debian system. Gnome Calendar is installed as flatpak:
~ > flatpak run org.gnome.Calendar --version
gnome-calendar: Version 3.34.0
Meanwhile, Evolution is installed as a system application:
~ > evolution --version
evolution 3.30.5-1.1
Please let me know if you need any other information.