600010 error in turnstile

Many of my users encounter this error (Non-interactive). With the managed version I encounter it myself and cannot go through the captcha, but for me it works with the non-interactive mode. Here is how I render it in js when I need it:
class CloudflareCaptchaClass{
constructor(){
this.token = null;
}

async waitAndReturnToken(){
let counter = 0;
while(counter < 20){
if(this.token != null){
return this.token;
}
await this.delay(100);
counter++;
}
return null;
}

renderCaptcha(elementNumber){
let sitekey = '0xmykey';
//console.log("rendering with sitekey: " + sitekey);

window.turnstile.render(('#cf-captchacontainer-' + elementNumber), {
sitekey: sitekey,
callback: (token) => {
//console.log(`Challenge Success ${token}`);
this.token = token;
},
'expired-callback': () => {
console.log('Captcha expired');
},
});
}

delay(milliseconds){
return new Promise(resolve => {
setTimeout(resolve, milliseconds);
});
}
}
class CloudflareCaptchaClass{
constructor(){
this.token = null;
}

async waitAndReturnToken(){
let counter = 0;
while(counter < 20){
if(this.token != null){
return this.token;
}
await this.delay(100);
counter++;
}
return null;
}

renderCaptcha(elementNumber){
let sitekey = '0xmykey';
//console.log("rendering with sitekey: " + sitekey);

window.turnstile.render(('#cf-captchacontainer-' + elementNumber), {
sitekey: sitekey,
callback: (token) => {
//console.log(`Challenge Success ${token}`);
this.token = token;
},
'expired-callback': () => {
console.log('Captcha expired');
},
});
}

delay(milliseconds){
return new Promise(resolve => {
setTimeout(resolve, milliseconds);
});
}
}
I create a new class on user pressing a button, then call the render function. When user presses another button to submit, I call waitAndReturnToken. I have no idea what I am doing wrong, I am following the documentation and have ensured the site keys work (afterall, if not it would not work at all, not for some users yes and others not)
17 Replies
Dao
DaoOP•8mo ago
I saw here (this poster was not me): https://community.cloudflare.com/t/repeated-cloudflare-turnstile-error-600010/644578 that I should ping the devs directly with this @Community Champion
zegevlier
zegevlier•8mo ago
?pings
Flare
Flare•8mo ago
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
Dao
DaoOP•8mo ago
zegevlier
zegevlier•8mo ago
We are not the turnstiles team. Like that message said, we are community members.
Dao
DaoOP•8mo ago
Oh I apologize, I misinterpreted that
zegevlier
zegevlier•8mo ago
Please post a link to this thread in #🤖turnstile, the team is active there and they'll be able to see it.
Dao
DaoOP•8mo ago
Thanks, will do. Who should I ping?
Walshy
Walshy•8mo ago
Also it did not mean a literal ping Just post and support can be provided
Dao
DaoOP•8mo ago
Okay, pingless it is. I apologize again
Alex
Alex•8mo ago
Error Code: 600010 Error Code: 600010 @Cloudflare (Server Owner) Romania on windows using Librewolf Firefox, Vivaldi, Edge However seems to work on same network on Android device
itsmatteomanf
itsmatteomanf•8mo ago
?pings
Flare
Flare•8mo ago
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
Alex
Alex•8mo ago
Either way this cloudflare is the worse thing human have created from 2000, hopefully this trend of broken things will have an end
[Cloudflare Turnstile] Unable to find onload callback '_turnstileCb' immediately after loading, expected 'function', got 'undefined'.
Uncaught TurnstileError: [Cloudflare Turnstile] Error: 600010.
be https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
c https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
Yt https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
r https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
p https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
R https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
[Cloudflare Turnstile] Unable to find onload callback '_turnstileCb' immediately after loading, expected 'function', got 'undefined'.
Uncaught TurnstileError: [Cloudflare Turnstile] Error: 600010.
be https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
c https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
Yt https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
r https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
p https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
R https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb:1
Isaac McFadyen
Isaac McFadyen•8mo ago
That looks like a site issue, not a Turnstile issue. Turnstile is saying that the callback it was given (by the developer) was not found.
Alex
Alex•8mo ago
Site is working fine on Android Same website same network But I'm assuming if I turn desktop mod on android things will broke Nope, on Android using Desktop layout doesn't broke, no clue what cause this Turnstile issue on windows lol Yeah, it might be an addons, on incognito seems to work
Alex
Alex•8mo ago
I found the culprit in my case, seems that I use a .js script called https://greasyfork.org/en/scripts/381682-html5%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE%E5%99%A8%E5%A2%9E%E5%BC%BA%E8%84%9A%E6%9C%AC that cause some issue with cloud flare, it never did before. I'm using from a long time but it got updated so that's what is broken
HTML5视频播放器增强脚本
Video enhancement script, supports all H5 video websites, such as: Bilibili, Douyin, Tencent Video, Youku, iQiyi, Xigua Video, YouTube, Weibo Video, Zhihu Video, Sohu Video, NetEase Open Course, Baidu network disk, Alibaba cloud disk, ted, instagram, twitter, etc. Full shortcut key control, support: double-speed playback/accelerated playback, vi...
Want results from more Discord servers?
Add your server