Frontend not communicating with backend.
EnronMusk opened this issue · 3 comments
What is the issue?
cloned latest branch and ran make first-run, encountering this error in multiple browsers (google + firefox) when trying to visit the frontend:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8000/v1/auth_strategies. (Reason: CORS request did not succeed). Status code: (null).
Seems to be happening for all routers.
Additional information
No response
My first guess is that the server didn't start up properly, for some reason. Are you able to look at the Docker logs for the backend
container and see if there are any error messages there?
My first guess is that the server didn't start up properly, for some reason. Are you able to look at the Docker logs for the
backend
container and see if there are any error messages there?
No error messages in the backend container or frontend. The way I fixed it was setting the hostname for the front and backend to be the same, then the error no longer occurs.
Closing this! Thanks @EnronMusk