-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Auth to calendar not working #1696
Comments
the code in the fetcher (gets the ics file) says
i don't know what 'sendImmediatrely' means, but maybe u want to try method: "digest" as u noted there are no error messages for failed authentication |
same result with "digest" setting. |
fetcher is run in the background , so you cannot interactively debug in the UI side of the mirror app. u can add console.log stmts to the fetcher code and see them when u start the mirror like this
they will show in the terminal window I use ssh to connect from my PC to the mirror so I can do all this debugging.. you could add code here , line 57 of fetcher
to output the error.. my 'guess' is that this site wanted something other and user/pass tokens the fetchFailedCallback is just an empty routine currently |
That makes sense. So some code is run on server side only and some on client side. Thank you for the info. |
Got the error at least:
|
yep
looks like the start of the event hasn't been seen yet, only the end.. |
i am just another user like you.. I didn't write any of this code, so don't really know what is supposed to be happening here... sort of looks like if we didn't find a start of event,
fake one..
also, looks like a recurring event |
Got it: curr.start was not a date but probably a string when examining the ics file. It had nothing to do with authentication. Here is the fix of node-ical.js, lines 40 to 43.
|
you should submit that as a pull request |
How to do that? I think I do not have permissions for a PR. At least I can't push my bug branch of develop to origin. |
create a fork of the master see then git clone that fork to your mirror make your changes commit them, then push that commit to your fork then create a pull request https://help.github.com/en/articles/creating-a-pull-request-from-a-fork |
Description:
I think the authentication, error logging or event system respectively is not working properly.
If you try to auth against a calender like this:
https://5a15a-de.netcup-mail.de/SOGo/dav/raspi@5a15a.de/Calendar/personal.ics
There is no error message, none of the console.log() messages or anything. It simply does not show up. If you put above link in your browser, a login screen is presented. In case you provide the correct credentials, the ics file can be accessed.
Steps to Reproduce:
try to show https://5a15a-de.netcup-mail.de/SOGo/dav/raspi@5a15a.de/Calendar/personal.ics
in your calendar module.
Expected Results:
At least auth errors or messages in browser console: the messages of node_helper.js and the stuff of notifaction handler override in calendar.js.
Actual Results:
nothing of above
Configuration:
Additional Notes:
The calendar to access is of SOGo Groupware.
The text was updated successfully, but these errors were encountered: