mifi / instauto

Instagram bot / automation library written in Javascript for Node.js
797 stars 145 forks source link

Failed to process user followers #108

Closed Luen closed 2 years ago

Luen commented 2 years ago

This started happening today.

3|WS      | 2022-06-28 15:00 +10:00: 2022-06-28T05:00:48.027Z Goto https://www.instagram.com/username1 
3|WS      | 2022-06-28 15:00 +10:00: 2022-06-28T05:00:48.027Z Failed to process user followers, continuing username1 Error: Target closed
3|WS      | 2022-06-28 15:00 +10:00:     at C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:1266:150
3|WS      | 2022-06-28 15:00 +10:00:     at onceHandler (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\EventEmitter.js:83:13)
3|WS      | 2022-06-28 15:00 +10:00:     at C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\vendor\mitt\src\index.js:51:68
3|WS      | 2022-06-28 15:00 +10:00:     at Array.map (<anonymous>)
3|WS      | 2022-06-28 15:00 +10:00:     at Object.emit (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\vendor\mitt\src\index.js:51:43)
3|WS      | 2022-06-28 15:00 +10:00:     at CDPSession.emit (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\EventEmitter.js:72:22)
3|WS      | 2022-06-28 15:00 +10:00:     at CDPSession._onClosed (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\Connection.js:271:14)
3|WS      | 2022-06-28 15:00 +10:00:     at Connection._onMessage (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\Connection.js:105:25)
3|WS      | 2022-06-28 15:00 +10:00:     at WebSocket.<anonymous> (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\node\NodeWebSocketTransport.js:30:32)
3|WS      | 2022-06-28 15:00 +10:00:     at WebSocket.onMessage (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\ws\lib\event-target.js:199:18)
3|WS      | 2022-06-28 15:00 +10:00: 2022-06-28T05:00:48.028Z Waiting 90 sec
3|WS      | 2022-06-28 15:02 +10:00: 2022-06-28T05:02:18.336Z Following up to 1 followers of username2
3|WS      | 2022-06-28 15:02 +10:00: 2022-06-28T05:02:18.336Z Liking images of up to 3 followers of username2
3|WS      | 2022-06-28 15:02 +10:00: 2022-06-28T05:02:18.338Z Navigating to user username2
3|WS      | 2022-06-28 15:02 +10:00: 2022-06-28T05:02:18.338Z Goto https://www.instagram.com/username2
3|WS      | 2022-06-28 15:02 +10:00: 2022-06-28T05:02:18.338Z Failed to process user followers, continuing username2 Error: Protocol error (Page.navigate): Session closed. Most likely the page has been closed.
3|WS      | 2022-06-28 15:02 +10:00:     at CDPSession.send (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\Connection.js:218:35)
3|WS      | 2022-06-28 15:02 +10:00:     at navigate (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\FrameManager.js:158:47)
3|WS      | 2022-06-28 15:02 +10:00:     at FrameManager.navigateFrame (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\FrameManager.js:142:13)
3|WS      | 2022-06-28 15:02 +10:00:     at Frame.goto (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\FrameManager.js:541:41)
3|WS      | 2022-06-28 15:02 +10:00:     at Page.goto (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:1200:53)
3|WS      | 2022-06-28 15:02 +10:00:     at gotoUrl (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\instauto\src\index.js:174:39)
3|WS      | 2022-06-28 15:02 +10:00:     at gotoWithRetry (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\instauto\src\index.js:180:30)
3|WS      | 2022-06-28 15:02 +10:00:     at navigateToUser (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\instauto\src\index.js:213:26)
3|WS      | 2022-06-28 15:02 +10:00:     at navigateToUserWithCheck (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\instauto\src\index.js:233:17)
3|WS      | 2022-06-28 15:02 +10:00:     at navigateToUserAndGetData (C:\Users\luenw\Documents\GitHub\insta-bot-js\node_modules\instauto\src\index.js:246:13)
Luen commented 2 years ago

It's working now.