-
Notifications
You must be signed in to change notification settings - Fork 220
UI stuck at loading #234
Comments
Hey @ursuad, are you accessing the UI through the Ingress, or through the Service? Monocular needs the API to be served from the same domain to prevent CORS issues so Ingress is required to route |
Our service names are routable, so I'm accessing it through the service. Is there some config change I need to do for it to work through the service? |
@ursuad for now you'll need to setup an ingress controller (https://github.com/kubernetes/charts/tree/master/stable/nginx-ingress is well supported) and access Monocular through that, as this will ensure the backend and frontend are setup to talked to each other properly. We want to add support for modifying the host for the API and allowing it to be separate from the frontend in the future. |
Hi @ursuad I have created an issue to support using different hostnames for backend and UI as well as posted a workaround that you can try #235 (comment) Regards |
Ok, cool. I'll try that and post back here. Thanks for the support. 👍 |
The workaround suggested didn't really work for me, but deploying the nginx ingress controller and accessing it through that worked. |
I'll close this because #235 tracks this feature. |
I met with you exactly the same problem, how will the final solution? |
Hi. I'm trying to deploy Monocular inside our own k8s cluster with a private helm repository. Our service names are routable from the browser, so we don't need (use) the ingress resource.
The Monocular UI stays stuck at loading ( when I try to access the k8s service created for the UI), even if I don't see any errors in the logs of any of the components.
The only errors I see are in the Chrome Console (attached)
I will try to provide as much details as I can. Let me know if more information is needed:
monocular helm chart deployment values.yaml:
monocular-ui logs
monocular-prerender logs
monocular-api logs
The text was updated successfully, but these errors were encountered: