Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
5.0 kB
1
Indexable
Never
apify run -p
Info: All default local stores were purged.
Warning: You are not logged in with your Apify Account. Some features like Apify Proxy will not work. Call "apify login" to fix that.
Run: npm start

> actor-quick-start@0.0.1 start
> node main.js

INFO  System info {"apifyVersion":"1.3.4","apifyClientVersion":"1.4.2","osType":"Linux","nodeVersion":"v17.1.0"}
INFO  Starting the crawl.
INFO  PuppeteerCrawler:AutoscaledPool:Snapshotter: Setting max memory of this run to 8021 MB. Use the APIFY_MEMORY_MBYTES environment variable to override it.
INFO  PuppeteerCrawler:AutoscaledPool: state {"currentConcurrency":0,"desiredConcurrency":2,"systemStatus":{"isSystemIdle":true,"memInfo":{"isOverloaded":false,"limitRatio":0.2,"actualRatio":null},"eventLoopInfo":{"isOverloaded":false,"limitRatio":0.6,"actualRatio":null},"cpuInfo":{"isOverloaded":false,"limitRatio":0.4,"actualRatio":null},"clientInfo":{"isOverloaded":false,"limitRatio":0.3,"actualRatio":null}}}
ERROR PuppeteerCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {"url":"https://www.example.com/","retryCount":1,"id":"zbTYjcoL743v4T1"}
  [object Object](details: type=error)
ERROR PuppeteerCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {"url":"https://www.example.com/","retryCount":2,"id":"zbTYjcoL743v4T1"}
  Error: Protocol error (Target.setDiscoverTargets): Target closed.
      at /home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:71:63
      at new Promise (<anonymous>)
      at Connection.send (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:70:16)
      at Function.create (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/puppeteer/lib/cjs/puppeteer/common/Browser.js:117:26)
      at ChromeLauncher.launch (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:103:56)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async PuppeteerPlugin._launch (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/browser-pool/dist/puppeteer/puppeteer-plugin.js:20:25)
      at async BrowserPool._launchBrowser (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/browser-pool/dist/browser-pool.js:417:29)
      at async BrowserPool.newPage (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/browser-pool/dist/browser-pool.js:185:33)
      at async PuppeteerCrawler._handleRequestFunction (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/apify/build/crawlers/browser_crawler.js:306:22)
ERROR PuppeteerCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {"url":"https://www.example.com/","retryCount":3,"id":"zbTYjcoL743v4T1"}
  Error: Protocol error (Target.setDiscoverTargets): Target closed.
      at /home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:71:63
      at new Promise (<anonymous>)
      at Connection.send (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:70:16)
      at Function.create (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/puppeteer/lib/cjs/puppeteer/common/Browser.js:117:26)
      at ChromeLauncher.launch (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:103:56)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async PuppeteerPlugin._launch (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/browser-pool/dist/puppeteer/puppeteer-plugin.js:20:25)
      at async BrowserPool._launchBrowser (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/browser-pool/dist/browser-pool.js:417:29)
      at async BrowserPool.newPage (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/browser-pool/dist/browser-pool.js:185:33)
      at async PuppeteerCrawler._handleRequestFunction (/home/tarun/zetapps/sandbox/actor-quick-start-master/node_modules/apify/build/crawlers/browser_crawler.js:306:22)
ERROR PuppeteerCrawler: Request failed and reached maximum retries {"id":"zbTYjcoL743v4T1","url":"https://www.example.com/","method":"GET","uniqueKey":"https://www.example.com"}
  [object Object](details: type=error)
INFO  PuppeteerCrawler: All the requests from request list and/or request queue have been processed, the crawler will shut down.
INFO  PuppeteerCrawler: Final request statistics: {"requestsFinished":0,"requestsFailed":1,"retryHistogram":[null,null,null,1],"requestAvgFailedDurationMillis":805,"requestAvgFinishedDurationMillis":null,"requestsFinishedPerMinute":0,"requestsFailedPerMinute":4,"requestTotalDurationMillis":805,"requestsTotal":1,"crawlerRuntimeMillis":13026}
INFO  Crawl finished.