davidzajac1/zillacode

Problems taking too long to load

Opened this issue · 4 comments

I'm able to access Zillacode but when I try and open a problem, the problem remains in the process of loading but never actually loads up.

I'm able to access Zillacode but when I try and open a problem, the problem remains in the process of loading but never actually loads up.

@k3n3nna this is usually a port issue. Make sure nothing is running one the ports 5000, 5173, 8001, 8002 and 8003 then run docker-compose up again.

If that doesn't work then please check the Network tab in Chrome and check for any requests that returned errors.

Im running on Macos, there are a few processes running in port 5000. Even if I kill them, they will reopen under a different PID in the same port 5000.

Im running on Macos, there are a few processes running in port 5000. Even if I kill them, they will reopen under a different PID in the same port 5000.

Zillacode needs port 5000 (and a few others to run) so you have to make sure those ports are open or it won't be able to run.

This should work to kill anything running on the ports it needs on Mac. Please let me know if this works:

kill -9 $(lsof -ti:5000,5173,8001,8002,8003)

I understand that Zillacode needs port 5000 to work. And I did kill the process running in port 5000, however, the process running in port 5000 seems to be a system managed one, meaning it will reopen itself in port 5000 again after I kill it. Is there a workaround?