Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

setTimeout callback extraction failed #341

Open
TheAleNet opened this issue Apr 9, 2020 · 2 comments
Open

setTimeout callback extraction failed #341

TheAleNet opened this issue Apr 9, 2020 · 2 comments

Comments

@TheAleNet
Copy link

When I try to run my script it gives me this error:

setTimeout callback extraction failed
    at onChallenge (/root/node_modules/cloudscraper/index.js:333:21)
    at onCloudflareResponse (/root/node_modules/cloudscraper/index.js:247:12)
    at onRequestResponse (/root/node_modules/cloudscraper/index.js:205:5)
    at Request.<anonymous> (/root/node_modules/cloudscraper/index.js:149:7)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/root/node_modules/request/request.js:1154:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/root/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
  name: 'ParserError',
  message: '\n### Cloudflare may have changed their technique, or there may be a bug.\n### Bug Reports: https://github.com/codemanki/cloudscraper/issues\n### Check the detailed exception message that follows for the cause.\n\nsetTimeout callback extraction failed' }

I currently have the 4.5.0 version of cloudscraper and 8.10.0 of node.

@conpatto
Copy link

^

@MrReacher
Copy link

same issue here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants