lcjqyml / wechatbot

A chatbot for wechat.
GNU Affero General Public License v3.0
247 stars 40 forks source link

[BUG] 启动报错 #14

Closed ben741863140 closed 1 year ago

ben741863140 commented 1 year ago

Status: Downloaded newer image for lcjqyml/wechatbot:latest WARNING: IPv4 forwarding is disabled. Networking will not work.

wechatbot@1.0.0 dev nodemon --exec node --watch config.yaml --loader ts-node/esm src/main.ts

[nodemon] 2.0.22 [nodemon] to restart at any time, enter rs [nodemon] watching path(s): config.yaml [nodemon] watching extensions: ts [nodemon] starting node --loader ts-node/esm src/main.ts (node:32) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time (Use node --trace-warnings ... to show where the warning was created) [5/10/2023, 5:26:26 AM] Config -> [5/10/2023, 5:26:26 AM] chatbotProxy: http://127.0.0.1:8023 [5/10/2023, 5:26:26 AM] autoAcceptFriendShip: false [5/10/2023, 5:26:26 AM] autoAcceptRoomInvite: false [5/10/2023, 5:26:26 AM] chatbotTriggerKeyword: [5/10/2023, 5:26:26 AM] responseQuote: false uncaughtException GError: getaddrinfo EAI_AGAIN login.wx.qq.com at Function.AxiosError.from (/app/node_modules/axios/lib/core/AxiosError.js:89:14) at RedirectableRequest.handleRequestError (/app/node_modules/axios/lib/adapters/http.js:577:25) at RedirectableRequest.emit (node:events:525:35) at RedirectableRequest.emit (node:domain:489:12) at ClientRequest.eventHandlers. (/app/node_modules/follow-redirects/index.js:14:24) at ClientRequest.emit (node:events:513:28) at ClientRequest.emit (node:domain:489:12) at TLSSocket.socketErrorListener (node:_http_client:494:9) at TLSSocket.emit (node:events:513:28) at TLSSocket.emit (node:domain:489:12) { code: 2, details: 'Error: getaddrinfo EAI_AGAIN login.wx.qq.com\n' + ' at Function.AxiosError.from (/app/node_modules/axios/lib/core/AxiosError.js:89:14)\n' + ' at RedirectableRequest.handleRequestError (/app/node_modules/axios/lib/adapters/http.js:577:25)\n' + ' at RedirectableRequest.emit (node:events:525:35)\n' + ' at RedirectableRequest.emit (node:domain:489:12)\n' + ' at ClientRequest.eventHandlers. (/app/node_modules/follow-redirects/index.js:14:24)\n' + ' at ClientRequest.emit (node:events:513:28)\n' + ' at ClientRequest.emit (node:domain:489:12)\n' + ' at TLSSocket.socketErrorListener (node:_http_client:494:9)\n' + ' at TLSSocket.emit (node:events:513:28)\n' + ' at TLSSocket.emit (node:domain:489:12)' }

lcjqyml commented 1 year ago

看着像是网络问题。访问不通 login.wx.qq.com