-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cannot subscribe to birthday calendar from Facebook #26558
Comments
Looks like the following is causing the issue here:
To make sure that this is indeed your issue i would suggest to clear your logfiles (the current posted looks quite large and seems to contain als unrelated and old stuff). Then try to just add that webcal address to only get the relevant log entries to that problem. Furthermore i suggest to remove the logfiles in your initial post at it looks like these are containing quite personal data like names etc. I wouldn't post stuff like this publicly. |
And just did a short research and stumbled over: It seems you have put in: webcals://www.facebook.com/ical/u.php?... into the input field of ownCloud. However the calendar app is not using such webcals:// urls and you need to use: https://www.facebook.com/ical/u.php?... instead. Not a bug in oC from my PoV but a wrong usage due to the lack of documentation for the calendar app. |
Ok, I'll update that tomorrow. In the meantime, I found out some additional information. |
Thanks for your support. Regarding your assumption that using webcal:// instead of http(s):// could be the cause of the behaviour: I tried both and no difference. In the browser network log (I cannot export it) there are two entries:
For the first packet, I do not have an answer document, but for the second packet, the answer document is: <?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:card="urn:ietf:params:xml:ns:carddav" xmlns:oc="http://owncloud.org/ns">
<d:response>
<d:href>/remote.php/dav/calendars/testuser/geburtstage-von-freunden-6/</d:href>
<d:propstat>
<d:prop>
<d:displayname>Geburtstage von Freunden</d:displayname>
<d:resourcetype>
<d:collection/>
<cs:subscribed/>
</d:resourcetype>
<x1:calendar-order xmlns:x1="http://apple.com/ns/ical/">0</x1:calendar-order>
<x1:calendar-color xmlns:x1="http://apple.com/ns/ical/">#74a2e7</x1:calendar-color>
<cal:supported-calendar-component-set>
<cal:comp name="VTODO"/>
<cal:comp name="VEVENT"/>
</cal:supported-calendar-component-set>
<d:acl>
<d:ace>
<d:principal>
<d:href>/remote.php/dav/principals/users/testuser/</d:href>
</d:principal>
<d:grant>
<d:privilege>
<d:read/>
</d:privilege>
</d:grant>
<d:protected/>
</d:ace>
<d:ace>
<d:principal>
<d:href>/remote.php/dav/principals/users/testuser/</d:href>
</d:principal>
<d:grant>
<d:privilege>
<d:write/>
</d:privilege>
</d:grant>
<d:protected/>
</d:ace>
<d:ace>
<d:principal>
<d:href>/remote.php/dav/principals/users/testuser/calendar-proxy-write/</d:href>
</d:principal>
<d:grant>
<d:privilege>
<d:read/>
</d:privilege>
</d:grant>
<d:protected/>
</d:ace>
<d:ace>
<d:principal>
<d:href>/remote.php/dav/principals/users/testuser/calendar-proxy-write/</d:href>
</d:principal>
<d:grant>
<d:privilege>
<d:write/>
</d:privilege>
</d:grant>
<d:protected/>
</d:ace>
<d:ace>
<d:principal>
<d:href>/remote.php/dav/principals/users/testuser/calendar-proxy-read/</d:href>
</d:principal>
<d:grant>
<d:privilege>
<d:read/>
</d:privilege>
</d:grant>
<d:protected/>
</d:ace>
</d:acl>
<d:owner>
<d:href>/remote.php/dav/principals/users/testuser/</d:href>
</d:owner>
<cs:source>
<d:href>http://www.facebook.com/ical/b.php?uid=xxxxxxx&key=yyyyyyy</d:href>
</cs:source>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
<d:propstat>
<d:prop>
<cal:calendar-description/>
<cal:calendar-timezone/>
<oc:calendar-enabled/>
<oc:invite/>
</d:prop>
<d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
</d:multistatus> |
I see following error in the js error console:
@felixheidecke mind taking a look? There is something broken in the ical processing in the calendar app - THX |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
#I want to have my Facebook friends' birthdays available in my OwnCloud calendar. I saw that there's such a convenient function like "subscribe". This is working pretty fine (so far) for my Facebook events, but when trying to subscribe to the birthdays calendar, an exclamation mark is shown next to the subscribed calendar and no birthday events are shown.
I'm not sure about the issue, but some ics verifiers reported an issue with the downloaded ics file from Facebook. For example, the verifier at http://severinghaus.org/projects/icv/ reports the ics to be invalid due to a wrong date in DTSTART. It probably expects yyyymmddThhmmssX, but Facebook only provides yyyymmdd. I checked that in RFC 2445 and according to that, the DTSTART parameter is correct here, so the verifier is wrong. Could this be a similar issue here?
Is there any way to debug that further? (I would even try to help fix this issue, but I'm a beginner and it might take long until I can be productive here...)
By the way, when using the ICS file and import it into a new calendar, this also doesn't work.
Here is a sample ICS file where this issue is appearing:
#############################
BEGIN:VCALENDAR
PRODID:-//Facebook//NONSGML Facebook Events V1.0//EN
X-WR-CALNAME:Geburtstage von Freunden
X-PUBLISHED-TTL:PT12H
X-ORIGINAL-URL:https://www.facebook.com/events/birthdays/
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20161108
SUMMARY:Michael Meier's birthday
RRULE:FREQ=YEARLY
DURATION:P1D
UID:[email protected]
END:VEVENT
END:VCALENDAR
#############################
Steps to reproduce (original issue)
(Navigate to https://www.facebook.com/events/upcoming, right-click "birthdays" on the right and copy the link into the clipboard)
As I do not get any logs using this procedure, I tried another approach which also did not work correctly and might have the same root cause:
Steps to reproduce (modified)
(Navigate to https://www.facebook.com/events/upcoming, right-click "birthdays" on the right and copy the link into the clipboard)
Expected behaviour
All the birthdays of my Facebook friends should now appear in the Calendar
Actual behaviour
None of the birthdays is shown, instead there's an exclamation mark next to the subscribed calendar.
Server configuration
Operating system:
Ubuntu 16.04.1 LTS Server version
Web server:
Apache/2.4.18 (Ubuntu)
Database:
mysqld Ver 5.7.16-0ubuntu0.16.04.1 for Linux on x86_64 ((Ubuntu))
PHP version:
PHP 7.0.8-0ubuntu0.16.04.3
ownCloud version: (see ownCloud admin page)
ownCloud 9.1.1 (stable)
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
apt-get install
Signing status (ownCloud 9.0 and above):
No errors have been found.
List of activated apps:
Enabled:
Disabled:
The content of config/config.php:
{
"system": {
"updatechecker": false,
"instanceid": "ocnrxoiauxnh",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"192.168.178.7",
"toms.ddns.net"
],
"datadirectory": "/var/lib/owncloud",
"overwrite.cli.url": "http://192.168.178.7/owncloud",
"dbtype": "mysql",
"version": "9.1.1.3",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"mail_from_address": "owncloud",
"mail_smtpmode": "php",
"mail_domain": "testinstance.sampledom.de",
"loglevel": 0
}
}
Are you using external storage, if yes which one:
Google Drive
Dropbox
FTP
Are you using encryption:
no
Are you using an external user-backend, if yes which one:
no
Client configuration
Browser:
Mozilla Firefox 50.0
Operating system:
Microsoft Windows 10 Professional German Version 10.0.14393
Logs
Web server access log
192.168.178.76 - - [07/Nov/2016:09:01:51 +0100] "GET /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 2950 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"
Web server error log
none
ownCloud log (data/owncloud.log)
The text was updated successfully, but these errors were encountered: