Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Request timeout in docker #2648

Closed
1 task
Ardear opened this issue Aug 30, 2024 · 0 comments
Closed
1 task

Request timeout in docker #2648

Ardear opened this issue Aug 30, 2024 · 0 comments
Labels
t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@Ardear
Copy link

Ardear commented Aug 30, 2024

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

@crawlee/playwright (PlaywrightCrawler)

Issue description

After I build a dockerfile with template Dockerfile, and I start project by ENTRYPOINT [ "node" ] in dockerfile, for running custom file enterpoint

It works well by runing tsx src/filename.ts or node dist/filename.js in local. But time out when run docker run my-build-image dist/filename.js

request: Request {
    id: 'rYNmq8qczeMRg0W',
    url: 'https://www.ali213.net/news/new/',
    loadedUrl: undefined,
    uniqueKey: 'https://www.ali213.net/news/new',
    method: 'GET',
    payload: undefined,
    noRetry: false,
    retryCount: 0,
    errorMessages: [
      'Error: requestHandler timed out after 130 seconds (rYNmq8qczeMRg0W).\n' +
        '    at Timeout._onTimeout (/home/myuser/node_modules/@apify/timeout/cjs/index.cjs:64:68)\n' +
        '    at listOnTimeout (node:internal/timers:581:17)\n' +
        '    at process.processTimers (node:internal/timers:519:7)'
    ],
    headers: {},
    userData: [Getter/Setter],
    handledAt: undefined
  },

Code sample

No response

Package version

3.11.2

Node.js version

v20.10.0

Operating system

No response

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

@Ardear Ardear added the bug Something isn't working. label Aug 30, 2024
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Aug 30, 2024
@B4nan B4nan removed the bug Something isn't working. label Aug 30, 2024
@apify apify locked and limited conversation to collaborators Aug 30, 2024
@B4nan B4nan converted this issue into discussion #2649 Aug 30, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

No branches or pull requests

2 participants