VaccineAvailabilityNotifier icon indicating copy to clipboard operation
VaccineAvailabilityNotifier copied to clipboard

IP ban

Open sid8840 opened this issue 3 years ago • 16 comments

after 5 continuous runs on the same IP for the interval of 1 min, IP gets banned. anybody facing this?

sid8840 avatar May 04 '21 13:05 sid8840

Yes.. I noticed it too.

dev-arpit avatar May 04 '21 14:05 dev-arpit

can we poll request to by 2 min?? the new server update puts a temporary ban on IP polling request of 1 min.

Yes.. I noticed it too.

sid8840 avatar May 04 '21 15:05 sid8840

after 5 continuous runs on the same IP for the interval of 1 min, IP gets banned. anybody facing this?

I got the mails for the first 2 days, But have stopped receiving them now. So is this because of IP Ban?

mitvik13 avatar May 05 '21 15:05 mitvik13

after 5 continuous runs on the same IP for the interval of 1 min, IP gets banned. anybody facing this?

I got the mails for the first 2 days, But have stopped receiving them now. So is this because of IP Ban?

yes

sid8840 avatar May 05 '21 16:05 sid8840

after 5 continuous runs on the same IP for the interval of 1 min, IP gets banned. anybody facing this?

I got the mails for the first 2 days, But have stopped receiving them now. So is this because of IP Ban?

yes

Were you able to find any solution to this? If any please let me know

mitvik13 avatar May 05 '21 16:05 mitvik13

any luck?

jarvishu avatar May 06 '21 04:05 jarvishu

after 5 continuous runs on the same IP for the interval of 1 min, IP gets banned. anybody facing this?

I got the mails for the first 2 days, But have stopped receiving them now. So is this because of IP Ban?

yes

Were you able to find any solution to this? If any please let me know

NO

sid8840 avatar May 06 '21 07:05 sid8840

any luck?

it must be related to the user agent. because once the server sees a request from an unknown user agent over 1 min..it bans that particular IP for 1-5 min.

sid8840 avatar May 06 '21 07:05 sid8840

any luck?

it must be related to the user agent. because once the server sees a request from an unknown user agent over 1 min..it bans that particular IP for 1-5 min.

Are you getting the same error? image

jarvishu avatar May 06 '21 08:05 jarvishu

I think this application will not work anymore. They have put cloudfront check on API access. API can only be accessed now from cowin application's IPs

akubuzz avatar May 06 '21 11:05 akubuzz

@akubuzz API is still accessible but I think they are now serving cache

jetchirag avatar May 07 '21 07:05 jetchirag

https://github.com/kartikey54/VaccineAvailabilityNotifier/issues/74#issuecomment-836661671

sonalsatpute avatar May 10 '21 12:05 sonalsatpute

The public APIs are being cached. The private APIs will work, provided you poll at an interval of 5 min.

debmalyapan53 avatar May 10 '21 13:05 debmalyapan53

#74 (comment)

When using these it throws an Authorization error though. If I'm not wrong you are talking about this right? 'https://cdn-api.co-vin.in/api/v2/appointment/sessions/findByPin?pincode=110001&date=31-03-2021'

soul0101 avatar May 11 '21 06:05 soul0101

The public APIs are being cached. The private APIs will work, provided you poll at an interval of 5 min.

@debmalyapan53 Which private API are you referring to?

amjd avatar May 14 '21 05:05 amjd

The public APIs are being cached. The private APIs will work, provided you poll at an interval of 5 min.

@debmalyapan53 Which private API are you referring to?

Public: https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id=XYZ&date=XYZ Internal/Realtime: https://cdn-api.co-vin.in/api/v2/appointment/sessions/calendarByDistrict?district_id=XYZ&date=XYZ

debmalyapan53 avatar May 14 '21 08:05 debmalyapan53