hexaquarks / chess_pace_tracker

1 stars 0 forks source link

AddrInUse in backend WebSocket handling #53

Open hexaquarks opened 2 months ago

hexaquarks commented 2 months ago

Sometimes I would start, or restart the backend server but it fails with

Error: Os { code: 98, kind: AddrInUse, message: "Address already in use" }
[Finished running. Exit status: 1]

I'm then forced to lsof -i :8000 to get the PID of the backend server at that port and kill it with kill -9 <PID>. I'm not sure in which situation this problem arises. Need to investigate