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

Cannot Override Timeout API Calls #5922

Closed
vdo9 opened this issue Dec 4, 2024 · 1 comment
Closed

Cannot Override Timeout API Calls #5922

vdo9 opened this issue Dec 4, 2024 · 1 comment
Labels
type: bug code to address defects in shipped code

Comments

@vdo9
Copy link

vdo9 commented Dec 4, 2024

Describe the bug

I am getting an error where whenever we make an API call, there is a timeout error that cannot be overrided:

  errorMessage: 'Task timed out after 30.00 seconds',
  errorType: 'TimeoutError',
  stackTrace: [
    'new TimeoutError (/opt/homebrew/lib/node_modules/netlify-cli/node_modules/lambda-local/build/lib/utils.js:119:28)',
    'Context.<anonymous> (/opt/homebrew/lib/node_modules/netlify-cli/node_modules/lambda-local/build/lib/context.js:113:19)',
    'listOnTimeout (node:internal/timers:614:17)',
    'processTimers (node:internal/timers:549:7)'
  ]
}

### Steps to reproduce

-

### CLI command and flags

-

### Configuration

[build]
command = "npm run build"
publish = "build/client"

[dev]
command = "npm run dev"
framework = "vite"

CLI output

{
  errorMessage: 'Task timed out after 30.00 seconds',
  errorType: 'TimeoutError',
  stackTrace: [
    'new TimeoutError (/opt/homebrew/lib/node_modules/netlify-cli/node_modules/lambda-local/build/lib/utils.js:119:28)',
    'Context.<anonymous> (/opt/homebrew/lib/node_modules/netlify-cli/node_modules/lambda-local/build/lib/context.js:113:19)',
    'listOnTimeout (node:internal/timers:614:17)',
    'processTimers (node:internal/timers:549:7)'
  ]
}

### Environment

When I have my serverless API calls in an action function, it times out. 
@vdo9 vdo9 added the type: bug code to address defects in shipped code label Dec 4, 2024
@serhalp
Copy link
Contributor

serhalp commented Dec 11, 2024

Hi @vdo9. You'll have better luck asking for help with this at https://answers.netlify.com. This is more of an internal repo for part of the Netlify platform!

@serhalp serhalp closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

2 participants