Second-Hand-Friends / kleinanzeigen-bot

A dilligent command line tool to publish ads on kleinanzeigen.de
GNU Affero General Public License v3.0
202 stars 44 forks source link

[BUG] Increase Timeout #251

Closed lamyergeier closed 6 months ago

lamyergeier commented 8 months ago

✔️ Expected Behaviour

I execute the bot from terminal, and it opens a new window of chrome, where I try to manually solve the puzzle (in less than 2 seconds) and I enter my credentials manually (as the auto login is always leading to account getting locked).

🐞 Actual Behaviour

I get this message (even though I get no advertisement)

TimeoutException: Message: Loading page failed, it still shows fullscreen ad.

And the browser window closses,

📋 Steps to Reproduce

I execute the bot from terminal, and it opens a new window of chrome, where I try to manually solve the puzzle (in less than 2 seconds) and I enter my credentials manually (as the auto login is always leading to account getting locked), but I get this timeout exception so fast that the browser window closes.

📺 What browsers are you seeing the problem on? (if applicable)

Chrome

💻 What operating systems are you seeing the problem on? (if applicable)

Fedora 39

📃 Relevant log output (if applicable)

No response

Code of Conduct

TylonHH commented 8 months ago

And if you are able to solve this, your session is banned, fortunately not the account

Warum haben wir das getan? Etwas im Verhalten des Browsers hat uns stutzig gemacht.

Dafür kann es unterschiedliche Gründe geben:
 Du surfst und klickst mit übermenschlicher Geschwindigkeit
 irgendetwas blockiert die Funktionsweise von Javascript auf deinem Computer
kahironimashte commented 7 months ago

I am on Ubuntu 22.04 and share the observation. Does this bug also appear on Windows-machines?

FullHD23 commented 7 months ago

I am on Ubuntu 22.04 and share the observation. Does this bug also appear on Windows-machines?

Yes, had the same problem on windows. I changed to headless and to a already logged in session which seems to help.

kriz99 commented 6 months ago

I changed to headless and to a already logged in session which seems to help.

Could you explain how to use a "already logged in session", please?

sebthom commented 6 months ago

Should be solved by latest release.

kriz99 commented 6 months ago

Can confirm. Thanks a lot!