Skip to content
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

[QUESTION]: I keep getting 405 with caldav - what is wrong? #127

Closed
wuppiwuppi opened this issue Feb 16, 2022 · 5 comments
Closed

[QUESTION]: I keep getting 405 with caldav - what is wrong? #127

wuppiwuppi opened this issue Feb 16, 2022 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@wuppiwuppi
Copy link

wuppiwuppi commented Feb 16, 2022

Hi,

I believe I am just missing some point in my configuration...

My setup is:

  • homeassistant with node red add on and this beautiful extension
  • nextcloud as a caldav source using a public link like this: https:// some domain /index.php/apps/calendar/p/SanHbkwwYbsMm39b
  • configured that url as type CalDav in the configuration node
  • there is no username / password required for this url. tried to name the calendar or leave the field empty

I keep getting this error message:
"caldav - get calendar went wrong. Error Message: Error: Response with status code: 405"

Any hints?

thanks

@wuppiwuppi wuppiwuppi added the question Further information is requested label Feb 16, 2022
@naimo84
Copy link
Owner

naimo84 commented Feb 16, 2022

Hi @wuppiwuppi,

If I try your link from above, I'm redirected to some advertisement sites. So is this really a caldav source?

Response Code 405 means "Method not allowed". I'm sure that a advertisement site won't allow "PROPFIND" or something else caldav specific ;)

Greets,
Benjamin

@wuppiwuppi
Copy link
Author

Hi,

wow sorry - I did not dare to post my real calendar and thus invented some url. I do not own "aaa.de" and I was not aware that this really leads to something. I removed the above url to avoid future clicks...

So - my real url is a not password protected nextcloud calendar. When clicking on it, it opens a web-calendar. I assume it is an automatic web-view of that caldav source ...

@naimo84
Copy link
Owner

naimo84 commented Feb 17, 2022

Hey,
no worries ;) This was the most obvious problem ;)

If you have a look at https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html
your url has be be like https://...some domain.../remote.php/dav/calendars/

This might be the real problem ;)

Greets,
Benjamin

@wuppiwuppi
Copy link
Author

Hi,

thanks for your dedication to this ;)
So I guess that "Share public link" does serve only a web-version of a calendar. Not CalDav.
Using a private link with a login does not throw these errors.

So this seems to solve it for now.
However I have another Question: Is it possible to get events when the reminder-time of a calendar event is entered?

@naimo84 naimo84 self-assigned this Feb 18, 2022
@naimo84
Copy link
Owner

naimo84 commented Feb 19, 2022

hi @wuppiwuppi,

nice to read it's working now 👍

to your second question. generally the nodes only output the alarm/reminder time, but do not throw an event, when the reminder time is entered. this might be a new feature #129 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants