尝试在Yahoo Calendar中订阅ical日历供稿时出现错误500 [英] Error 500 when trying to subscribe to ical calendar feed in Yahoo Calendar

查看:55
本文介绍了尝试在Yahoo Calendar中订阅ical日历供稿时出现错误500的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下格式的URL通过Yahoo Calendar预订ical feed: https://calendar.yahoo.com/subscribe?ics= {__ICS_FEED_URL__}& name = {__NAME__}.访问该URL后,Yahoo为我提供一个对话框,其中预填充了提要的URL和名称.点击确定"后,会出现一个对话框,显示500错误.

I am trying to subscribe to an ical feed through Yahoo Calendar using a URL in the following format: https://calendar.yahoo.com/subscribe?ics={__ICS_FEED_URL__}&name={__NAME__}. After accessing that URL, Yahoo presents me with a dialog box pre-populated with the URL to the feed and the name. After hitting "OK" a dialog box follows soon after with a 500 error.

在Chrome控制台中进行四处浏览会显示来自Yahoo用来订阅日历的呼叫中的Chrome控制台中的以下消息: {"calendarError":{"lang":"en-US","description":无法创建新文件夹",详细信息":不适用",代码":0}} .

Digging around in Chrome Console reveals the following message in the Chrome Console from the call used by Yahoo to subscribe to the calendar: {"calendarError":{"lang":"en-US","description":"Failed to create new folder","detail":"Not Applicable","code":0}}.

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Lanzar Group//SendCalendar//EN
NAME:Sample: Walking Tours
X-WR-CALNAME:Sample: Walking Tours
BEGIN:VEVENT
UID:MKq2333pN8zH6RCeC@sendcalendar.com
SEQUENCE:0
DTSTAMP:20160829T062543Z
DTSTART:20160901T100000Z
DTEND:20160901T120000Z
SUMMARY:Sample Event: Visiting the Eiffel Tower
LOCATION:Champ de Mars\, 5 Avenue Anatole France\, 75007 Paris\, France
DESCRIPTION:The Eiffel Tower is one of the most recognizable buildings in the world\, so of course it is an important part of any trip to Paris. Since its completion over 100 years ago\, it has become a symbol of Paris. Although it is no longer the tallest building in the world\, a title it held for 41 years. it still dominates the skyline of the City of Lights. It’s also very popular\, here are some tips for making your visit go smoothly.
ORGANIZER;CN="John Doe":mailto:john.doe@example.com
END:VEVENT
END:VCALENDAR

上述供稿的示例HTTP响应标头

Server: nginx/1.11.3
Date: Mon, 29 Aug 2016 06:28:06 GMT
Content-Type: text/calendar; charset=utf-8
Connection: keep-alive
Cache-Control: no-store
Pragma: no-cache
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Content-Disposition: attachment; filename=sample-walking-tours.ics
Vary: Accept-Encoding
Strict-Transport-Security: max-age=31536000

重现该问题的URL

https://calendar.yahoo.com/subscribe?ics=https://staging.sendcalendar.com/api/calendar/NZQdHTbmX88cFsm8K/icalfeed&name=Sample:%20Walking%20Tours

此问题的原因是什么?更重要的是,我需要更改以解决该问题吗?我在网上找不到任何文档,也没有看到有关此问题的任何类似报告.

What is the cause of this problem? More importantly, what do I need to change to solve it? I have found no documentation online, and have not seen any similar reports of this issue.

推荐答案

由于我们没有解决此问题的任何答案,因此我将发布自己的解决方案,因为目前我们没有其他事情要做(摘自我上面的评论)

Since we don't have any answers solving this problem I will post my own strategy for solving this, as we have nothing else to go on at this point (taken from my comment above)

AddEvent.com提供了一项服务,该服务使用户可以使用Yahoo Calendar订阅任意日历,因此已经解决了此问题.通过确保...

AddEvent.com is providing a service that lets users subscribe to arbitrary calendars using Yahoo Calendar, and thus have already solved this problem. By making sure that ...

  • 我们使用与AddEvent相同的传输协议(HTTP与HTTPS)
  • 我们使用与AddEvent相同或相似的HTTP标头进行响应
  • 我们在ICS有效负载中具有与AddEvent相同的字段集

...我们应该能够自己解决这个问题.完成后,我将再次编辑此答案以报告我的发现.

... we should be able to solve this problem for ourselves. I will edit this answer again once we have done so to report my findings.

这篇关于尝试在Yahoo Calendar中订阅ical日历供稿时出现错误500的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