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

CloudflareError: Cloudflare challenge loop error in latest version #327

Open
1 task done
ChrisMichaelPerezSantiago opened this issue Feb 14, 2020 · 3 comments
Open
1 task done

Comments

@ChrisMichaelPerezSantiago
Copy link

ChrisMichaelPerezSantiago commented Feb 14, 2020

Please attempt to answer the following questions before submitting a new issue:

  • What version of Cloudscraper are you using?
    • v4.6.0
  • What version of Node.js are you using? (Please share the process information)
 process {
  version: 'v12.13.1',
  versions: {
    node: '12.13.1',
    v8: '7.7.299.13-node.16',
    uv: '1.33.1',
    zlib: '1.2.11',
    brotli: '1.0.7',
    ares: '1.15.0',
    modules: '72',
    nghttp2: '1.39.2',
    napi: '5',
    llhttp: '1.1.4',
    http_parser: '2.8.0',
    openssl: '1.1.1d',
    cldr: '35.1',
    icu: '64.2',
    tz: '2019c',
    unicode: '12.1'
  },
  arch: 'x64',
  platform: 'win32',
  release: {
    name: 'node',
    lts: 'Erbium',
    sourceUrl: 'https://nodejs.org/download/release/v12.13.1/node-v12.13.1.tar.gz',
    headersUrl: 'https://nodejs.org/download/release/v12.13.1/node-v12.13.1-headers.tar.gz',
    libUrl: 'https://nodejs.org/download/release/v12.13.1/win-x64/node.lib'
  },
}
  • When did the problem start occurring?

    • The problem started to come up again after updating the cloudscraper lib to v.4.6.0
  • How often does the problem occur?

    • The error is always shown once I performed a test with travis.
  • What is the URL?

  • Are there any similar issues? (Please share the links)

Error

CloudflareError: Cloudflare challenge loop
    at onChallenge (/home/travis/build/ChrisMichaelPerezSantiago/animeflv/node_modules/cloudscraper/index.js:298:13)
    at onCloudflareResponse (/home/travis/build/ChrisMichaelPerezSantiago/animeflv/node_modules/cloudscraper/index.js:235:12)
    at onRequestResponse (/home/travis/build/ChrisMichaelPerezSantiago/animeflv/node_modules/cloudscraper/index.js:205:5)
    at Request.<anonymous> (/home/travis/build/ChrisMichaelPerezSantiago/animeflv/node_modules/cloudscraper/index.js:149:7)
    at Object.onceWrapper (events.js:428:26)
    at Request.emit (events.js:321:20)
    at Request.<anonymous> (/home/travis/build/ChrisMichaelPerezSantiago/animeflv/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:321:20)
    at IncomingMessage.<anonymous> (/home/travis/build/ChrisMichaelPerezSantiago/animeflv/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:427:28)
    at IncomingMessage.emit (events.js:333:22)
    at endReadableNT (_stream_readable.js:1201:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  name: 'CloudflareError',
  message: 'Cloudflare challenge loop',
  errorType: 4
}
@JuanM04
Copy link

JuanM04 commented Feb 14, 2020

I also made an API for AnimeFLV with GraphQL and the same is happening

@Bassintag
Copy link

Also having a similar issue with https://stress95.com/
A captcha challenge is automatically returned when using cloudscraper but not manually.
Not sure if it is for the same reason or not.

@GwenBFX
Copy link

GwenBFX commented Feb 21, 2020

I have a similar issue on https://www.slamjam.com/ when trying to send POST requests. Sometimes it succeed after many retries and having rotate proxies

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

4 participants