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

Error: Page closed without handling it properly #2779

Open
1 task done
tugkan opened this issue Dec 18, 2024 · 0 comments
Open
1 task done

Error: Page closed without handling it properly #2779

tugkan opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working. t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@tugkan
Copy link

tugkan commented Dec 18, 2024

Which package is this bug report for? If unsure which one to select, leave blank

@crawlee/core

Issue description

Hey there,

We have an actor on the Apify Store (https://apify.com/epctex/traffic-generator) that produces an Error: Page closed error randomly without properly catching it and causing the actor to crash. The problem is not easily producible but in the local machines, you can reproduce it by running the actor and force abort it by hitting multiple cmd + C.

The screenshot is attached and this is the Run.

We do not wait for any responses or promises. We only use preNavigationHooks for blocking the requests by using crawlee utils. For detailed code inspection, we can have a call or you can reach out to me via Slack.

Note: This is not the same issue with this one since the error got produced directly from the playwright library rather than Crawlee or Apify SDK.

Screenshot 2024-12-18 at 16 12 26

Code sample

No response

Package version

3.9.2

Node.js version

18

Operating system

apify/actor-node-playwright-chrome:18

Apify platform

  • Tick me if you encountered this issue on the Apify platform

I have tested this on the next release

No response

Other context

No response

@tugkan tugkan added the bug Something isn't working. label Dec 18, 2024
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

No branches or pull requests

1 participant