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

Encountered Too Many Requests Error #319

Open
edshaw42 opened this issue Nov 10, 2024 · 7 comments
Open

Encountered Too Many Requests Error #319

edshaw42 opened this issue Nov 10, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@edshaw42
Copy link

Version

v8.1

Browser Version

130.0.6723.92

Description

Updated to v8.1, running locally on windows pc. I have a config monitoring 2 accounts, I am getting this at every run for each account. Help?

2024-11-10 11:59:34 DEBUG MainProcess[log:24]: Initialized the application
2024-11-10 11:59:34 DEBUG MainProcess[main:113]: Auto-Southwest Check-In v8.1
2024-11-10 11:59:34 DEBUG MainProcess[main:71]: Called with 0 arguments
2024-11-10 11:59:34 DEBUG MainProcess[config:143]: Initializing configuration file
2024-11-10 11:59:34 DEBUG MainProcess[config:172]: Reading the configuration file
2024-11-10 11:59:34 DEBUG MainProcess[config:185]: Reading configuration from environment variables
2024-11-10 11:59:34 DEBUG MainProcess[config:73]: Setting check fares to <CheckFaresOption.SAME_FLIGHT: 'same_flight'>
2024-11-10 11:59:34 DEBUG MainProcess[config:81]: A Healthchecks URL has been provided
2024-11-10 11:59:34 DEBUG MainProcess[config:85]: Setting retrieval interval to 4 hours
2024-11-10 11:59:34 DEBUG MainProcess[config:120]: Setting notification level to <NotificationLevel.NOTICE: 1>
2024-11-10 11:59:34 DEBUG MainProcess[config:155]: Creating configurations for 3 accounts
2024-11-10 11:59:34 DEBUG MainProcess[config:133]: Using 1 notification services
2024-11-10 11:59:34 DEBUG MainProcess[config:133]: Using 1 notification services
2024-11-10 11:59:34 DEBUG MainProcess[config:133]: Using 1 notification services
2024-11-10 11:59:34 INFO MainProcess[main:97]: Monitoring 3 accounts and 0 reservations

2024-11-10 11:59:35 DEBUG Process-3[reservation_monitor:65]: Acquiring lock...
2024-11-10 11:59:35 DEBUG Process-1[reservation_monitor:67]: Lock acquired
2024-11-10 11:59:35 DEBUG Process-1[reservation_monitor:205]: Retrieving reservations for account
2024-11-10 11:59:35 DEBUG Process-1[webdriver:130]: Starting webdriver for current session
2024-11-10 11:59:44 DEBUG Process-1[webdriver:152]: Using browser version: 130.0.6723.92
2024-11-10 11:59:44 DEBUG Process-1[webdriver:156]: Loading Southwest home page (this may take a moment)
2024-11-10 11:59:48 DEBUG Process-1[webdriver:104]: Logging into account to get a list of reservations and valid headers
2024-11-10 11:59:53 DEBUG Process-1[webdriver:187]: Waiting for headers_set to be set (timeout: 180 seconds)
2024-11-10 11:59:53 DEBUG Process-1[webdriver:201]: headers_set set successfully
2024-11-10 11:59:54 DEBUG Process-1[webdriver:187]: Waiting for login_request_id to be set (timeout: 180 seconds)
2024-11-10 11:59:54 DEBUG Process-1[webdriver:179]: Login response has been received
2024-11-10 11:59:55 DEBUG Process-1[webdriver:201]: login_request_id set successfully
2024-11-10 11:59:57 DEBUG Process-1[webdriver:257]: Logging in failed for an unknown reason
2024-11-10 11:59:57 DEBUG Process-1[reservation_monitor:220]: Encountered a Too Many Requests error while logging in. Skipping reservation retrieval
2024-11-10 12:00:00 DEBUG Process-1[reservation_monitor:78]: Lock released
2024-11-10 12:00:00 DEBUG Process-2[reservation_monitor:67]: Lock acquired

To Reproduce

Run the script with 3 accounts being monitored.

Expected Behavior

No response

Relevant logs and program output

