-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Endpoint: /api/Eligibility - Got rate limited, sleep for 10s - Got 403 status code #195
Comments
Hi there 👋 You are using the free plan of the Create Issue Branch App. If you want to continue using this App, please upgrade to the Developer plan. If you have any questions reach out to me by opening an issue. |
still getting same.. My config.yml file is as below personalInfo: Load from environment secret to prevent personal info leakingIf you are using replit free plan, set this trueThen add your info to the secrets sectionloadFromEnv: false if loadFromEnv is true, anything in personalInfo beside typeId is ignoredfirstName: 'Lavlesh' Date of birth (MM/DD/YYYY)dob: '01/08/1990' Use real email to get appointment infomationemail: 'lavlesh@yopmail.com' Not really needed but good to have a real onelastFourSSN: '1029' If you want to recieve notificaion through phone, if not keep blankWARNING: Use number only (Ex: 111111111)phoneNumber: '' Serivce you needed at DPS. Check the full list on https://github.com/phamleduy04/texas-dps-scheduler/wiki/TypeId-listIf you need to apply for Texas DL you don't need to change ittypeId: 71 location: Search DPS Locations by City Name, if City name is given, zipCode is ignored.If you don't want to search by city name, set it to ['']cityName: [''] Zipcode of your location. Can add more DPS location by using ',' for multiple zipcodezipCode: ['75069'] Choose your DPS location by yourself when running the application if set to truepickDPSLocation: false Get appointment from all DPS location by distance from the zipcode, will auto skip this when pickDPSLocation is truemiles: 15 Put empty [''] for any dayDPS is closed on weekends, so you can't book on Saturday and SundaypreferredDays: [''] Put true/false without quotes if you want to book only same day appointmentsameDay: false Put how many day from today you want to book from start to end (7 is a good number)daysAround: Put what time you want to booktimesAround: appSettings: Put true/false without quotes if you want to cancel the appointment automatically if found existing appointmentcancelIfExist: false The time interval (in ms) the app will recheck for newer datesinterval: 10000 Set this to true if you using replit, heroku or something equivalentwebserver: false Set this to higher if you encounter Header Timeout error. This one is in milisecondsheadersTimeout: 50000 How many times to retry if the request to DPS server failledmaxRetry: 3 Read this for more infomation: https://github.com/phamleduy04/texas-dps-scheduler/wiki/Captcha-(Auth-Token)captcha: ntfy.sh push notificationpushNotifcation: what is the parameter/value I am missing here |
Hi @phamleduy04 I am trying to run this solution from India, When I tried to run with manual captcha "captcha: solverOptions:
Getting WARNING -> Got 403 status code Can you please guide, what are the steps I am missing here? waiting for your response, at earliest. |
When you get manual token on the official website, you have to input your first name, last name, dob and last 4 ssn. Did you type it exact the same data from the config file? If not the token might get rejected |
So everytime i had to get token from offical website? Is there any way to get it dynamically? |
there is browser and capsolver strategy. Capsolver is stable but require payment. Browser is okay but depends on others factor like your IP. |
Hey @phamleduy04 I am using paid version of Capsolver but getting this error. (used token api key) texas/src/Client/index.ts:120 const response = await this.requestApi('/api/Eligibility', 'POST', requestBody).then(res => res.data); What else I need to do ? I am using all the information correct in config.yml |
Add more DPS location. This location return nothing (they temporarily dont have any appointment avaliable) |
I am getting the following, the same as Lavleshmishra |
@mcfarlen so what from i understand, you are using capsolver in codespaces and got 403 rate limited is that correct? |
yes |
I tried on codespace and I was able to replicated the issue. But when migrate to local setup it worked fine. So I think texas dps is blocking codespace's IP for now. Try on local and let me know |
Hi @mcfarlen, Use and then it will work, we have nothing to do much on this, just make sure your zipcode is correct. It blocks local laptop IP sometime, so try to run in on somewhere, may be on AWS. it should work. Just make sure, you have paid account on capsolver and there should have some balance on it (5$ - 10$) |
Ok thank you, I ran it from Visual Studio code and it worked. However I am trying to run it again for my son, do i need to clear cache? As it not seeing my new config I put in for him. |
Yes, you will need to change config.yml to your son's name. Then delete the cache folder on vscode (on the left pane) |
Yes I did change config.yml to my son, I now have deleted the cache folder. The problem i see is this warning message. |
It may sound dumb but did you save the config.yml file? |
ahhh yes. see i am newbie. |
It worked now? |
yes working now.. thank you |
[01/21/2025 10:38:13] Endpoint: /api/Eligibility
[01/21/2025 10:38:13] WARNING -> Got rate limited, sleep for 10s...
[01/21/2025 10:38:24] WARNING -> Got 403 status code
Getting this, just npm install and try with npm run start. Do all the required changed in config.yml
The text was updated successfully, but these errors were encountered: