Hari-Nagarajan / fairgame

Tool to help us buy hard to find items.
GNU General Public License v3.0
2.44k stars 804 forks source link

Timed out reloading page, trying to continue anyway #767

Open NeuralF opened 3 years ago

NeuralF commented 3 years ago

Failed reconnect attempt and timed out reloading page after adding to cart. Screenshot is just blank white screen.

Windows 10 Chrome 90.0.4430.93

Log: 2021-05-10 12:20:04,420|0.6.7|DEBUG|Calling check_stock(<stores.amazon.Amazon object at 0x00000222A2C747C0>, 'B08HR7SV3M', 750.0, 1200.0) 2021-05-10 12:20:04,420|0.6.7|DEBUG|Failed reconnect attempt. Pipe Not Found - Is Discord Running? 2021-05-10 12:20:04,789|0.6.7|DEBUG|Initial page title 2021-05-10 12:20:04,791|0.6.7|DEBUG| page url: https://smile.amazon.com/dp/B08HR7SV3M 2021-05-10 12:20:05,826|0.6.7|INFO|Found 1 offers for B08HR7SV3M. Evaluating offers... 2021-05-10 12:20:05,854|0.6.7|DEBUG|Found 0 shipping nodes. 2021-05-10 12:20:05,854|0.6.7|WARNING|No shipping nodes (standard or alt) found. Assuming zero. 2021-05-10 12:20:05,857|0.6.7|INFO|Item B08HR7SV3M in stock and in reserve range: 1114.99 + 0.00 shipping <= 1200.0 2021-05-10 12:20:05,857|0.6.7|INFO|Adding to cart 2021-05-10 12:20:05,863|0.6.7|INFO|Attempting Add To Cart with offer ID... 2021-05-10 12:20:11,358|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:20:21,695|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:20:32,049|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:20:42,384|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:20:52,751|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:21:03,112|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:21:13,464|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:21:23,820|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:21:34,177|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:21:44,526|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:21:54,866|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:22:05,214|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:22:15,571|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:22:26,042|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:22:36,781|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:22:47,136|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:22:57,482|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:23:07,895|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:23:18,247|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:23:28,668|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:23:39,001|0.6.7|INFO|Timed out reloading page, trying to continue anyway 2021-05-10 12:23:44,454|0.6.7|DEBUG|'check_stock' returned False

sircambridge commented 3 years ago

Im recently getting this same error. it has happened many times in the past week. the info I can add is that the page is hanging on a https://smile.amazon.com/checkout/turbo-initiate URL. its a 403, and clearing the .profile-amz does not help. I think its luck of the draw if your sign in is enabled with buy-it-now? not sure.

image

as far as I can tell, this new default behavior was introduced in a commit 12 days ago, in this. "maybe BIN implementation for selenium?" https://github.com/Hari-Nagarajan/fairgame/commit/b7828fe9c66fcdf7da102b91fa567bbde182f796

since the buy it now implementation doesnt work for my account, the way you can revert to old behavior is by adding "--alt-checkout" to the command line

@click.option(
    "--alt-checkout",
    is_flag=True,
    default=False,
    help="Use old add to cart method. Not preferred",
)
NeuralF commented 3 years ago

Buy it now is activated in my account and it works. Maybe it was too late?

iegyi commented 3 years ago

Hi Guys,

Is this button buy now not working or i need to add the previous code too?

rtzvetkov commented 3 years ago

I am getting these on top of the access denied and my buy it now button does show up on the account and it does work. Any ideas?

2021-05-11 14:14:19|0.6.7|ERROR|Timed out waiting for the flyout to open and populate. Is the connection slow? Do you see the flyout populate? 2021-05-11 14:14:29|0.6.7|WARNING|Timed out waiting for offers to render. Skipping... 2021-05-11 14:14:29|0.6.7|WARNING|URL: https://smile.amazon.com/dp/REMOVED 2021-05-11 14:14:43|0.6.7|ERROR|Timed out waiting for the flyout to open and populate. Is the connection slow? Do you see the flyout populate? 2021-05-11 14:14:53|0.6.7|WARNING|Timed out waiting for offers to render. Skipping... 2021-05-11 14:14:53|0.6.7|WARNING|URL: https://smile.amazon.com/dp/REMOVED

asadkabeer commented 3 years ago

Im recently getting this same error. it has happened many times in the past week. the info I can add is that the page is hanging on a https://smile.amazon.com/checkout/turbo-initiate URL. its a 403, and clearing the .profile-amz does not help. I think its luck of the draw if your sign in is enabled with buy-it-now? not sure.

image

as far as I can tell, this new default behavior was introduced in a commit 12 days ago, in this. "maybe BIN implementation for selenium?" b7828fe

since the buy it now implementation doesnt work for my account, the way you can revert to old behavior is by adding "--alt-checkout" to the command line

@click.option(
    "--alt-checkout",
    is_flag=True,
    default=False,
    help="Use old add to cart method. Not preferred",
)

Hi Guys,

Did anyone know how to resolve this issue ?

sircambridge commented 3 years ago

it looks like with a recent commit, the turbo-initiate buy it now change has been revered back to the old add to cart behavior. do a git pull and it should use the old add to cart

https://github.com/Hari-Nagarajan/fairgame/commit/eff8fd6ca42a750f1b0577bd528af887ce857ad7