-
Notifications
You must be signed in to change notification settings - Fork 24
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
Comments
@k3n3nna this is usually a port issue. Make sure nothing is running one the ports 5000, 5173, 8001, 8002 and 8003 then run 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. |
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? |
@AlanDataPortfolio I just made a new branch called git clone -b uncommon-ports https://github.com/davidzajac1/zillacode.git
make up |
Thanks David! the |
Stll having issues opening up the problems. I'm running the makefile from the new branch. I've checked the network tab and I'm getting the folllowing error: Access to XMLHttpRequest at 'http://localhost:5000/get_problem' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. |
@k3n3nna if you open Docker Desktop when this is happening are all of the containers green and seem to be running properly? Can you comment a screenshot of the Network tab for 'http://localhost:5000/get_problem' please? |
im also facing same issue in mac though i tried uncommon branch |
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.
The text was updated successfully, but these errors were encountered: