Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

CloudflareChallengeError, 401 status code #63

Open
Delitel-WEB opened this issue Jan 1, 2023 · 5 comments
Open

CloudflareChallengeError, 401 status code #63

Delitel-WEB opened this issue Jan 1, 2023 · 5 comments
Labels
bug Something isn't working cloudflare Issues related to CloudScraper, Cloudflare and captcha bypassing

Comments

@Delitel-WEB
Copy link

Hi, I'm running the code on my server, but I get an error message:
cloudscraper.exceptions.Cloudflare Challenge Error: Cloudflare version 2 captcha call detected. This feature is not available in the free and open source version.

but on my computer everything works and CloudFlare does not swear.

@Delitel-WEB
Copy link
Author

The version of the library on my computer is similar to the one on the server: 2.1.3

@Delitel-WEB
Copy link
Author

I tried rucapthca, but it didn't help either

@Delitel-WEB
Copy link
Author

Delitel-WEB commented Jan 1, 2023

Я вижу что вы русский поэтому перейду на русский язык.

Периодически мне удаётся войти, но похоже rucaptcha даже не влияет на это т.к. из 10 моих попыток входа в 8 из них CloudFlare error.

Когда я пытаюсь отправить запрос на получение данных о сервере у меня это получается, но из python интерпритатора, а если из кода, то происходит долгое ожидание которое блокирует все мои асинхронные задачи и только через минуту мне приходит ответ и вместе с эти разлогинивает и выдаёт ошибку 401 на все мои последующие запросы.

@DarkCat09 DarkCat09 added bug Something isn't working update Aternos API or security methods were changed labels Jan 2, 2023
@DarkCat09 DarkCat09 changed the title cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version. CloudflareChallengeError + 401 status code Jan 2, 2023
@DarkCat09
Copy link
Owner

DarkCat09 commented Jan 2, 2023

@Delitel-WEB,

Здравствуйте.

Скорее всего, клаудфлэру не нравится частая отправка запросов. При запуске вручную из интерпретатора есть, естественно, задержка, в отличие от Python-скрипта.
Как вариант, надо поэкспериментировать со значением time.sleep в функции модуля atconnect.

Разлогин исправлю (хотя такого уже быть не должно). 401-ый код постараюсь исправить.

Один вопрос: на каком сервере Вы запускаете python-aternos?
Это обычный VPS (если да, в какой стране хостинг)? Или что-то по типу Replit?

[Ниже - перевод для иностранных читателей. Не такой выразительный, как оригинал, в силу скудности моих познаний в инглише.]


Hello.

Probably, Cloudflare blocks python-aternos because of too frequent requests. When running the module from the interpreter, there's some delay unlike starting it from a Python script.
As an option, I should try different values for time.sleep in the function in the atconnect module.

Logging off will be fixed soon. And I'll try to fix the 401st status code.

Just one question: what server do you use for python-aternos?
Is it a normal VPS (if it is, in which country the hosting is located)? Or is it something like Replit?

@DarkCat09 DarkCat09 changed the title CloudflareChallengeError + 401 status code CloudflareChallengeError, 401 status code Jan 2, 2023
@Delitel-WEB
Copy link
Author

Да, обычный vps в России

@DarkCat09 DarkCat09 added cloudflare Issues related to CloudScraper, Cloudflare and captcha bypassing and removed update Aternos API or security methods were changed labels Jan 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working cloudflare Issues related to CloudScraper, Cloudflare and captcha bypassing
Projects
None yet
Development

No branches or pull requests

2 participants