Skip to content

无法自动通过好友请求 #115

@lijiarui

Description

@lijiarui

Run npm run doctor or wechaty run doctor(for docker user), paste output here

> wechaty@0.6.32 doctor /root/wechaty
> ts-node bin/doctor


#### Wechaty Doctor

1. Wechaty version: #git[dea72c4 0.6.32]
2. Linux x64 version 3.16.0-4-amd64 memory 419/1000 MB
3. Docker: false
4. Node version: v6.9.1

Expected behavior

自动通过好友请求

Actual behavior

无法成功通过好友请求

Paste the full output logs here with WECHATY_LOG=silly set

processTaskList: #2 addfriend
VERB FriendRequest accept() 周海圆
VERB PuppetWebBridge verifyUserOk(@ac74b83b9e502c4a7d31d07fe26cd607213276912fd3f1f15a2d69fe3cc6a3e2, v2_f543dc3059cc6b1ee4e688dcd5c2755ccfb1c254a432631ffd685a3786d3d640533d318b8ce8707d02c375742fb34e092738329440d9fefcb09f403794eaa981@stranger)
VERB PuppetWebBridge proxyWechaty(verifyUserOk, @ac74b83b9e502c4a7d31d07fe26cd607213276912fd3f1f15a2d69fe3cc6a3e2, v2_f543dc3059cc6b1ee4e688dcd5c2755ccfb1c254a432631ffd685a3786d3d640533d318b8ce8707d02c375742fb34e092738329440d9fefcb09f403794eaa981@stranger)
VERB Contact say(hi,我是专门管理微信群的机器人,切尔西还是曼城 ?)
VERB PuppetWebBridge proxyWechaty(send, @ac74b83b9e502c4a7d31d07fe26cd607213276912fd3f1f15a2d69fe3cc6a3e2, hi,我是专门管理微信 群的机器人,切尔西还是曼城?)
VERB Contact say(回复我加群暗号,我会将你拉入指定的微信群)
VERB PuppetWebBridge proxyWechaty(send, @ac74b83b9e502c4a7d31d07fe26cd607213276912fd3f1f15a2d69fe3cc6a3e2, 回复我加群暗号,我会 将你拉入指定的微信群)
setTimeout processTaskList 10 seconds
VERB PuppetWebFriendRequest accept() with contact 周海圆 ready()
WARN Message DEPRECATED get() at Error: stack
    at Message.get (/root/wechaty/src/message.ts:442:51)
    at m.ready.then.msg (/root/wechaty/example/orangiss/juzimi.ts:197:30)
WARN PuppetWebBrowser execute() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver i, WebDriverError: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
    at WebDriverError (/root/wechaty/node_modules/selenium-webdriver/lib/error.js:27:5)
    at Object.checkLegacyResponse (/root/wechaty/node_modules/selenium-webdriver/lib/error.js:505:15)
    at parseHttpResponse (/root/wechaty/node_modules/selenium-webdriver/lib/http.js:509:13)
    at doSend.then.response (/root/wechaty/node_modules/selenium-webdriver/lib/http.js:440:13)
    at process._tickDomainCallback (internal/process/next_tick.js:129:7)
WARN PuppetWebBridge execute() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
VERB PuppetWebBridge proxyWechaty(send, @ac74b83b9e502c4a7d31d07fe26cd607213276912fd3f1f15a2d69fe3cc6a3e2, hi,我是专门管理微信 群的机器人,切尔西还是曼城?)
WARN PuppetWebBridge proxyWechaty() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
ERR PuppetWebBridge send() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
ERR PuppetWeb send() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
ERR Wechaty send() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
(node:1049) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): WebDriverError: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
VERB PuppetWebEvent onServerLog(friendVerify(@ac74b83b9e502c4a7d31d07fe26cd607213276912fd3f1f15a2d69fe3cc6a3e2, v2_f543dc3059cc6b1ee4e688dcd5c2755ccfb1c254a432631ffd685a3786d3d640533d318b8ce8707d02c375742fb34e092738329440d9fefcb09f403794eaa981@stranger) fail)
WARN Message DEPRECATED get() at Error: stack
    at Message.get (/root/wechaty/src/message.ts:442:51)
    at m.ready.then.msg (/root/wechaty/example/orangiss/juzimi.ts:197:30)
WARN PuppetWebBrowser execute() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver i, WebDriverError: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
    at WebDriverError (/root/wechaty/node_modules/selenium-webdriver/lib/error.js:27:5)
    at Object.checkLegacyResponse (/root/wechaty/node_modules/selenium-webdriver/lib/error.js:505:15)
    at parseHttpResponse (/root/wechaty/node_modules/selenium-webdriver/lib/http.js:509:13)
    at doSend.then.response (/root/wechaty/node_modules/selenium-webdriver/lib/http.js:440:13)
    at process._tickDomainCallback (internal/process/next_tick.js:129:7)
WARN PuppetWebBridge execute() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
VERB PuppetWebBridge proxyWechaty(send, @ac74b83b9e502c4a7d31d07fe26cd607213276912fd3f1f15a2d69fe3cc6a3e2, 回复我加群暗号,我会 将你拉入指定的微信群)
WARN PuppetWebBridge proxyWechaty() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
ERR PuppetWebBridge send() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
ERR PuppetWeb send() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
ERR Wechaty send() exception: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
(node:1049) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): WebDriverError: unknown error: r.isBrandContact is not a function
  (Session info: chrome=54.0.2840.71)
  (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 3.16.0-4-amd64 x86_64)
setTimeout processTaskList 10 seconds

部分verbose日志:

processTaskList: #1 addfriend(我永远是我)
VERB FriendRequest accept() 我永远是我
VERB PuppetWebBridge verifyUserOk(@1b81691210a2daa9cbb9e1a070f4a6d7f4acfb79b21497aedf968117fb5238ae, v2_a257da5fa4e3a3f23a5e4b917d04dd7b3bbdd8c63ee5863879143a3857278398462e5592720e65bf593912344fa1b84b3573bf4f3eba10578cf97263f7c54062@stranger)
VERB PuppetWebBridge proxyWechaty(verifyUserOk, @1b81691210a2daa9cbb9e1a070f4a6d7f4acfb79b21497aedf968117fb5238ae, v2_a257da5fa4e3a3f23a5e4b917d04dd7b3bbdd8c63ee5863879143a3857278398462e5592720e65bf593912344fa1b84b3573bf4f3eba10578cf97263f7c54062@stranger)
setTimeout processTaskList 60 seconds
VERB PuppetWebFriendRequest accept() with contact 我永远是我 ready()
VERB PuppetWebEvent onServerLog(friendVerify(@1b81691210a2daa9cbb9e1a070f4a6d7f4acfb79b21497aedf968117fb5238ae, v2_a257da5fa4e3a3f23a5e4b917d04dd7b3bbdd8c63ee5863879143a3857278398462e5592720e65bf593912344fa1b84b3573bf4f3eba10578cf97263f7c54062@stranger) fail)
setTimeout processTaskList 60 seconds
VERB PuppetWebBridge proxyWechaty(getContact, @@f770b62162723406b33df6a67198da3be41c2c5044cc6f2e6a6958c03a8f00d2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions