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

Warning: server timed out after hitting its 5s timeout! #91

Closed
peterpostmann opened this issue Jul 25, 2022 · 6 comments
Closed

Warning: server timed out after hitting its 5s timeout! #91

peterpostmann opened this issue Jul 25, 2022 · 6 comments
Labels
needs-response We need a response from the original author about the issue

Comments

@peterpostmann
Copy link

Have you experienced this bug with the latest version of the template?

yes

Steps to Reproduce

Create a folder on a windows drive from within WSL and setup project there

mkdir /mnt/c/dev
cd dev 
npx create-remix --template remix-run/grunge-stack

-- or --

npm run validate

Result:

✓ Sandbox Started file watcher
Watching Remix app in development mode...
⚠️  Test routes enabled.
⚠️ Warning: mnt/c/dev/chess2/server timed out after hitting its 5s timeout!
⚠️ Warning: mnt/c/dev/chess2/server timed out after hitting its 5s timeout!
⚠️ Warning: mnt/c/dev/chess2/server timed out after hitting its 5s timeout!
⚠️ Warning: mnt/c/dev/chess2/server timed out after hitting its 5s timeout!
...

If the project is created in a linux folder (e.g. ~/dev/) it works just fine.

Expected Behavior

Tests run through

Actual Behavior

⚠️ Warning: mnt/c/dev/chess2/server timed out after hitting its 5s timeout!

is repeated forever

@bdegiglioD6
Copy link

Did you ever find a solution to this?

@peterpostmann
Copy link
Author

I couldn't get it run on a windows filesystem (/mnt/c), but this error didn't occure if run on a linux filesstem (~/)

@gggiovanny
Copy link

I'm experiencing the same issue :(

@alexmk92
Copy link

alexmk92 commented Oct 27, 2022

Following the Arc documentation, you can configure the execution time of your Lambda handler, here's my app.arc

@app
my-app-id

@arc
env true

@http
/*
  method any
  src server

@static

@aws
timeout 60              <-- default exec time of your handler is 5s, up it to 60 in dev (my prod one is still 5s)
memory 256
concurrency 10          <-- if running in prod, I noticed some 500 errors, upping concurrency fixes this
region eu-west-2

@github-actions
Copy link
Contributor

This issue has been automatically marked stale because we haven't received a response from the original author in a while 🙈. This automation helps keep the issue tracker clean from issues that are not actionable. Please reach out if you have more information for us or you think this issue shouldn't be closed! 🙂 If you don't do so within 7 days, this issue will be automatically closed.

@github-actions github-actions bot added the needs-response We need a response from the original author about the issue label Apr 17, 2023
@github-actions
Copy link
Contributor

This issue has been automatically closed because we didn't hear anything from the original author after the previous notice.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-response We need a response from the original author about the issue
Projects
None yet
Development

No branches or pull requests

4 participants