question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CloudflareClearanceException: Clearance failed after 10 attempt

See original GitHub issue

i did the cloudflaie update and it work for some time now i get this error and i cant get it to go

2023-02-17 11:32:35.6142|ERROR|DanbooruDownloader.Commands.DumpCommand|CloudflareSolverRe.Exceptions.CloudflareClearanceException: Clearance failed after 10 attempt(s).
   at CloudflareSolverRe.ClearanceHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at DanbooruDownloader.Utilities.DanbooruUtility.GetPosts(Int64 startId, String username, String apikey) in D:\DanbooruDownloader-master\DanbooruDownloader\Utilities\DanbooruUtility.cs:line 34
   at DanbooruDownloader.Commands.DumpCommand.<>c__DisplayClass1_1.<<Run>b__0>d.MoveNext() in D:\DanbooruDownloader-master\DanbooruDownloader\Commands\DumpCommand.cs:line 50
--- End of stack trace from previous location ---
   at DanbooruDownloader.Utilities.TaskUtility.RunWithRetry(Func`1 job, Func`2 retryCondition, Int32 retryCount, Int32 retryDelay) in D:\DanbooruDownloader-master\DanbooruDownloader\Utilities\TaskUtility.cs:line 16```

Issue Analytics

  • State:closed
  • Created 7 months ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
GuyegOOdcommented, Apr 15, 2023

In case anyone still encounter the issue even after setting the custom UserAgent, just set it to your own username and it works for me.

src: https://danbooru.donmai.us/forum_topics/22838

0reactions
nemson-sourcecommented, Apr 15, 2023

this also works but only with the danbooru username

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clearance failed after 10 attempt(s). (Test) · Issue #8840
[yggtorrent] Exception (yggtorrent): Clearance failed after 10 attempt(s). ... it it will displaye the following error 'Cloudflare issue' ...
Read more >
c# - How can I get html from page with cloudflare ddos ...
I use htmlagility to get webpage data but I tried everything with page using www.cloudflare.com protection for ddos. The redirect page is not ......
Read more >
Troubleshooting Cloudflare 1XXX errors
Cloudflare halted the request for one of the following reasons: An A record within your Cloudflare DNS app points to a Cloudflare IP...
Read more >
cloudscraper
A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm Under Attack Mode", or IUAM), implemented with Requests.
Read more >
How To Fix a 502 Bad Gateway Error
The 502 bad gateway error means that the server received an invalid response from an inbound server. Check out these common causes and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found