2024-11-10 11:59:34 DEBUG MainProcess[log:24]: Initialized the application
2024-11-10 11:59:34 DEBUG MainProcess[main:113]: Auto-Southwest Check-In v8.1
2024-11-10 11:59:34 DEBUG MainProcess[main:71]: Called with 0 arguments
2024-11-10 11:59:34 DEBUG MainProcess[config:143]: Initializing configuration file
2024-11-10 11:59:34 DEBUG MainProcess[config:172]: Reading the configuration file
2024-11-10 11:59:34 DEBUG MainProcess[config:185]: Reading configuration from environment variables
2024-11-10 11:59:34 DEBUG MainProcess[config:73]: Setting check fares to <CheckFaresOption.SAME_FLIGHT: 'same_flight'>
2024-11-10 11:59:34 DEBUG MainProcess[config:81]: A Healthchecks URL has been provided
2024-11-10 11:59:34 DEBUG MainProcess[config:85]: Setting retrieval interval to 4 hours
2024-11-10 11:59:34 DEBUG MainProcess[config:120]: Setting notification level to <NotificationLevel.NOTICE: 1>
2024-11-10 11:59:34 DEBUG MainProcess[config:155]: Creating configurations for 3 accounts
2024-11-10 11:59:34 DEBUG MainProcess[config:133]: Using 1 notification services
2024-11-10 11:59:34 DEBUG MainProcess[config:133]: Using 1 notification services
2024-11-10 11:59:34 DEBUG MainProcess[config:133]: Using 1 notification services
2024-11-10 11:59:34 INFO MainProcess[main:97]: Monitoring 3 accounts and 0 reservations

2024-11-10 11:59:35 DEBUG Process-3[reservation_monitor:65]: Acquiring lock...
2024-11-10 11:59:35 DEBUG Process-1[reservation_monitor:67]: Lock acquired
2024-11-10 11:59:35 DEBUG Process-1[reservation_monitor:205]: Retrieving reservations for account
2024-11-10 11:59:35 DEBUG Process-1[webdriver:130]: Starting webdriver for current session
2024-11-10 11:59:44 DEBUG Process-1[webdriver:152]: Using browser version: 130.0.6723.92
2024-11-10 11:59:44 DEBUG Process-1[webdriver:156]: Loading Southwest home page (this may take a moment)
2024-11-10 11:59:48 DEBUG Process-1[webdriver:104]: Logging into account to get a list of reservations and valid headers
2024-11-10 11:59:53 DEBUG Process-1[webdriver:187]: Waiting for headers_set to be set (timeout: 180 seconds)
2024-11-10 11:59:53 DEBUG Process-1[webdriver:201]: headers_set set successfully
2024-11-10 11:59:54 DEBUG Process-1[webdriver:187]: Waiting for login_request_id to be set (timeout: 180 seconds)
2024-11-10 11:59:54 DEBUG Process-1[webdriver:179]: Login response has been received
2024-11-10 11:59:55 DEBUG Process-1[webdriver:201]: login_request_id set successfully
2024-11-10 11:59:57 DEBUG Process-1[webdriver:257]: Logging in failed for an unknown reason
2024-11-10 11:59:57 DEBUG Process-1[reservation_monitor:220]: Encountered a Too Many Requests error while logging in. Skipping reservation retrieval
2024-11-10 12:00:00 DEBUG Process-1[reservation_monitor:78]: Lock released
2024-11-10 12:00:00 DEBUG Process-2[reservation_monitor:67]: Lock acquired

Additional context

No response

@edshaw42 edshaw42 added the bug Something isn't working label Nov 10, 2024
@dmytrokoren
Copy link
Contributor

Try the develop branch

@nuftjedi
Copy link

Getting the same errors, even on the dev branch. SImilar setup to the OP, standalone windows PC running 8.1 and now 8.1 dev.

@rscheurman
Copy link

I was able to successfully check in today using the develop branch. My setup is running on WSL.

@nuftjedi
Copy link

nuftjedi commented Nov 25, 2024

still unresolved for me. tried fresh installs of both prod and dev branches over the weekend and again this morning.

