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

PuppetPadchat Not response after run several hours #1443

Closed
kis87988 opened this issue Jul 4, 2018 · 1 comment
Closed

PuppetPadchat Not response after run several hours #1443

kis87988 opened this issue Jul 4, 2018 · 1 comment

Comments

@kis87988
Copy link
Contributor

kis87988 commented Jul 4, 2018

Provide Your Network Information

  1. Where is the location of your server? (i.e. City, or In/Out China) U.S.
  2. Which cloud platform(AliYun/Qcloud/DigitalOcean/etc) are you using?
    Self

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

docker run

Expected behavior

Say Hi and bot will have response some content at log time 9:43 - 9:57

Actual behavior

Not response, and the log not show message event being call.
After restart the bot, the bot back to normal

Steps to reproduce the behavior (and fixes, if any)

Maybe PuppetPadchat server issue or wechaty pong event with ws connection fail.

Full Output Logs

Show Logs

Paste the full output logs here with WECHATY_LOG=silly set

# PASTE FULL LOG OUTPUT AT HERE:
03:16:06 SILL PuppetPadchatManager syncContactsAndRooms() while() syncing WXSyncContact ...
03:16:16 SILL PadchatRpc rpcCall(WXSyncContact, [])
03:16:16 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(ws.on(message))
03:16:16 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
03:16:16 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=ws.on(message)})
03:16:16 SILL PuppetPadchatManager syncContactsAndRooms() syncing 1 out of Contact(763) & Room(4) ...
03:16:16 VERB PuppetPadchatManager syncContactsAndRooms() sync contact done!
03:16:36 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(ws.on(message))
03:16:37 SILL PadchatRpc initWebSocket() ws.on(pong)
03:16:37 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #2198 from debounceQueue)
03:16:37 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
03:16:37 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #2198 from debounceQueue})
03:16:57 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #2198 from debounceQueue)
03:16:57 SILL PadchatRpc initWebSocket() ws.on(pong)
03:16:57 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #2199 from debounceQueue)
03:16:57 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
03:16:57 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #2199 from debounceQueue})
03:17:17 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #2199 from debounceQueue)
03:17:17 SILL PadchatRpc initWebSocket() ws.on(pong)
--------------- ignore cut  with all pong event --------------- 
09:52:34 SILL PadchatRpc initWebSocket() ws.on(pong)
09:52:34 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3376 from debounceQueue)
09:52:34 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:52:34 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3376 from debounceQueue})
09:52:54 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3376 from debounceQueue)
09:52:54 SILL PadchatRpc initWebSocket() ws.on(pong)
09:52:54 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3377 from debounceQueue)
09:52:54 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:52:54 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3377 from debounceQueue})
09:53:14 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3377 from debounceQueue)
09:53:15 SILL PadchatRpc initWebSocket() ws.on(pong)
09:53:15 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3378 from debounceQueue)
09:53:15 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:53:15 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3378 from debounceQueue})
09:53:35 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3378 from debounceQueue)
09:53:35 SILL PadchatRpc initWebSocket() ws.on(pong)
09:53:35 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3379 from debounceQueue)
09:53:35 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:53:35 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3379 from debounceQueue})
09:53:55 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3379 from debounceQueue)
09:53:55 SILL PadchatRpc initWebSocket() ws.on(pong)
09:53:55 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3380 from debounceQueue)
09:53:55 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:53:55 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3380 from debounceQueue})
09:54:15 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3380 from debounceQueue)
09:54:15 SILL PadchatRpc initWebSocket() ws.on(pong)
09:54:15 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3381 from debounceQueue)
09:54:15 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:54:15 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3381 from debounceQueue})
09:54:35 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3381 from debounceQueue)
09:54:35 SILL PadchatRpc initWebSocket() ws.on(pong)
09:54:35 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3382 from debounceQueue)
09:54:35 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:54:35 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3382 from debounceQueue})
09:54:55 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3382 from debounceQueue)
09:54:55 SILL PadchatRpc initWebSocket() ws.on(pong)
09:54:55 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3383 from debounceQueue)
09:54:55 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:54:55 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3383 from debounceQueue})
09:55:15 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3383 from debounceQueue)
09:55:16 SILL PadchatRpc initWebSocket() ws.on(pong)
09:55:16 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3384 from debounceQueue)
09:55:16 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:55:16 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3384 from debounceQueue})
09:55:36 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3384 from debounceQueue)
09:55:36 SILL PadchatRpc initWebSocket() ws.on(pong)
09:55:36 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3385 from debounceQueue)
09:55:36 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:55:36 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3385 from debounceQueue})
09:55:56 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3385 from debounceQueue)
09:55:56 SILL PadchatRpc initWebSocket() ws.on(pong)
09:55:56 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3386 from debounceQueue)
09:55:56 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:55:56 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3386 from debounceQueue})
09:56:16 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3386 from debounceQueue)
09:56:16 SILL PadchatRpc initWebSocket() ws.on(pong)
09:56:16 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3387 from debounceQueue)
09:56:16 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:56:16 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3387 from debounceQueue})
09:56:36 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3387 from debounceQueue)
09:56:36 SILL PadchatRpc initWebSocket() ws.on(pong)
09:56:36 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3388 from debounceQueue)
09:56:36 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:56:36 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3388 from debounceQueue})
09:56:56 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3388 from debounceQueue)
09:56:56 SILL PadchatRpc initWebSocket() ws.on(pong)
09:56:56 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3389 from debounceQueue)
09:56:56 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:56:56 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3389 from debounceQueue})
09:57:16 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3389 from debounceQueue)
09:57:17 SILL PadchatRpc initWebSocket() ws.on(pong)
09:57:17 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3390 from debounceQueue)
09:57:17 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:57:17 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3390 from debounceQueue})
09:57:37 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3390 from debounceQueue)
09:57:37 SILL PadchatRpc initWebSocket() ws.on(pong)
09:57:37 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3391 from debounceQueue)
09:57:37 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:57:37 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3391 from debounceQueue})
09:57:57 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3391 from debounceQueue)
09:57:57 SILL PadchatRpc initWebSocket() ws.on(pong)
09:57:57 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3392 from debounceQueue)
09:57:57 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:57:57 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3392 from debounceQueue})
09:58:17 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3392 from debounceQueue)
09:58:17 SILL PadchatRpc initWebSocket() ws.on(pong)
09:58:17 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3393 from debounceQueue)
09:58:17 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:58:17 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3393 from debounceQueue})
09:58:37 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3393 from debounceQueue)
09:58:37 SILL PadchatRpc initWebSocket() ws.on(pong)
09:58:37 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3394 from debounceQueue)
09:58:37 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:58:37 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3394 from debounceQueue})
09:58:57 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3394 from debounceQueue)
09:58:57 SILL PadchatRpc initWebSocket() ws.on(pong)
09:58:57 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3395 from debounceQueue)
09:58:57 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:58:57 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3395 from debounceQueue})
09:59:17 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3395 from debounceQueue)
09:59:18 SILL PadchatRpc initWebSocket() ws.on(pong)
09:59:18 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3396 from debounceQueue)
09:59:18 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:59:18 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3396 from debounceQueue})
09:59:38 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3396 from debounceQueue)
09:59:38 SILL PadchatRpc initWebSocket() ws.on(pong)
09:59:38 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3397 from debounceQueue)
09:59:38 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:59:38 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3397 from debounceQueue})
09:59:58 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3397 from debounceQueue)
09:59:58 SILL PadchatRpc initWebSocket() ws.on(pong)
09:59:58 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3398 from debounceQueue)
09:59:58 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
09:59:58 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3398 from debounceQueue})
10:00:18 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3398 from debounceQueue)
10:00:18 SILL PadchatRpc initWebSocket() ws.on(pong)
10:00:18 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3399 from debounceQueue)
10:00:18 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
10:00:18 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3399 from debounceQueue})
10:00:38 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3399 from debounceQueue)
10:00:38 SILL PadchatRpc initWebSocket() ws.on(pong)
10:00:38 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3400 from debounceQueue)
10:00:38 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
10:00:38 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3400 from debounceQueue})
10:00:58 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3400 from debounceQueue)
10:00:58 SILL PadchatRpc initWebSocket() ws.on(pong)
10:00:58 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3401 from debounceQueue)
10:00:58 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
10:00:58 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3401 from debounceQueue})
10:01:18 SILL PadchatRpc initHeartbeat() debounceQueue.subscribe(pong: #3401 from debounceQueue)
10:01:19 SILL PadchatRpc initWebSocket() ws.on(pong)
10:01:19 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(pong: #3402 from debounceQueue)
10:01:19 SILL PuppetPadchat startWatchdog() padchatManager.on(heartbeat)
10:01:19 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=pong: #3402 from debounceQueue})

--------------- Restart docker code --------------- 
 __        __        _           _          
 \ \      / /__  ___| |__   __ _| |_ _   _  
  \ \ /\ / / _ \/ __| '_ \ / _` | __| | | | 
   \ V  V /  __/ (__| | | | (_| | |_| |_| | 
    \_/\_/ \___|\___|_| |_|\__,_|\__|\__, | 
                                     |___/  
____________________________________________________
            https://www.chatie.io
  ____                            _   _             
 / ___|___  _ __  _ __   ___  ___| |_(_)_ __   __ _ 
| |   / _ \| '_ \| '_ \ / _ \/ __| __| | '_ \ / _` |
| |__| (_) | | | | | | |  __/ (__| |_| | | | | (_| |
 \____\___/|_| |_|_| |_|\___|\___|\__|_|_| |_|\__, |
                                              |___/ 
  ____ _           _   ____        _       
 / ___| |__   __ _| |_| __ )  ___ | |_ ___ 
| |   | '_ \ / _` | __|  _ \ / _ \| __/ __|
| |___| | | | (_| | |_| |_) | (_) | |_\__ \
 \____|_| |_|\__,_|\__|____/ \___/ \__|___/
                                           

Starting Wechaty v0.17.97 with Node.js v10.5.0 ...
Working directory: /bot
Please make sure you had installed all the NPM modules which is depended on your bot script.
@huan
Copy link
Member

huan commented Jul 15, 2018

@kis87988 Thanks for reporting the bug.

However I'll close this issue because this is nothing can be done with the Wechaty Framework, it is relating to the padchat implementation.

Please file issues related to padchat in its own repo at: https://github.com/lijiarui/wechaty-puppet-padchat/issues in the future, thank you very much.

@huan huan closed this as completed Jul 15, 2018
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

2 participants