K1rakishou / Kuroba-Experimental

Free and open source image board browser
GNU General Public License v3.0
630 stars 36 forks source link

Request captcha to get the ticket parameter upon app launch #1017

Open Kmad666 opened 3 months ago

Kmad666 commented 3 months ago

Using v1.3.33.0 Been getting absurd captcha limit timers before I even make a post. Not sure what's causing it. It's happened twice. I can post logs if required.

Thanks. Screenshot_20240213-171421

K1rakishou commented 3 months ago

4chan caused this.

Kmad666 commented 3 months ago

Aha every time. Thanks friend.

fhtdtdj commented 2 months ago

Is it IP-related, cookie-related, both? I'm getting this on kurobaex more than on desktop, it seems.

K1rakishou commented 2 months ago

When you request captcha you have to pass a new query parameter which is called ticket. You get this ticked from the same captcha GET request. I think it resets every ~4 hours or so, so even if you have this ticket you will be asked to wait 300/60 seconds every 4 hours when you try to request captcha.

The only two things I can do here is either request this ticket automatically when you launch the app or request this ticket periodically even when the app is in background. I will probably implement the first solution and then we will see if there is a need for the second one.

yaddy-ranton commented 2 months ago

The only two things I can do here is either request this ticket automatically when you launch the app or request this ticket periodically even when the app is in background. I will probably implement the first solution and then we will see if there is a need for the second one.

I'm getting more frequent 60 second cooldowns since a couple of days ago. Not sure if it's just me/my IP but I get a 60 sec cooldown every 30 mins it seems like

yaddy-ranton commented 1 month ago

When you request captcha you have to pass a new query parameter which is called ticket. You get this ticked from the same captcha GET request. I think it resets every ~4 hours or so, so even if you have this ticket you will be asked to wait 300/60 seconds every 4 hours when you try to request captcha.

The only two things I can do here is either request this ticket automatically when you launch the app or request this ticket periodically even when the app is in background. I will probably implement the first solution and then we will see if there is a need for the second one.

any updates on this?

K1rakishou commented 1 month ago

@yaddy-ranton Oh shit, I think I forgot to make a stable release with this thing. It's been in beta version since February 16th. But beta is a little bit broken right now so I will probably wait until everything is fixed. TLDR: use the beta for now.