Comments (7)
Thanks for reporting this issue. Can you post the script's logs so I can get a better idea of when exactly this happens?
from auto-southwest-check-in.
Here's a screenshot of my log. I started the container at 03:15 with 1h login intervals for 2 accounts as defined in config. Since the error occurred at 17:15:10, I assume it was triggered by an attempted login at the scheduled interval.
from auto-southwest-check-in.
Thanks for sending that. Can you send the actual log file though (it doesn’t contain sensitive information)? asyncio
is reporting the issue, but this script never directly uses asyncio, so I am guessing it is a problem with a dependency. The logs will verify exactly when it happens (at what point of the login attempt) so I know how to look into this further.
from auto-southwest-check-in.
How would I grab those for you? I see in the troubleshooting section they're stored in logs/auto-southwest-check-in.log, but I don't see that anywhere as I'm running in Docker on Synology. I assume I can pull them by issuing a command to the container?
from auto-southwest-check-in.
OK, I managed to figure it out - taking a quick glance myself, I don't see the error at the timestamp in these logs. 2 things I noticed though (may be unrelated and/or I can open a new bug report if necessary)
I have 2 accounts monitored with this, 1 account has 2 flights reserved and the other account had 3 flights reserved, but then I cancelled 1 on 5/8. I assume Process-1 is for 1 account and Process-2 is for the other account. In these logs, Process-1 ends up disappearing on 5/10. Additionally, Process 2 states "Currently have 3 flights scheduled" even though it should only be 2 at that point.
from auto-southwest-check-in.
I appreciate you attaching the logs. Process-1 appears to be the one that failed, but the exception was never logged (I don't have it set up for that). It failed when starting the webdriver so I looked around for Selenium issues relating to it and came across selenium-wire #238 and selenium-wire #361. Both times the issue seems to have been a very rare occurrence.
There seems to be many issues reported relating to starting the webdriver (see #90). I will implement a better algorithm to start the driver to hopefully fix these rare and random issues.
As for the cancelled flight, I have plans to handle this scenario (it shouldn't be hard to implement). However, it isn't high on the priority list right now as it won't actually hurt the execution of the script. It will obviously send a failed check-in notification, but this can be safely ignored. Feel free to open an issue on it though
from auto-southwest-check-in.
I added more resistance to random errors like this while initializing the webdriver. Let me know if you run into any more issues related to this.
from auto-southwest-check-in.
Related Issues (20)
- Hang during setting headers_set HOT 7
- Failed to check in due to local time being ahead HOT 17
- Hangs at "Loading Southwest Check-In page" HOT 24
- ModuleNotFoundError: No module named 'requests' HOT 3
- 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 11
- 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
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.