Weird problem accessing ics file
-
Hello. I found the problem that the calendar file is returned empty. It has basic iCal headers, but no entries themselves.
curl -H 'Host: webmail.vivaldi.net' \ -H 'accept: text/calendar' \ -H 'authorization: Basic {XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}' \ 'https://webmail.vivaldi.net/?_task=calendar&_cal={XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}.ics&_action=feed'
Of course
{XXXX}
I disguised, in fact they are worth the right.BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Roundcube libcalendaring 1.6.1//Sabre//Sabre VObject 2.1.7//EN CALSCALE:GREGORIAN END:VCALENDAR
At the same time, if you request a file from the browser, then the calendar file is returned correctly filled.
How did I even discover the problem? I am using the ICSx⁵ app on my smartphone and there are no entries. Previously, about 2-3 months ago, they were, then they began to disappear from the server responses more and more often, and now they are completely absent.
I tried to create a calendar with a single entry, but when checking its work, it turned out that everything is similar with it.
I also got the impression that about 1 out of 50-100 queries returns the correct result.
-
I am adding.
It seems to require the
roundcube_sessid
cookie to work properly. I tried to substitute it, and the full calendar is always downloaded with it.But questions remain:
- Why was everything working fine about 2 months ago.
- Why sometimes now works without cookies.
- Requesting it is illogical, since the ics file is usually used for external applications that simply download the file, outside of the browser and outside of authorization through Webmail.
-
@obiwan1 Vivaldi'S Webmail calendars are not public accessible. And Roundcube with its Sabre backend has authentication with session cookies.
-
@obiwan1 Strange that the calendar is not redable without authentication, it is not clear in description for the shown popup of calendar URL.
Please report issue to Vivaldi bug tracker. Once that is done, share the bug number (beginning with VB-) you got by bug report mail. Thanks for helping us making Vivaldi better.
-
@obiwan1 I suspect the problem is that you're trying to access the calendar files via roundcube. Try instead accessing them directly at
calendar.vivaldi.net
. See the full instructions for using a CalDAV client with our services. -
@obiwan1 Vivaldi'S Webmail calendars are not public accessible.
Yes, it is, so the header is used:
-H 'authorization: Basic {XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}'
for basic http authorization.
Please report issue to Vivaldi bug tracker. Once that is done, share the bug number (beginning with VB-) you got by bug report mail. Thanks for helping us making Vivaldi better.
The bugtracker is for the browser, isn't it? But my problem is about vivaldi.net web services.
@obiwan1 I suspect the problem is that you're trying to access the calendar files via roundcube. Try instead accessing them directly at calendar.vivaldi.net. See the full instructions for using a CalDAV client with our services.
I am trying to access .ics file via a direct link which is available in the calendar web interface. It says that this link needs to be copied to applications for calendar synchronization:
Use the following address to access (read only) your calendar from other applications. You can copy and paste this into any calendar software that supports the iCal format.
Accordingly, the only thing that additionally needs to be configured in the application for synchronization (in my case it is ICSx⁵) is the basic http authorization.
BUT this is not enough, to download this file you still need to be logged into the mail via the web interface, which completely negates the idea of using .ics files outside the browser via a direct link. The link to them already contains a random set of characters in the file name for every calendar (in my example I replace them to {XXXXXXXX}) so that no one else can access it.
It's like having an API specifically for working with mobile apps, but limiting its use to just the browser.
@obiwan1 I suspect the problem is that you're trying to access the calendar files via roundcube. Try instead accessing them directly at calendar.vivaldi.net. See the full instructions for using a CalDAV client with our services.
I need an iCal file, not CalDAV. They are used for different purposes.
-
@obiwan1 said in Weird problem accessing ics file:
The bugtracker is for the browser, isn't it?
in bugtracker you can select for Affected product "Vivaldi Services" and send report for a vivaldinet service.
-
Once that is done, share the bug number (beginning with VB-) you got by bug report mail.
(34129351742) Support ticket: Access to the .ics file requires logging into the service through a browser