Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录后发消息报错:TypeError: Cannot read properties of undefined (reading 'raw') #244

Open
nreg opened this issue Dec 17, 2024 · 0 comments

Comments

@nreg
Copy link

nreg commented Dec 17, 2024

详细报错日志如下:

Automatic robot chat mode has been activated
🌸🌸🌸 / content: 你好
🌸🌸🌸 / config: {
method: 'post',
url: 'http://192.168.1.41/v1/chat-messages',
headers: {
'Content-Type': 'application/json',
Accept: 'application/json',
Authorization: 'Bearer app-510lKvI1Ung-xxx-UZFey0NWLv'
},
data: '{"inputs":{},"query":"你好","response_mode":"blocking","user":"@小奕","files":[]}'
}
ECONNREFUSED
connect ECONNREFUSED 192.168.1.41:80
Error: unsupported arg: undefined
at file:///app/node_modules/wechaty/dist/esm/src/sayable/deliver-sayable.js:67:15
at WechatifiedUserClass.say (file:///app/node_modules/wechaty/dist/esm/src/user-modules/contact.js:274:91)
at defaultMessage (file:///app/src/wechaty/sendMessage.js:58:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async WechatyImpl.onMessage (file:///app/src/index.js:60:3)

情况说明:

.env 文件 配置的dify,默认模型是 dify

几天前第一次部署的时候,也报过同样的错误,报了两次,每次重启后再扫码登录就没问题

几天后 重启也不行了,一直报同样的错误

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

No branches or pull requests

1 participant