Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Limit changed? #313

Closed
Kanchangk opened this issue May 22, 2021 · 50 comments
Closed

API Limit changed? #313

Kanchangk opened this issue May 22, 2021 · 50 comments

Comments

@Kanchangk
Copy link

Kanchangk commented May 22, 2021

I am trying to access the API but getting 403 error every 5 mins.

The original API limit was 100/5 mins, and I am sending 75 requests per 5 mins. Getting error for 60 requests per 5 mins too.

Can anyone confirm if there is any change in limit?

@hvijaycse
Copy link

Facing the same issue from yesterday, requests are getting cancelled randomly.

@nikhiltalreja
Copy link

Facing the same issue, glad I saw this, I was getting confused with what is happening.

@nikhiltalreja
Copy link

Not related but whenever the dose 1 capacity is >0 I am getting a 403 at the same time. I know how 403 works, but unusual behavior. After the slots become 0 the error stops coming.

@vishwakarmad1999
Copy link

vishwakarmad1999 commented May 22, 2021

Finally, I was also facing the same issue since yesterday, that it all of a sudden throws an error that the request is blocked by CORS.

This is what I got just now: No 'Access-Control-Allow-Origin' header is present on the requested resource.

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishwakarmad1999
Copy link

403 is intermittent. It happens for one 5 min cycle and then stops.

On 22-May-2021, at 6:19 PM, Divya Vishwakarma @.***> wrote: Finally, I was also facing the same issue from yesterday, that it all of a sudden throws an error that the request is blocked by CORS. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#313 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A.

But it wasn't happening earlier, right?

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishwakarmad1999
Copy link

Right. It has increased today. I have to restart the run but it happens again. Surprisingly it happens sometime when I pull a particular district out of 6 districts. It’s becoming pointless day by day to run a public service tracker. I have been helping so many people in need of vaccination, But after 18th, several front end and backend changes have happened, making me think twice whether to run this service or not.

On 22-May-2021, at 6:21 PM, Divya Vishwakarma @.> wrote: 403 is intermittent. It happens for one 5 min cycle and then stops. … x-msg://12/# On 22-May-2021, at 6:19 PM, Divya Vishwakarma @.> wrote: Finally, I was also facing the same issue from yesterday, that it all of a sudden throws an error that the request is blocked by CORS. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#313 (comment) <#313 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A. But it wasn't happening earlier, right? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#313 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDIZF5UCGPKSSP2KNHVQ6TTO6SGVANCNFSM45KQTE7A.

Same dude. Well, I built this application for my city only but has helped a number of folks. But after these API's are getting failed at regular intervals irritates a lot.

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishwakarmad1999
Copy link

No one from cowin is interested in replying to freeloaders like us, they might sell their connections to marketing companies soon. Their public data is so old now that it’s become impossible to book a slot. AS UI also now stops multiple button clicks, it’s like they are happy that they have stopped a HACK, but it was saving lives of real people. Multi bene bookings stopped. Time out reduced. A user gets logged out faster than before. It’s becoming an over engineered product with lacklustre results.

On 22-May-2021, at 6:26 PM, Divya Vishwakarma @.***> wrote: Right. It has increased today. I have to restart the run but it happens again. Surprisingly it happens sometime when I pull a particular district out of 6 districts. It’s becoming pointless day by day to run a public service tracker. I have been helping so many people in need of vaccination, But after 18th, several front end and backend changes have happened, making me think twice whether to run this service or not. … x-msg://13/# On 22-May-2021, at 6:21 PM, Divya Vishwakarma @.> wrote: 403 is intermittent. It happens for one 5 min cycle and then stops. … x-msg://12/# On 22-May-2021, at 6:19 PM, Divya Vishwakarma @.> wrote: Finally, I was also facing the same issue from yesterday, that it all of a sudden throws an error that the request is blocked by CORS. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#313 <#313> (comment) <#313 (comment) <#313 (comment)>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A. But it wasn't happening earlier, right? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#313 (comment) <#313 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDIZF5UCGPKSSP2KNHVQ6TTO6SGVANCNFSM45KQTE7A https://github.com/notifications/unsubscribe-auth/AUDIZF5UCGPKSSP2KNHVQ6TTO6SGVANCNFSM45KQTE7A. Same dude. Well, I built this application for my city only but has helped a number of folks. But after these API's are getting failed at regular intervals irritates a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#313 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDIZF2RST5TFA4455DOFNDTO6SYPANCNFSM45KQTE7A.

Yeah dude, like I came here because their official website has this Github Repo link to lodge issues. But it seems like nobody gives a heck.

@hvijaycse
Copy link

Right. It has increased today. I have to restart the run but it happens again. Surprisingly it happens sometime when I pull a particular district out of 6 districts. It’s becoming pointless day by day to run a public service tracker. I have been helping so many people in need of vaccination, But after 18th, several front end and backend changes have happened, making me think twice whether to run this service or not.

On 22-May-2021, at 6:21 PM, Divya Vishwakarma @.> wrote: 403 is intermittent. It happens for one 5 min cycle and then stops. … x-msg://12/# On 22-May-2021, at 6:19 PM, Divya Vishwakarma @.> wrote: Finally, I was also facing the same issue from yesterday, that it all of a sudden throws an error that the request is blocked by CORS. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#313 (comment) <#313 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A https://github.com/notifications/unsubscribe-auth/AUDIZF7BHZXLPBGC5GU7U53TO6R4NANCNFSM45KQTE7A. But it wasn't happening earlier, right? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#313 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUDIZF5UCGPKSSP2KNHVQ6TTO6SGVANCNFSM45KQTE7A.

Same man, i am also running vaccine notification service for 20+ districts, had to put out an notice that can't provide notification all of a sudden due to cowin in every district.

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@klpradeepkl
Copy link

The issue seems to be because AWS cloudfront error? Has it got anything to do with invalidating tokens? Many Telegram bots are still working fine, wondering how bot scripts are handled

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@ricky-bhatia
Copy link

On a different note, seems like a lot of us are running notification/alert systems via web/email/telegram etc. Can we have a list created of such systems that are already in place (if we don't have one already)? This will not only help the people out there who want to use the systems, but also reduce the redundant systems which in turn can reduce the number of hits API must be getting. Just a thought!

@vishalv26
Copy link

vishalv26 commented May 22, 2021

Guys The api's are throttled now like 30 requests per 5 minutes or so.

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishalv26
Copy link

Please try increasing the delay.. r u running it on cloud?

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishalv26
Copy link

As per my analysis the check implemented is like if requests_in_last_five_minutes > 25-30 then throw error.

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishalv26
Copy link

Yes 30 reqs per IP seems safe. If you can deploy multiple cloud instances and sync them then it is workable.

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishalv26
Copy link

No, Multiple cloud working together in sync. like one cloud is sending request at 8:50:00 then other one will send at 8:50:05 and whoever gets the slot triggers the telegram msg.

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishalv26
Copy link

Yes, why not this is how scaling works.

@CodeWithBishal
Copy link

CodeWithBishal commented May 22, 2021

I have created a vaccine tracker using "calendarByPin" which would give people information of vaccine depending on their pin code I hosted it on the digital ocean Bangalore server and it worked only for a max of 30 min to 1 hour since then it's throwing 403 error. It's been 5-6 hrs. Do you guys have any solutions? You can check the error yourself at https://vaccine.codewithbishal.com/

Update: I have shifted to AWS now and it's working...

@vishwakarmad1999
Copy link

Now it seems to be working fine guys.

@CodeWithBishal
Copy link

@vishwakarmad1999 not working for me..I think I have to shift to GCP or AWS

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishwakarmad1999
Copy link

@CodeWithBishal , could you check it again?

@CodeWithBishal
Copy link

@nikhiltalreja can you please explain?

@CodeWithBishal
Copy link

@vishwakarmad1999 yes I have checked just now...still not working

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@CodeWithBishal
Copy link

@nikhiltalreja yes, but how do we even register for prod server API keys

@nikhiltalreja
Copy link

nikhiltalreja commented May 22, 2021 via email

@vishwakarmad1999
Copy link

Hello folks
Looks like the problem has started again and it might be done purposely because I was awake till 3:00 and the server ran without problems till then and also till 9. I think the official @cowinapi team should clear the issue whether they want 3rd party integration or not.

@vishwakarmad1999
Copy link

It it just me or everyone is facing this issue. And this has become very frequent now.

@nikhiltalreja
Copy link

nikhiltalreja commented May 23, 2021 via email

@dassubhasish96
Copy link

I am also facing the same issue, @cowinapi please help.

@theGeekyLad
Copy link

theGeekyLad commented May 24, 2021

I've been following this thread ever since its inception and share the same plight. The @cowinapi team is just being tight-lipped, for reasons they'd know best, but this isn't done. I still remember how active their replies on TTL and rate limits were, back in the day.

As regards the portal, I get a mouthful of a message - "Your transaction didn't go through, please try again later." while attempting to manually secure a slot. The behavior is peculiar with their APIs as well as their web portal. Developers and users suffer alike.

If they continue to be as blase, I'd propose a bunch of us developers write up on social media about the limitations we're working within. At least the end users of our services would know why our platforms are failing.

@nikhiltalreja
Copy link

nikhiltalreja commented May 24, 2021 via email

@theGeekyLad
Copy link

theGeekyLad commented May 24, 2021

Agree.

Nonetheless, If not for their APIs, I'd at least request the @cowinapi team to fix the foibles of their web portal. Errors messages like "Your transaction didn't go through" or "Something is not right" doesn't suffice.

@vishwakarmad1999
Copy link

Well guys, looks like the @cowinapi team doesn't give a heck about our application and now that the government has also enabled on-spot registration for adults then we can shut our application off because running it in the midst of 403 just irritates a lot.

@nikhiltalreja
Copy link

nikhiltalreja commented May 24, 2021 via email

@theGeekyLad
Copy link

Centers seem to be kicking off their own rudimentary token-based registration system. I can say so for Pune, at least. Defeats the whole purpose of the web portal but it is what it is.

@nikhiltalreja
Copy link

nikhiltalreja commented May 24, 2021 via email

@abhijeetsingh26
Copy link

Clearly the need this #174

They are force to put such stringent limits because people are creating redundant trackers, they can't keep up with the demand so they have now started to tighten up the limits.

This is not a sustainable model for them, they need to publish data when slots are available not vice-versa where plethora of clients are basically spamming their public endpoint.

IMHO this was never a saleable solution from the get go.

@nikhiltalreja
Copy link

nikhiltalreja commented May 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests