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

Failed to open url: Service Unavailable for outlook.com #29

Open
martindybal opened this issue Jun 1, 2021 · 6 comments
Open

Failed to open url: Service Unavailable for outlook.com #29

martindybal opened this issue Jun 1, 2021 · 6 comments
Labels
question Further information is requested

Comments

@martindybal
Copy link

I trying to use this extension with Outlook.com (not office 365). In log Failed to open url: Service Unavailable. But url is woking well, it download ics file to my computer without any authorization. What can be wrong?

@franc6
Copy link
Owner

franc6 commented Jun 1, 2021

MS has deprecated basic auth for many of their services (if you're not a "tenant"), and basic auth is the only login method currently supported by this component that MS also supported.

The login method that MS wants everyone to switch to is OAuth 2.0 which is probably supportable, just not as easily.

It's unclear to me if that's the problem or not, but it seems likely. Especially with that error message, which indicates the server responded with the specific code, 503, which means "Service unavailable". One way to test is if you have programs such as curl or wget, I can walk you through testing with either of them, using basic auth -- if they work, then the problem is something else. :)

@martindybal
Copy link
Author

C:\Windows\system32>curl.exe https://outlook.live.com/owa/calendar/XXXX/calendar.ics download ICS file correctly without any authentication.

@franc6
Copy link
Owner

franc6 commented Jun 10, 2021

How do you have the calendar configured?

@Ra7t0r
Copy link

Ra7t0r commented Jul 28, 2022

Hello.
I’m getting the same error for Apple iCloud ics url. Everything working perfect until this morning.

--EDIT--
I was able to solve the issue by creating a new shared calendar. (new ics url)
Strange.. but definitely not related with this custom component !!

@franc6
Copy link
Owner

franc6 commented Aug 16, 2022

@martindybal If this still doesn't work, please try the new user_agent option. Set it to something that matches a modern browser, like Firefox, Safari, Edge, or Chrome. Given that it's a Microsoft calendar, I'd probably start with Edge.

@franc6 franc6 added the question Further information is requested label Aug 16, 2022
@Boerni89
Copy link

@martindybal
At outlook.live.com you can publish a calendar as ics. No authentication is necessary.
You only need to open the settings on outlook.live.com via -> "View" -> "Calendar settings".
The tab "Calendar" -> "Shared calendars" at the bottom there is "Publish a calendar".
Select your calendar and set the permission to "Can view all details".
The link for the ics calendar should now appear at the bottom. The long token in the link should be treated like a password.
This works for me for my birthday calendar.

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

4 participants