[Bug]:docker自动关停
版本
1.2.8
遇到的问题
docker自动失败关停
期望的结果
docker不要fail
日志
time="2025-04-09T15:40:51+08:00" level=info msg="--- WECHAT2RSS-SERVER v1.2.8 START ---" time="2025-04-09T15:40:51+08:00" level=info msg="--- CONIF ---" time="2025-04-09T15:40:51+08:00" level=info msg="Addr: http://10.224.0.27:8091/" time="2025-04-09T15:40:51+08:00" level=info msg="Token: xxx" time="2025-04-09T15:40:51+08:00" level=info msg="--- CONIF ---" time="2025-04-09T15:40:51+08:00" level=info msg="starting chrome" time="2025-04-09T15:40:51+08:00" level=info msg="starting bot" time="2025-04-09T15:40:51+08:00" level=warning msg="tg bot init failed: tg bot token is empty" time="2025-04-09T15:40:51+08:00" level=warning msg="server bot init failed: server bot key is empty" time="2025-04-09T15:40:51+08:00" level=warning msg="webhook bot init failed: webhook bot key is empty" time="2025-04-09T15:40:51+08:00" level=warning msg="bark bot init failed: bark url is empty" time="2025-04-09T15:40:51+08:00" level=info msg="all bot init failed" time="2025-04-09T15:40:51+08:00" level=info msg="checking license" time="2025-04-09T15:40:51+08:00" level=info msg="--- LIC ---" time="2025-04-09T15:40:51+08:00" level=info msg="Email: [email protected]" time="2025-04-09T15:40:51+08:00" level=info msg="Expire: 2025-04-22 22:01:40 +0800 +0800" time="2025-04-09T15:40:51+08:00" level=info msg="--- LIC ---" time="2025-04-09T15:40:59+08:00" level=warning msg="check lic connect error: Post "https://wechat2rss.xlab.app/auth/active": dial tcp: lookup wechat2rss.xlab.app on 127.0.0.11:53: server misbehaving" time="2025-04-09T15:40:59+08:00" level=info msg="--- LIC ---" time="2025-04-09T15:40:59+08:00" level=info msg="Email: [email protected]" time="2025-04-09T15:40:59+08:00" level=info msg="Expire: 2025-04-22 22:01:40 +0800 +0800" time="2025-04-09T15:40:59+08:00" level=info msg="--- LIC ---" time="2025-04-09T15:40:59+08:00" level=info msg="xxx check login" time="2025-04-09T15:40:59+08:00" level=info msg="start login page" panic: navigation failed: net::ERR_NAME_NOT_RESOLVED
goroutine 51 [running]: github.com/go-rod/rod/lib/utils.init.func2({0xf3f3a0?, 0xc0000375d0?}) github.com/go-rod/[email protected]/lib/utils/utils.go:69 +0x1d github.com/ttttmr/wechat2rss-server/chrome.NewBrowser.New.(*Browser).WithPanic.genE.func2({0xc000284bd0?, 0x1b?, 0x0?}) github.com/go-rod/[email protected]/must.go:36 +0x62 github.com/go-rod/rod.(*Browser).MustPage(0xc0001a65a0, {0xc000341fa0?, 0x0?, 0x0?}) github.com/go-rod/[email protected]/must.go:71 +0xd2 github.com/ttttmr/wechat2rss-server/chrome.Test() github.com/ttttmr/wechat2rss-server/chrome/chrome.go:41 +0x6c created by main.main in goroutine 1 github.com/ttttmr/wechat2rss-server/main.go:33 +0xf1
lookup wechat2rss.xlab.app on 127.0.0.11:53: server misbehaving navigation failed: net::ERR_NAME_NOT_RESOLVED
你的docker容器网络DNS有问题,域名解析失败了