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

Problems taking too long to load #8

Open
k3n3nna opened this issue Nov 1, 2024 · 6 comments
Open

Problems taking too long to load #8

k3n3nna opened this issue Nov 1, 2024 · 6 comments

Comments

@k3n3nna
Copy link

k3n3nna commented Nov 1, 2024

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.

@davidzajac1
Copy link
Owner

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.

@AlanDataPortfolio
Copy link

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.

@davidzajac1
Copy link
Owner

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)

@AlanDataPortfolio
Copy link

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?

@davidzajac1
Copy link
Owner

@AlanDataPortfolio I just made a new branch called uncommon-ports which has the fix that I think should work for you. Can you try cloning that branch then run make up please (might take a few minutes to build all the images)?

git clone -b uncommon-ports https://github.com/davidzajac1/zillacode.git
make up

@AlanDataPortfolio
Copy link

Thanks David! the uncommon-ports branch has fixed the issue on Macos.
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants