grunge-stack icon indicating copy to clipboard operation
grunge-stack copied to clipboard

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

Open peterpostmann opened this issue 2 years ago • 3 comments

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

peterpostmann avatar Jul 25 '22 22:07 peterpostmann

Did you ever find a solution to this?

bdegiglioD6 avatar Oct 05 '22 13:10 bdegiglioD6

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

peterpostmann avatar Oct 05 '22 14:10 peterpostmann

I'm experiencing the same issue :(

gggiovanny avatar Oct 08 '22 21:10 gggiovanny

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

alexmk92 avatar Oct 27 '22 09:10 alexmk92