I ran into this bug that rears its ugly head once ...
# help
s
I ran into this bug that rears its ugly head once in a while, where the
yarn start
process just stops listening. it says “Listening for requests…” but when the front end makes requests, I can see that nothing happens, and the front end gets a 500 error. you guys want me to send any logs over?
hmm, the debug log isn’t even logging anything when I make API calls
I hit ^C to kill the process and it’s stuck.. won’t even quit
ö
And yarn start executes
sst start
?
s
yep
ö
I see. It’s weird that you cannot kill the process. I suspect if the WebSocket that SST opens hangs
s
yeah, seems like an issue with the websocket connection.
pkill node
killed the process without issue
t
Hm did it die right when you started it
or did it work for a while
s
it did work for a while. this usually happens with long-running processes
f
Hey @Sam Hulick
this usually happens with long-running processes
Do you mean when sst start has been running for a while? Or the Lambda function is long-running (ie. runs for 10min then returns)?
s
the sst start process
f
I see. does it happen after leaving it on for a few hours? over night? couple of days?
s
A few hours
f
I see. Let me leave it on over night and test in the morning.
When
yarn start
gets stuck again, can you look up the CW logs for the lambda that got the 500 error, and paste it here. That should provide more context.
s
@Frank sure thing!