Comments (28)
At first I was getting the same 429 error running locally, but it ran successfully once I changed the user agent string in webdriver.py to the actual one that my Chrome browser supplies.
Actually, there was a similar issue to this one(#58). I just removed the User Agent altogether and that seemed to work for everyone who was having issues in that thread. However, the change only resides in the
develop
branch currently. For anyone having issues, can you pull the latest develop image (use the:develop
tag) and see if you are still running into the same issue?
Switching to the develop image fixed it for me, and I’ve got 5 or 6 users in one config/container!
from auto-southwest-check-in.
Thanks for testing with the develop branch everyone. I will close this issue and hopefully release the next version soon!
from auto-southwest-check-in.
In case it's relevant, here's the result I get from within docker when I execute chromedriver
:
Starting ChromeDriver 110.0.5481.177 (f34f7ab2d4ca4ad498ef42aeba4f4eb2c1392d63-refs/branch-heads/5481@{#1239}) on port 9515...```
from auto-southwest-check-in.
I am also getting this error in a Docker container. What's strange is that I am not getting the error when running it locally though (with the same ChromeDriver version). However, I also had a check-in fail this morning too, both in the Docker image and running it locally (on the POST request).
I'll look into this and see what is going on.
from auto-southwest-check-in.
I had 3 checkins scheduled all on the same flight however only 1 was successfully checked in. This is my first time using so I'm not sure how well multiple checkins worked in the past. Maybe southwest servers are trying to stop simultaneous requests to checkin at the same time? here's my log line Failed to make request: Too Many Requests 429
.
edit: i'm using docker if that makes a difference
from auto-southwest-check-in.
Something with Southwest has definitely changed because simultaneous check-ins did work in the past.
from auto-southwest-check-in.
Can anyone get it to work by running it locally (not with Docker)?
from auto-southwest-check-in.
from auto-southwest-check-in.
At first I was getting the same 429 error running locally, but it ran successfully once I changed the user agent string in webdriver.py
to the actual one that my Chrome browser supplies.
from auto-southwest-check-in.
Additional data points: Without changing anything in the code, I was able to checkin to 3 passengers all on the same flight using 3 individual docker containers. While this is a quick workaround, the issue with simultaneous checkin on the same docker container mentioned earlier probably still exist.
from auto-southwest-check-in.
At first I was getting the same 429 error running locally, but it ran successfully once I changed the user agent string in webdriver.py to the actual one that my Chrome browser supplies.
Actually, there was a similar issue to this one(#58). I just removed the User Agent altogether and that seemed to work for everyone who was having issues in that thread. However, the change only resides in the develop
branch currently. For anyone having issues, can you pull the latest develop image (use the :develop
tag) and see if you are still running into the same issue?
from auto-southwest-check-in.
from auto-southwest-check-in.
If you have docker installed, just run docker pull jdholtz/auto-southwest-check-in:develop
. If you have cloned the repository with Git, do git pull && git checkout develop
.
from auto-southwest-check-in.
Develop branch also fixed this issue for me.
from auto-southwest-check-in.
Seems this was implemented in 4.0 which I'm running in Docker, but I received the error early this morning at a random time (config loaded and successful 5 hours prior). I have retrieval interval set to 1 while testing - would that mean it was logging into accounts and refreshing every 1h and this was just 1 failure over ~8 hours/attempts? Happy to grab any logs needed.
from auto-southwest-check-in.
Is it a recurring issue @himnim? If the retrieval interval is 1, that means it checks every account/flight every hour
from auto-southwest-check-in.
According to the logs, it only happened once. Could chalk it off as a one-off - I'll keep monitoring and let you know if it happens more frequently.
from auto-southwest-check-in.
I can make a 429 error not crash the program, just skip execution (or retry it). Then that issue shouldn’t matter much.
from auto-southwest-check-in.
I see, so once you hit the 429 error, the only resolution is to restart the container? Seems that way, as I had 2 accounts and 1 encountered the error but the other didn't, and when testing with a new booking on the account with the error, it did not pull the flight/attempt to login after another hour.
from auto-southwest-check-in.
Yes. In Python, it appears that an exception raised by a child process also stops the main process — at least with the way it’s set up in the script.
from auto-southwest-check-in.
Just updating here as both my accounts encountered 429 error over the weekend.
from auto-southwest-check-in.
Thanks for following up. I will implement better 429 handling soon. For now, you can probably just use longer intervals as I don’t really see an advantage of having the interval so short.
from auto-southwest-check-in.
Hey @himnim, I added 429 error handling in the latest commit on the develop
branch. Now, the script will just skip flight retrieval once for that account when a 429 error occurs instead of crashing the entire script.
from auto-southwest-check-in.
Thanks, this is actually quite topical because I was editing my config today to add flights via confirmation number for my sister-in-law and now the 2 accounts listed in config are getting 429 error immediately upon restarting the Docker container. Would that be a possible system block on SW's end? I may have to revert to confirmation number config instead of account config if so. I'm able to login to my account fine on an interactive browser
from auto-southwest-check-in.
Are you only encountering 429’s in account mode? It probably isn’t something Southwest is blocking because you are able to login on their website just fine.
from auto-southwest-check-in.
Yes, my accounts are getting 429 after restarting the container (so they're effectively not working), my flights via confirmation number pulled up fine.
from auto-southwest-check-in.
Are you using the latest version (4.1)?
from auto-southwest-check-in.
No, didn't realize you released a new version yesterday - will look at updating today
from auto-southwest-check-in.
Related Issues (20)
- Add devcontainer.json configuration to run the project on GitHub Codespaces
- Continuously hitting 403 error HOT 1
- Add jitter to requests time(s) HOT 1
- Add account / reservation level notification settings HOT 2
- Introduce a custom POST endpoint for "other" notifications HOT 1
- Headers not present on some requests HOT 12
- Reservation monitor hung with lock HOT 6
- Check-in attempt occurred 3 minutes late (didn't sleep computer) HOT 8
- Occasionally getting NTPExceptions - uncaught HOT 7
- "ERROR__AIR_TRAVEL__BEFORE_CHECKIN_WINDOW" on returning flight in a round trip reservation HOT 7
- Python 3.8 unable to install requirements on rocky linux HOT 3
- ModuleNotFoundError HOT 3
- Auto-southwest-check-in attempts to checkin for already traveled leg HOT 3
- 2nd flight on same day didn't checkin successfully HOT 10
- log to stdout HOT 11
- Failed to check in to flight [CONF#] for [NAME]. Reason: Bad Request 400. HOT 3
- 403 and 429 Errors Thread HOT 188
- This should not be GET request as this url is only for POST HOT 14
- Develop branch: No element present exception during login HOT 31
- Notification Level for Check In only HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-southwest-check-in.