naimo84 / node-red-contrib-ical-events

Node-RED module to get events from a iCal Calender (Google e.g.), icloud or Caldav Server via kalender-events
MIT License
47 stars 11 forks source link

unable to verify the first certificate #109

Closed cubecell closed 2 years ago

cubecell commented 2 years ago

Describe the bug After the update to v1.5.0 the following error message appears: caldav - get calendar went wrong. Error Message: FetchError: request to https://my-nextcloud-on-synology failed, reason: unable to verify the first certificate. Last working version: v1.3.0

Are there any TLS options ?

**node-red-contrib-ical-events

naimo84 commented 2 years ago

Hi @cubecell,

unfortunatelly I didn't check an update of the CalDAV lib scrapegoat closelly enough... They did indeed change the underlying request lib to cross-fetch and forgot to implement rejectUnauthorized...

https://github.com/peerigon/scrapegoat/pull/47

I will have to investigate some more, but as a quickfix I can publish a new ical-events with a downgraded scrapegoat lib ;)

Greets, Benjamin

naimo84 commented 2 years ago

v.1.5.1 should be online ;)

cubecell commented 2 years ago

Everything works again! Thanks!

naimo84 commented 2 years ago

I'm pleased, it works again. Sorry for the circumstances ;)