-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error in 2.0.0 and 2.0.1 #114
Comments
Oh no André 😐 I have no idea, what's going wrong with the iCloud Part of my kalender-events lib 😐 May you try v1.5.2 please? |
I did a quick test with both (2.0.0 and 2.0.1). Both are working locally and the unit test in the github action also seems to work... I will discontinue my work with ical events.... Every version something else is broken :/ You can send me a debug log, like described here: https://naimo84.github.io/node-red-contrib-ical-events/guide/debug.html |
It's really really strange. It tested it with 4 node-red installations with some combinations of node-red version, nodejs version and ical-events version. All seems to be ok.... So one way will be the debug log. Sorry for the inconveniences. |
A type of undocumented feature of my lib kalender-events is a cli interface. Perhaps you may try this also? DEBUG=kalender-events* npx kalender-events@0.23.0 upcoming --type icloud --preview P10D --pastview P10D --url **https://p51-caldav.icloud.com/123456789/calendars/home/** --username **andre@example.com** --password **abcd-efgh-ijkl-mnop** The only occurrence of |
Benjamin,
I will try this and let you know.
I do not agree every version of your node something is broken.
Your node has worked me for almost two years without any problem at all.
But changing software is a delicate operation for all of us.
The latest versions did create some issues, I can only agree.
Met vriendelijke groeten, Kind regards, Mes meilleures salutations, Freundliche Grüße
André Hartman
Rodeweg 90
B-2920 Kalmthout
België
… Op 22 dec. 2021, om 13:12 heeft Benjamin ***@***.***> het volgende geschreven:
A type of undocumented feature of my lib kalender-events is a cli interface. Perhaps you may try this also?
DEBUG=kalender-events npx kalender-events upcoming --type icloud --preview P10D --pastview P10D --url **https://p51-caldav.icloud.com/123456789/calendars/home/** --username ***@***.***** --password **abcd-efgh-ijkl-mnop**
The only occurrence of throw new Error("No data") is directly after the request call of 'https://p51-caldav.icloud.com/123456789/calendars/home/ <https://p51-caldav.icloud.com/123456789/calendars/home/>'. This means it's something wrong with the icloud request. Wrong url, username or password...
—
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAFIBPDDFWGM2QWEHQA3IQDUSG6CTANCNFSM5KSGTQQA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
Benjamin, First I checked that there is a valid events on 2" December. Welcome to Node-RED23 Dec 07:12:35 - [info] Node-RED version: v2.1.4 You can easily find the 'Error: no data' lines. However, what surprises me most of all is that going to version 1.5.2 does not help: 2021-12-23T06:24:23.490Z kalender-events getEvents - pastview: Thu Dec 23 2021 00:00:00 GMT+0100 So, now with 1.5.2 I also no longer get any data out of ical. It looks like using version 2.0.x permanently broke something, but I think that should be impossible. I did some additional testing. Normally I use 'iCloud secure' as I am reading patients appointments. For testing I set up an 'insecure' iCal configuration node and that works fine. Apparently the issue sits in the secure part. My last idea is that Apple changed something in how to access iClod calendars securely. that would explain why version 1.5.2 also no longer returns results. Regards, ahartman, belgium |
Hi Andre, Thanks for sharing the debug log. I've removed the Basic Auth Header for you from the logs ;) Maybe your application password is expired? Does apple offer such an option? You can test this even without nodejs, just pure linux curl (replace abcd-... password and username😉 ) :
Greets, |
Benjamin, |
Benjamin,
It works for me now as well!
What I noticed is that I was using ***@***.*** in the node configuration.
Apple has used several domain names over the years and they are supposed to all resolve the some ‘icloud’ domain.
I changed ***@***.*** to ***@***.*** and that solved the issue.
I suspect maybe Apple is trying to phase out some of the old domain names.
So, all is well again.
"Fröhliche Weihnachten und einen guten Rutsch ins neue Jahr”, wünsche ich dir.
Met vriendelijke groeten, Kind regards, Mes meilleures salutations,
André Hartman
Rodeweg 90
B-2920 Kalmthout
België
… Op 24 dec. 2021, om 08:05 heeft Benjamin ***@***.***> het volgende geschreven:
Good Morning,
with this new password kalender-events is working on my side.
<https://user-images.githubusercontent.com/11535502/147327478-38e430be-b244-4553-a919-a33f5a2d0ef6.png>
If it's not working on your side, I only can implement more debug infos to find the error.
Happy Christmas anyway 😉
Benjamin
—
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAFIBPDVGK7BWXDTOPPPBHLUSQLTRANCNFSM5KSGTQQA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
Dear André, I hope it's the last issue for some time 😉 otherwise it's always a pleasure to write with you 👍 "Dankeschön, ich wünsche dir auch ein schönes Weihnachtsfest und einen guten Rutsch ins Neue Jahr." Grüße aus Bayern P. s. I'll close this issue for now, feel free to reopen it 😊 |
@ahartman : be careful 😉 i published a new version 😐 |
Dear Benjamin,
I just upgraded your node - after backing up - and I note an issue.
I have always filtered in your node with a regular expression the nodes that are of interest to me; see attached image.
That no longer works, the latest version now passes all events in that calendar for that day.
So, I am happy that I have the backup!
Regards, ahartman, belgium
… Op 30 jan. 2022, om 13:44 heeft Benjamin ***@***.***> het volgende geschreven:
@ahartman <https://github.com/ahartman> : be careful 😉 i published a new version 😐
—
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAFIBPBKSFAE2VBZB52JZKDUYUXBXANCNFSM5KSGTQQA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.
|
Dear André, I knew it... I've double checked (triple checked) my code... But I have definitely not changed the logic with the regular expressions :( I can't see your image attached. May you re-upload it perhaps? Backing up before any of my updates is always a good idea ;) Greets, |
Benjamin,
Please find my image attached.
I will play around with the node to see if gets back to its old ways.
Regards, André Hartman
… Op 3 feb. 2022, om 09:40 heeft Benjamin ***@***.***> het volgende geschreven:
Reopened #114 <#114>.
—
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAFIBPHAUYHEAU5AACPGBPDUZI5PNANCNFSM5KSGTQQA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.
|
André, I think you have to upload it via the github website. Answering via mail seems not to upload any image ;) Thanks and regards, |
I tried a update from 1.5.6 and from 2.0.2 to v2.1.1 and this doesn't happen to me ... I also have no idea... Sorry |
Dear Benjamin,
I updated this morning to 2.0.0 and got "Error: no data" instead of events.
Then I noticed a newer 2.0.1 and installed that version, no error any more but also no incoming events.
I went to all the way back to 1.5.0 after that and also no events.
Any ideas?
Regards, ahartman, belgium
The text was updated successfully, but these errors were encountered: