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

IP ban #62

Open
sid8840 opened this issue May 4, 2021 · 16 comments
Open

IP ban #62

sid8840 opened this issue May 4, 2021 · 16 comments

Comments

@sid8840
Copy link

sid8840 commented May 4, 2021

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

@dev-arpit
Copy link

Yes.. I noticed it too.

@sid8840
Copy link
Author

sid8840 commented May 4, 2021

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.

@mitvik13
Copy link

mitvik13 commented May 5, 2021

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?

@sid8840
Copy link
Author

sid8840 commented May 5, 2021

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

@mitvik13
Copy link

mitvik13 commented May 5, 2021

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

@jarvishu
Copy link

jarvishu commented May 6, 2021

any luck?

@sid8840
Copy link
Author

sid8840 commented May 6, 2021

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
Copy link
Author

sid8840 commented May 6, 2021

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.

@jarvishu
Copy link

jarvishu commented May 6, 2021

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

@akubuzz
Copy link

akubuzz commented May 6, 2021

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

@jetchirag
Copy link

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

@sonalsatpute
Copy link

#74 (comment)

@debmalyapan53
Copy link

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

@soul0101
Copy link

#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'

@amjd
Copy link

amjd commented May 14, 2021

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?

@debmalyapan53
Copy link

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

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

10 participants