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

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

Description

@zsbai

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions