wechaty / go-wechaty

Go Wechaty is a Conversational SDK for Chatbot Makers Written in Go
https://github.com/wechaty/go-wechaty-getting-started
Apache License 2.0
489 stars 92 forks source link

[BUG] start service error #145

Closed Garfield-yin closed 1 year ago

Garfield-yin commented 1 year ago

Describe the bug PuppetService Start() rejection: no endpoint

Runtime environment

Console output go run examples/ding-dong-bot.go TRAC[2023-02-26 16:05:54.133] PuppetService Start() module=wechaty-puppet-service ERRO[2023-02-26 16:05:54.941] discoverServiceEndPoint() err: http.Status:404 Not Found module=wechaty-puppet-service ERRO[2023-02-26 16:05:54.941] puppet start err: PuppetService Start() rejection: no endpoint module=wechaty panic: PuppetService Start() rejection: no endpoint

goroutine 1 [running]: github.com/wechaty/go-wechaty/wechaty.(*Wechaty).DaemonStart(0x1400023e240?) /Users/fei/go/pkg/mod/github.com/wechaty/go-wechaty@v0.4.9/wechaty/wechaty.go:294 +0xc0 main.main() /Volumes/workspace/caixuan/cx-go-wechaty/examples/ding-dong-bot.go:44 +0xb4 exit status 2 make: *** [bot] Error 1

dchaofei commented 1 year ago

看起来是传的 token 不对