Giter Club home page Giter Club logo

Comments (12)

jorgevaldivia avatar jorgevaldivia commented on July 29, 2024 4

I know this issue is closed because not much can be done about the rate limiting, but I do think it's a good opportunity to share what everyone is seeing regarding rate limiting as it seems change over time or based on use.

I personally don't use the code in this repo, but I did write my own script which implements similar tactics with a few improvements (at least in my mind). I began running my script around 15 months ago and have strictly used it for friends and family, less than 10 total, so I don't have a great sample size.

Here's what my experience has been:

Originally I ran into the same issues that others report here, you hit the endpoint a certain number of times within a certain time window and the endpoint begins returning a 200 response but with an empty array, essentially a soft rate limit. The rate limit is based on the account (or maybe the schedule) as you can replicate this across different IPs as well as by logging in through the UI and checking the calendar (which becomes unavailable for the same time frame). The block isn't absolute, and is solely related to when you check, so 2 scripts that begin checking at different times would be blocked at different times.

With the pinging schedule that I implement I can hit the endpoint about for around 4 hours before being blocked for 5 hours. I never felt the need to improve on this as I had enough success, usually being able to get an appointment within a few weeks for ~1-3 months out.

After a few months of running the script I felt I had enough data to start looking for patterns. I noticed that there were certain times where good appointments appeared more often, and others where appointments never appeared. I modified my script's schedule to only check during these good windows. Initially I had great success, and I no longer had to worry about being blocked as I was checking far fewer times during the day.

All good, right? Well eventually I think someone caught on as I was now rate-limited for 90% of the day. I gave up on this improved schedule and reverted to my original one (checking all day, enduring blocks, etc) and within 1-2 days everything went back to normal. This was around May-June of this year.

After about 2 months of not running the script due to lack of need I started running it again in September, but I started seeing much more strict rate-limiting. Instead of being rate-limited for 5 hours, I'm now rate-limited for about 20 hours.

I plan on trying different strategies to adapt to these new rate limit rules, but I am curious what everyone else's experience is and I have a few specific questions:

  • Are others seeing the same rate limit rules as I am? (4 hours on / 5 hours off in the past and now 4 hours on / 20 hours off, and potentially different rules based on approach).
  • What pinging strategies are others using? How often are you pinging the endpoint? I definitely see different levels of success with new appointments based on pinging strategy.
  • Has anyone noticed differences in rate limiting based on account? It seems like all accounts have the same rules, but I may just be in a bubble. I sometimes wonder if my friends' accounts are linked to me via IPs/etc and inherit stricter rate-limit rules due to being associated with a bad apple.

from us-visa-appointment-notifier.

bhavik4748 avatar bhavik4748 commented on July 29, 2024 1

Am closing this issue as not much can be done here due to api rate limiting.

from us-visa-appointment-notifier.

sulidin avatar sulidin commented on July 29, 2024

I had the same issue. It's been a day but I am still not able to see open days. My wife's account can see open days but apparently mine is blocked. "There are no available appointments at the selected location. Please try again later."

from us-visa-appointment-notifier.

sulidin avatar sulidin commented on July 29, 2024

Okay system locks after 60 tries in 5 hours. So you need to change the code abit. Set a new counter to 59 and put await for 5 hours before next try.

from us-visa-appointment-notifier.

groverjatin17 avatar groverjatin17 commented on July 29, 2024

Okay system locks after 60 tries in 5 hours. So you need to change the code abit. Set a new counter to 59 and put await for 5 hours before next try.

Hi @sulidin , I have waited longer than 5 hours(8 hours) but I am still getting empty array list. Would you know starting when I will be able to get data in arrays?

from us-visa-appointment-notifier.

vicdup avatar vicdup commented on July 29, 2024

Same question here, do we know what the rate limit is and how long we get blocked?

from us-visa-appointment-notifier.

bhavik4748 avatar bhavik4748 commented on July 29, 2024

I initially tried and was making 70 or so calls using this api but it didn't help much as manually people were very active, before you get an email someone would have already taken that appointment.
So I joined some other telegram groups where the agents were posting the appointment availability(via their bots) so I got the date using that and have stopped working on this one.

from us-visa-appointment-notifier.

bhavik4748 avatar bhavik4748 commented on July 29, 2024

5-6 hours and you can ask Customer care.

from us-visa-appointment-notifier.

bhavik4748 avatar bhavik4748 commented on July 29, 2024

Sometime Customer care was able to see dates so they can select appointments on phone for you

from us-visa-appointment-notifier.

groverjatin17 avatar groverjatin17 commented on July 29, 2024

I initially tried and was making 70 or so calls using this api but it didn't help much as manually people were very active, before you get an email someone would have already taken that appointment. So I joined some other telegram groups where the agents were posting the appointment availability(via their bots) so I got the date using that and have stopped working on this one.

Hi Bhavik,
I have been trying to get an appointment since last 2 months but to no avail.
Would you be kind enough in sharing that telegram link please?

I can share my email address with you.
[email protected]

Kindly help 🙏

from us-visa-appointment-notifier.

naxer-12 avatar naxer-12 commented on July 29, 2024

Yes @bhavik4748 it will be very helpful if you can share telegram link
and was customer service books date for you ?
what did you ask?

from us-visa-appointment-notifier.

bhavik4748 avatar bhavik4748 commented on July 29, 2024

https://t.me/contact_akki

https://t.me/+SGN5yCPZjb8zNjU1

image

from us-visa-appointment-notifier.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.