MountainDash/nonebot-bison

上版本能推送的RSS源,这版本出了问题,麻烦大佬看一下

zzz6839 opened this issue · 11 comments

环境

  • nonebot-bison 版本:docker latest 7e694e1f445762c220374d6fef58f93fc9c8c458b71185b82029e9b0834de20f
  • nonebot 版本:docker
  • 安装方式:(以下方式的一种或者其他方式)
    1. 通过 nb-cli 安装
    2. 使用 poetry/pdm 等现代包管理器安装
    3. 通过 pip install 安装
    4. 克隆或下载项目直接使用
  • 操作系统:X86_64

问题

https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom
这个源在上版本能够推送变化,这个版本没法推送了,且日志没有相关信息,找不到问题原因

日志

无相关日志信息
  • 我搜索过了 issue,但是并没有发现过与我类似的问题
  • 我确认在日志中去掉了敏感信息

提供一下变化前后的rss文件?不然不好排查

UKMeng commented

用这个源跑测试没遇到问题,等源更新后再看看。或者可能是别的原因。

UKMeng commented

观察到目前https://status.riotgames.com/lol?region=tw2&locale=zh_TW 在05:57新更新了一条但是https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom 在08:26仍然没有变化。bison的机制是就算是新推文但是超过2小时就不推送,可能是这个原因。

<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><id>https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom</id><title>League of Legends - Service Status</title><author><name>Antosik</name><uri>https://iamantosik.me</uri></author><generator uri="https://github.com/Antosik/rito-news-feeds">rito-news-feeds</generator><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=en_US" rel="alternate"></link><link href="https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom" rel="self" type="application/atom+xml"></link><updated>2023-07-19T20:29:22Z</updated><entry><id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11683</id><title>訊æ�¯å°šæœªç¿»è­¯</title><summary>很抱歉,此訊æ�¯ç›®å‰�ä¸�æ��供所使用的語言版本,我們會儘快完æˆ�翻譯。We&#39;re aware of issues with missing data in the Split End modal. Past ranks on your profile will be distributed as part of split rewards in the coming weeks.</summary><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11683" rel="alternate"></link><author><name>Riot Games</name></author><published>2023-07-19T20:22:01Z</published><updated>2023-07-19T20:22:01Z</updated></entry><entry><id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11607</id><title>賽季尾è�²ç„¡æ³•é€²è¡Œè½‰ç§»</title><summary>ç©�分賽季準備進入尾è�²ï¼Œå› 此我們已關閉轉移功能。</summary><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11607" rel="alternate"></link><author><name>Riot Games</name></author><published>2023-07-17T16:45:19Z</published><updated>2023-07-17T16:45:19Z</updated></entry><entry><id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11680</id><title>更新程å¼�</title><summary>å�¯ä»¥æ›´æ–°é�Šæˆ²äº†ï¼�請更新到最新版本,æ‰�能在PC版跨平å�°é�ŠçŽ©ï¼�</summary><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11680" rel="alternate"></link><author><name>Riot Games</name></author><published>2023-07-18T18:27:17Z</published><updated>2023-07-18T18:27:17Z</updated></entry></feed>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><id>https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom</id><title>League of Legends - Service Status</title><author><name>Antosik</name><uri>https://iamantosik.me</uri></author><generator uri="https://github.com/Antosik/rito-news-feeds">rito-news-feeds</generator><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=en_US" rel="alternate"></link><link href="https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom" rel="self" type="application/atom+xml"></link><updated>2023-07-20T21:59:22Z</updated><entry><id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11683</id><title>訊æ�¯å°šæœªç¿»è­¯</title><summary>很抱歉,此訊æ�¯ç›®å‰�ä¸�æ��供所使用的語言版本,我們會儘快完æˆ�翻譯。We&#39;re aware of issues with missing data in the Split End modal. Past ranks on your profile will be distributed as part of split rewards in the coming weeks.</summary><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11683" rel="alternate"></link><author><name>Riot Games</name></author><published>2023-07-19T20:22:01Z</published><updated>2023-07-19T20:22:01Z</updated></entry><entry><id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11691</id><title>Androidé�Šæˆ²ç•¶æ©Ÿ  (TFT)</title><summary>我們發ç�¾é�Šæˆ²åœ¨Android當機次數é�Žå¤šï¼Œæ­£åœ¨å…¨é�¢æª¢æŸ¥ä¸­ã€‚</summary><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11691" rel="alternate"></link><author><name>Riot Games</name></author><published>2023-07-20T21:57:23Z</published><updated>2023-07-20T21:57:23Z</updated></entry><entry><id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11607</id><title>賽季尾è�²ç„¡æ³•é€²è¡Œè½‰ç§»</title><summary>ç©�分賽季準備進入尾è�²ï¼Œå› 此我們已關閉轉移功能。</summary><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11607" rel="alternate"></link><author><name>Riot Games</name></author><published>2023-07-17T16:45:19Z</published><updated>2023-07-17T16:45:19Z</updated></entry><entry><id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11680</id><title>更新程å¼�</title><summary>å�¯ä»¥æ›´æ–°é�Šæˆ²äº†ï¼�請更新到最新版本,æ‰�能在PC版跨平å�°é�ŠçŽ©ï¼�</summary><link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11680" rel="alternate"></link><author><name>Riot Games</name></author><published>2023-07-18T18:27:17Z</published><updated>2023-07-18T18:27:17Z</updated></entry></feed>
UKMeng commented

给的两个文件看起来最新的entry都是同一个

无法复现问题,推测是偶发性的,关闭

无法复现问题,推测是偶发性的,关闭

8.2日早5:50和07:18有两条来自 https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom 没有给我推送,说明该问题还是会复现,重新开启问题。

还是提供一下rss地址变化前后的xml内容,不然不好排查

<feed
	xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
	<id>https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom</id>
	<title>League of Legends - Service Status</title>
	<author>
		<name>Antosik</name>
		<uri>https://iamantosik.me</uri>
	</author>
	<generator uri="https://github.com/Antosik/rito-news-feeds">rito-news-feeds</generator>
	<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=en_US" rel="alternate"></link>
	<link href="https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom" rel="self" type="application/atom+xml"></link>
	<updated>2023-08-03T08:44:22Z</updated>
	<entry>
		<id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11683</id>
		<title>訊�尚未翻譯</title>
		<summary>很抱歉,此訊�目���供所使用的語言版本,我們會儘快完�翻譯。We&#39;re aware of issues with missing data in the Split End modal. Past ranks on your profile will be distributed as part of split rewards in the coming weeks.</summary>
		<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11683" rel="alternate"></link>
		<author>
			<name>Riot Games</name>
		</author>
		<published>2023-07-19T20:22:01Z</published>
		<updated>2023-07-19T20:22:01Z</updated>
	</entry>
	<entry>
		<id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11757</id>
		<title>戰魂鬥士專��題</title>
		<summary>我們發�更新時載入戰魂鬥士專�會出��題,請完�更新��新啟動用戶端,��排除此�題。</summary>
		<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11757" rel="alternate"></link>
		<author>
			<name>Riot Games</name>
		</author>
		<published>2023-07-31T22:19:14Z</published>
		<updated>2023-07-31T22:19:14Z</updated>
	</entry>
	<entry>
		<id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11831</id>
		<title>賽季尾�無法進行轉移</title>
		<summary>ç©�分賽季準備進入尾è�²ï¼Œå› 此我們已關閉轉移功能。</summary>
		<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11831" rel="alternate"></link>
		<author>
			<name>Riot Games</name>
		</author>
		<published>2023-08-02T08:40:05Z</published>
		<updated>2023-08-02T08:40:05Z</updated>
	</entry>
	<entry>
		<id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11823</id>
		<title>更新程�</title>
		<summary>�以更新�戲了�請更新到最新版本,�能在PC版跨平��玩�</summary>
		<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11823" rel="alternate"></link>
		<author>
			<name>Riot Games</name>
		</author>
		<published>2023-07-31T23:43:13Z</published>
		<updated>2023-07-31T23:43:13Z</updated>
	</entry>
</feed>

<feed
	xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
	<id>https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom</id>
	<title>League of Legends - Service Status</title>
	<author>
		<name>Antosik</name>
		<uri>https://iamantosik.me</uri>
	</author>
	<generator uri="https://github.com/Antosik/rito-news-feeds">rito-news-feeds</generator>
	<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=en_US" rel="alternate"></link>
	<link href="https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom" rel="self" type="application/atom+xml"></link>
	<updated>2023-07-19T20:29:22Z</updated>
	<entry>
		<id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11683</id>
		<title>訊�尚未翻譯</title>
		<summary>很抱歉,此訊�目���供所使用的語言版本,我們會儘快完�翻譯。We&#39;re aware of issues with missing data in the Split End modal. Past ranks on your profile will be distributed as part of split rewards in the coming weeks.</summary>
		<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11683" rel="alternate"></link>
		<author>
			<name>Riot Games</name>
		</author>
		<published>2023-07-19T20:22:01Z</published>
		<updated>2023-07-19T20:22:01Z</updated>
	</entry>
	<entry>
		<id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11607</id>
		<title>賽季尾�無法進行轉移</title>
		<summary>ç©�分賽季準備進入尾è�²ï¼Œå› 此我們已關閉轉移功能。</summary>
		<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11607" rel="alternate"></link>
		<author>
			<name>Riot Games</name>
		</author>
		<published>2023-07-17T16:45:19Z</published>
		<updated>2023-07-17T16:45:19Z</updated>
	</entry>
	<entry>
		<id>https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11680</id>
		<title>更新程�</title>
		<summary>�以更新�戲了�請更新到最新版本,�能在PC版跨平��玩�</summary>
		<link href="https://status.riotgames.com/lol?region=tw2&amp;locale=zh_TW&amp;id=11680" rel="alternate"></link>
		<author>
			<name>Riot Games</name>
		</author>
		<published>2023-07-18T18:27:17Z</published>
		<updated>2023-07-18T18:27:17Z</updated>
	</entry>
</feed>
2023-08-04 10:45:38 08-04 10:45:38 [WARNING] nonebot_bison | network connection error: <class 'httpx.ConnectTimeout'>, url: https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom
2023-08-04 10:48:08 08-04 10:48:08 [WARNING] nonebot_bison | network connection error: <class 'httpx.ConnectTimeout'>, url: https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom
2023-08-04 10:50:38 08-04 10:50:38 [WARNING] nonebot_bison | network connection error: <class 'httpx.ConnectTimeout'>, url: https://rito-news.iamantosik.me/lol/zh-tw/status.tw.atom

可能也有这个原因,但是这个网站我是可以直连的

那确实很可能是网络原因,可以加上代理配置