pallupz / covid-vaccine-booking

This tool can be used to automate booking slots on Co-WIN Platform.
MIT License
598 stars 533 forks source link

403 Forbidden error again #82

Closed bitshiftr closed 3 years ago

bitshiftr commented 3 years ago

Looks like they have changed something again. Here is the error I am getting:

Unable to Create OTP

403 Forbidden

403 Forbidden

pallupz commented 3 years ago

oh man!

sixfooter commented 3 years ago

yes, its changing , https://github.com/pallupz/covid-vaccine-booking/issues/80#issuecomment-833438143

bitshiftr commented 3 years ago

Cowin site itself seems to be non functional

sixfooter commented 3 years ago

this time, its with the first step of sending the OTP . Cowin seems to still work.

bitshiftr commented 3 years ago

and we are back again!

Sidbeheraunsw commented 3 years ago

Is it working for you guys ?

pallupz commented 3 years ago

yea its working but its spotty. not a good sign.

Sidbeheraunsw commented 3 years ago

I could use it tomorrow but today I am not able to book

pallupz commented 3 years ago

if they add a captcha, that will be game over

sixfooter commented 3 years ago

its up again but it keeps getting tapped out once in a while. While i dont think the script has an issue but the destination is changing sthg in between.

AmoghDabholkar commented 3 years ago

Yup working fine for now but need to get to the bottom of this

pallupz commented 3 years ago

I will keep this open. Otherwise people will keep creating issues.

Sidbeheraunsw commented 3 years ago

Thanks brother for your efforts

pallupz commented 3 years ago

If this script was useful, please feel free to spread the word a bit - if you don't mind. Link: https://www.linkedin.com/feed/update/urn:li:activity:6794138228464193536/

AmoghDabholkar commented 3 years ago

BITSians ftw!

pallupz commented 3 years ago

Hahaha.. I did their online course - not a "pure bred" BITSian I guess

AmoghDabholkar commented 3 years ago

Still, lovely job with this one, appreciate it!

tanmecolor commented 3 years ago

Looks like they have changed something again. Here is the error I am getting:

Unable to Create OTP

403 Forbidden

403 Forbidden

the rate limit for the api is 100 calls every 5 minutes from an IP , so when you schedule the scan for slots it would be better if you can increase the time between each scans, since the script takes values in seconds and the minimum being 5 seconds , it would be good that you increase the value to 120 seconds or in multiples of 60 . This would prevent the server from red flagging the IP (also prevent abuse) .

mrms123 commented 3 years ago

The issue is if you have a CGNAT IP - many users on your network have the same IP. The rate limiting calculations will have to accommodate that, as more and more people start using scripts.

https://www.remoterig.com/wp/?page_id=3494 https://techenclave.com/threads/isp-in-bangalore-without-cgnat.189602/

firozzer commented 3 years ago

the rate limit for the api is 100 calls every 5 minutes from an IP ,

@tanmecolor Is there any official ratelimits page?

prithu4 commented 3 years ago

@pallupz I know this could be a silly question, but how did you generate the secret key hardcoded in generate_token_OTP function? is there a undocumented route to BearerAuth or ApiKey?

pallupz commented 3 years ago

no, I just used developer mode on browser to get it.. fortunately it works in most cases

pallupz commented 3 years ago

until they stop it, that is