Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

添加订阅一直卡在 处理中... #168

Open
zsbai opened this issue Mar 29, 2022 · 1 comment
Open

添加订阅一直卡在 处理中... #168

zsbai opened this issue Mar 29, 2022 · 1 comment

Comments

@zsbai
Copy link

zsbai commented Mar 29, 2022

docker部署,这里是docker日志

2022/03/29 12:15:15 DB Path: /root/flowerss/data.db
2022/03/29 12:15:26 request error: Post https://api.telegra.ph/getAccountInfo: dial tcp 185.45.6.103:443: i/o timeout
2022/03/29 12:15:36 request error: Post https://api.telegra.ph/getAccountInfo: dial tcp 185.45.6.103:443: i/o timeout
2022-03-29T12:15:36Z	INFO	bot/bot.go:38	init telegram bot	{"token": "打码", "endpoint": "打码"}
2022-03-29T12:15:38Z	INFO	task/task.go:21	Start task RssUpdateTask
2022-03-29T12:15:38Z	INFO	bot/bot.go:62	bot start version dev, commit none, built at unknown
panic: invalid argument to Intn

goroutine 107 [running]:
math/rand.(*Rand).Intn(0xc0000222a0, 0x0, 0x12cf300)
	/usr/local/go/src/math/rand/rand.go:169 +0x9c
math/rand.Intn(...)
	/usr/local/go/src/math/rand/rand.go:329
github.com/indes/flowerss-bot/internal/tgraph.PublishHtml(0xc0006428d0, 0x9, 0xc000622100, 0x3d, 0xc00062afa0, 0x1c, 0xc0003bc000, 0x1b2, 0x9e, 0x0, ...)
	/flowerss/internal/tgraph/publish.go:29 +0x23a
github.com/indes/flowerss-bot/internal/model.PublishItem(...)
	/flowerss/internal/model/content.go:79
github.com/indes/flowerss-bot/internal/model.getContentByFeedItem(0xc00044df80, 0xc000236f20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/flowerss/internal/model/content.go:36 +0x344
github.com/indes/flowerss-bot/internal/model.(*Source).appendContents(0xc00044df80, 0xc0003d5810, 0xa, 0xa, 0xc0003981a0, 0x9bf619)
	/flowerss/internal/model/source.go:31 +0xb2
created by github.com/indes/flowerss-bot/internal/model.FindOrNewSourceByUrl
	/flowerss/internal/model/source.go:103 +0x31b

一直卡在处理中,很久很久了也在处理中,然后就只能重启才能接受指令了

@zsbai
Copy link
Author

zsbai commented Mar 29, 2022

补充 官方实例机器人可以添加,而且有些rss可以有些不可以,在服务器上尝试可以正常访问rss订阅的域名,但机器人就一直卡在处理中...
有一个rss订阅突然可以订阅了...很奇怪,之前重启无数次都会卡在处理中,但是最近一次重启突然可以正常抓取了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant