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

FATAL model/source.go:51 parse s https://gabrielsieben.tech/at: first path segment in URL cannot contain colon #178

Open
kxxt opened this issue Jul 31, 2022 · 0 comments

Comments

@kxxt
Copy link

kxxt commented Jul 31, 2022

机器人一直提示 处理中...
检查 docker 日志发现机器人已经崩溃重启

出现问题的命令: /sub @[channel user name here] https://gabrielsieben.tech/atom

/ _| | _____      _____ _ __ ___ ___
| |_| |/ _ \ \ /\ / / _ \ '__/ __/ __|
|  _| | (_) \ V  V /  __/ |  \__ \__ \
|_| |_|\___/ \_/\_/ \___|_|  |___/___/


2022/07/31 08:22:15 DB Path: /root/.flowerss/data.db
2022-07-31T08:22:15Z    INFO    bot/bot.go:38   init telegram bot       {"token": "XXXXXXXXXXXXXXX", "endpoint": "https://api.telegram.org"}
2022-07-31T08:22:16Z    INFO    task/task.go:21 Start task RssUpdateTask
2022-07-31T08:22:16Z    INFO    bot/bot.go:62   bot start version dev, commit none, built at unknown
2022-07-31T08:44:39Z    FATAL   model/source.go:51      parse s https://gabrielsieben.tech/at: first path segment in URL cannot contain colon
github.com/indes/flowerss-bot/internal/model.fetchFunc
/flowerss/internal/model/source.go:51
github.com/SlyMarbo/rss.FetchByFunc
/go/pkg/mod/github.com/!sly!marbo/[email protected]/rss.go:61
github.com/indes/flowerss-bot/internal/model.FindOrNewSourceByUrl
/flowerss/internal/model/source.go:90
github.com/indes/flowerss-bot/internal/bot.registFeed
/flowerss/internal/bot/service.go:73
github.com/indes/flowerss-bot/internal/bot.subCmdCtr
/flowerss/internal/bot/controller.go:119
gopkg.in/tucnak/telebot%2ev2.(*Bot).handle.func1
/go/pkg/mod/gopkg.in/tucnak/[email protected]/bot.go:584
gopkg.in/tucnak/telebot%2ev2.(*Bot).runHandler.func1
/go/pkg/mod/gopkg.in/tucnak/[email protected]/util.go:34
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