2024-11-25 11:23:22 DEBUG MainProcess[log:24]: Initialized the application
2024-11-25 11:23:22 DEBUG MainProcess[main:113]: Auto-Southwest Check-In v8.1
2024-11-25 11:23:22 DEBUG MainProcess[main:71]: Called with 0 arguments
2024-11-25 11:23:22 DEBUG MainProcess[config:143]: Initializing configuration file
2024-11-25 11:23:22 DEBUG MainProcess[config:172]: Reading the configuration file
2024-11-25 11:23:22 DEBUG MainProcess[config:185]: Reading configuration from environment variables
2024-11-25 11:23:22 DEBUG MainProcess[config:73]: Setting check fares to <CheckFaresOption.SAME_FLIGHT: 'same_flight'>
2024-11-25 11:23:22 DEBUG MainProcess[config:85]: Setting retrieval interval to 24 hours
2024-11-25 11:23:22 DEBUG MainProcess[config:120]: Setting notification level to <NotificationLevel.INFO: 2>
2024-11-25 11:23:22 DEBUG MainProcess[config:133]: Using 1 notification services
2024-11-25 11:23:22 DEBUG MainProcess[config:155]: Creating configurations for 2 accounts
2024-11-25 11:23:22 DEBUG MainProcess[config:162]: Creating configurations for 0 reservations
2024-11-25 11:23:22 INFO MainProcess[main:97]: Monitoring 2 accounts and 0 reservations
2024-11-25 11:23:24 DEBUG Process-2[reservation_monitor:68]: Acquiring lock...
2024-11-25 11:23:24 DEBUG Process-2[reservation_monitor:70]: Lock acquired
2024-11-25 11:23:24 DEBUG Process-2[reservation_monitor:209]: Retrieving reservations for account (max retries: 1)
2024-11-25 11:23:24 DEBUG Process-2[webdriver:131]: Starting webdriver for current session
2024-11-25 11:23:24 DEBUG Process-1[reservation_monitor:68]: Acquiring lock...
2024-11-25 11:23:35 DEBUG Process-2[webdriver:154]: Using browser version: 130.0.6723.70
2024-11-25 11:23:35 DEBUG Process-2[webdriver:158]: Loading Southwest check-in page (this may take a moment)
2024-11-25 11:23:55 DEBUG Process-2[webdriver:105]: Logging into account to get a list of reservations and valid headers
2024-11-25 11:24:02 DEBUG Process-2[webdriver:188]: Waiting for headers_set to be set (timeout: 180 seconds)
2024-11-25 11:24:02 DEBUG Process-2[webdriver:202]: headers_set set successfully
2024-11-25 11:24:02 DEBUG Process-2[webdriver:188]: Waiting for login_request_id to be set (timeout: 180 seconds)
2024-11-25 11:24:03 DEBUG Process-2[webdriver:180]: Login response has been received
2024-11-25 11:24:03 DEBUG Process-2[webdriver:202]: login_request_id set successfully
2024-11-25 11:24:05 DEBUG Process-2[webdriver:258]: Logging in failed for an unknown reason
2024-11-25 11:24:05 DEBUG Process-2[reservation_monitor:238]: Encountered an error (status: 429) while logging in. Retrying
2024-11-25 11:24:05 DEBUG Process-2[reservation_monitor:242]: Waiting for 20 seconds before retrying
2024-11-25 11:24:25 DEBUG Process-2[webdriver:131]: Starting webdriver for current session
2024-11-25 11:24:28 DEBUG Process-2[webdriver:154]: Using browser version: 130.0.6723.70
2024-11-25 11:24:28 DEBUG Process-2[webdriver:158]: Loading Southwest check-in page (this may take a moment)
2024-11-25 11:24:37 DEBUG Process-2[webdriver:105]: Logging into account to get a list of reservations and valid headers
2024-11-25 11:24:41 DEBUG Process-2[webdriver:188]: Waiting for headers_set to be set (timeout: 180 seconds)
2024-11-25 11:24:41 DEBUG Process-2[webdriver:202]: headers_set set successfully
2024-11-25 11:24:42 DEBUG Process-2[webdriver:188]: Waiting for login_request_id to be set (timeout: 180 seconds)
2024-11-25 11:24:42 DEBUG Process-2[webdriver:180]: Login response has been received
2024-11-25 11:24:43 DEBUG Process-2[webdriver:202]: login_request_id set successfully
2024-11-25 11:24:45 DEBUG Process-2[webdriver:258]: Logging in failed for an unknown reason
2024-11-25 11:24:45 DEBUG Process-2[reservation_monitor:245]: Error (status: 429) persists. Skipping reservation retrieval
2024-11-25 11:26:28 DEBUG Process-1[reservation_monitor:70]: Lock acquired
2024-11-25 11:26:28 DEBUG Process-2[reservation_monitor:81]: Lock released
2024-11-25 11:26:28 DEBUG Process-1[reservation_monitor:209]: Retrieving reservations for account (max retries: 1)
2024-11-25 11:26:28 DEBUG Process-1[webdriver:131]: Starting webdriver for current session
2024-11-25 11:26:28 DEBUG Process-2[reservation_monitor:154]: Sleeping for 86215 seconds
2024-11-25 11:26:31 DEBUG Process-1[webdriver:154]: Using browser version: 130.0.6723.70
2024-11-25 11:26:31 DEBUG Process-1[webdriver:158]: Loading Southwest check-in page (this may take a moment)
2024-11-25 11:26:39 DEBUG Process-1[webdriver:105]: Logging into account to get a list of reservations and valid headers
2024-11-25 11:26:44 DEBUG Process-1[webdriver:188]: Waiting for headers_set to be set (timeout: 180 seconds)
2024-11-25 11:26:44 DEBUG Process-1[webdriver:202]: headers_set set successfully
2024-11-25 11:26:44 DEBUG Process-1[webdriver:188]: Waiting for login_request_id to be set (timeout: 180 seconds)
2024-11-25 11:26:45 DEBUG Process-1[webdriver:180]: Login response has been received
2024-11-25 11:26:45 DEBUG Process-1[webdriver:202]: login_request_id set successfully
2024-11-25 11:26:47 DEBUG Process-1[webdriver:258]: Logging in failed for an unknown reason
2024-11-25 11:26:47 DEBUG Process-1[reservation_monitor:238]: Encountered an error (status: 429) while logging in. Retrying
2024-11-25 11:26:47 DEBUG Process-1[reservation_monitor:242]: Waiting for 20 seconds before retrying
2024-11-25 11:27:07 DEBUG Process-1[webdriver:131]: Starting webdriver for current session
2024-11-25 11:27:09 DEBUG Process-1[webdriver:154]: Using browser version: 130.0.6723.70
2024-11-25 11:27:09 DEBUG Process-1[webdriver:158]: Loading Southwest check-in page (this may take a moment)
2024-11-25 11:27:16 DEBUG Process-1[webdriver:105]: Logging into account to get a list of reservations and valid headers
2024-11-25 11:27:22 DEBUG Process-1[webdriver:188]: Waiting for headers_set to be set (timeout: 180 seconds)
2024-11-25 11:27:22 DEBUG Process-1[webdriver:202]: headers_set set successfully
2024-11-25 11:27:22 DEBUG Process-1[webdriver:188]: Waiting for login_request_id to be set (timeout: 180 seconds)
2024-11-25 11:27:22 DEBUG Process-1[webdriver:180]: Login response has been received
2024-11-25 11:27:23 DEBUG Process-1[webdriver:202]: login_request_id set successfully
2024-11-25 11:27:25 DEBUG Process-1[webdriver:258]: Logging in failed for an unknown reason
2024-11-25 11:27:25 DEBUG Process-1[reservation_monitor:245]: Error (status: 429) persists. Skipping reservation retrieval
2024-11-25 11:27:25 DEBUG Process-1[reservation_monitor:81]: Lock released
2024-11-25 11:27:25 DEBUG Process-1[reservation_monitor:154]: Sleeping for 86159 seconds

@nuftjedi
Copy link

nuftjedi commented Dec 2, 2024

Over the weekend one of the two accounts logged in one time, but not the other and since then it's been back to both failing.

@agoldh20
Copy link

I'm currently seeing this error on dev and master

@dmytrokoren
Copy link
Contributor

docker pull dmytrokoren/auto-southwest-check-in:develop

this one is working fine for me over 2 months. I have scheduled 1 account and fare check, been running 3 days without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants