mifi / instauto

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

Failed to process follower {user_name} ProtocolError: Runtime.callFunctionOn timed out. #147

Open thefakewater opened 1 year ago

thefakewater commented 1 year ago

To Reproduce I ran the "example.js" file inside a docker container for 4 hours and everything went good except one error that I repeatly have but seems to have no impact to the bot actions. This error throws somewhat randomly sometimes in a interval of one hour sometimes only ~= 8 minutes. This error has happened during the total run duration of 4 hours. Failed to process follower {user_name} ProtocolError: Runtime.callFunctionOn timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.at new Callback (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:61:35) at CallbackRegistry.create (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:106:26) at Connection._rawSend (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:216:26) at CDPSessionImpl.send (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:425:78) at ExecutionContext._ExecutionContext_evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:240:46) at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:146:16) at async likeUserImages (/app/node_modules/instauto/src/index.js:709:5) at async processUserFollowers (/app/node_modules/instauto/src/index.js:793:13) 2023-05-04T14:23:12.746Z Waiting 21.11 sec at async Object.processUsersFollowers [as followUsersFollowers] (/app/node_modules/instauto/src/index.js:817:9) at async /app/index.js:151:5

Share your setting and describe what the bot is doing before you receive the error My setting is the default example.js. I just changed the config with ENV variables. Screenshots It was headless.

Desktop (please complete the following information):

Additional context Started the bot on Thu May 04 13:12:53 2023 Provide me with HTML I can't it was in a docker container