Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Auth to calendar not working #1696
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:
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
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
Got the error at least:
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,
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.
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