Closed Tnu02 closed 3 years ago
Hi @Tnu02, this error comes when you are reaching the throlling limit of the IP for CoWIN. Make sure you keep a Interval of 5000 ms so that this doesn't come. Or else try after some time, it'd work.
@SRvSaha I'm getting this error even after keeping the interval to 10000ms. I've tried 5000ms, 8000ms and now 10000ms and all of them are giving me this error. And I'm searching all of Delhi's districts. Any solution?
@5HU8H I think they had added stringent IP Throttling. Similar issues have been raised here as well.
https://github.com/cowinapi/developer.cowin/issues/313 https://github.com/bombardier-gif/covid-vaccine-booking/issues/270
I am trying to see if I can get any fix. The only solution as of now is changing the interval and stopping and trying after sometime, or to use multiple IP Addresses based machine.
Seems like an issue with Co-WIN API itself
@slomogangsta Yeah there has been some issue reported regarding handling of sessions in CoWIN. I too felt the same. Now there is some throttling issue that is going on.
hey have you found any fix ? there's no effect of increasing interval
@saurabhkrr The Rate Limit as I feel by observation is 100 Hits from IP within 5 minutes. So, if you are searching for 1 PIN Code then you'll have to keep the SleepInterval as 3000, similarly if you have 2 PIN Codes, it will be 6000 and so on and so forth so that IP is within the rate limit. Another way out is to use two different network IPs and then keep switching between the once you see the error. You can copy the Bearer Token you get after entering OTP, and then on subsequent run from different IP. you have use that in the config file so that re-OTP is not required. This the only work around as of now. Also, try varying the User Agent, might help.
@SRvSaha Need to change sleep interval time based on the number of PIN codes.
i tried running it with only one pin code... still the ip is getting blocked
@SRvSaha it's very strange but it started showing slot for 45+ as sson as the slot got opened. With lable [INFO] Sorry! No slot available for search critiera: Age 18-45 - Pin and showing all the 45+ accounts
@saurabhkrr So, if you are searching for 1 PIN Code then you'll have to keep the SleepInterval as 3000, similarly if you have 2 PIN Codes, it will be 6000 and so on and so forth so that IP is within the rate limit. Another way out is to use two different network IPs and then keep switching between the once you see the error. You can copy the Bearer Token you get after entering OTP, and then on subsequent run from different IP. you have use that in the config file so that re-OTP is not required. This the only work around as of now. Also, try varying the User Agent, might help.
1 pin code with 3000 sleep interval.. nothing's working
Try with 5000 or higher fter some time and if possible keep switching IPs. This is not just us, everyone is impacted because of the IP Throttling. @saurabhkrr
@saurabhkrr @Tnu02 Release v4.2.0 is up now. Check it out and share your feedback. This release tries to address some of the issue of IP Throttling.
![Uploading IMG20210523183406.jpg…]()
@saurabhkrr The image is not visible, can you reshare
not sure why started getting this error.