Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Error in javascript running monocular #250

Closed
rodcloutier opened this issue May 12, 2017 · 2 comments
Closed

Error in javascript running monocular #250

rodcloutier opened this issue May 12, 2017 · 2 comments

Comments

@rodcloutier
Copy link

Running the latest pull from github in my kubernetes cluster I keep getting errors Unexpected token < in JSON at position 0 in the browser console and a spinning wheel.

vendor.ef3063430e06959a3905.bundle.js:727 EXCEPTION: Unexpected token < in JSON at position 0
t.handleError @ vendor.ef3063430e06959a3905.bundle.js:727

Running Chrome browser Version 57.0.2987.133
Monocular deployed in minikube 0.19.0 using helm helm install --name monocular deployment/monocular.

Service started with minikube service monocular-monocular-ui

The monocular-api pods are not reporting any errors.

@migmartri
Copy link
Contributor

Hi,

Currently, out of the box, Monocular only supports running alongside an Nginx Ingress controller. See the requisites section here. This means that in order to access to the Monocular app, you need to do it through the Nginx ingress controller exposed service instead of from the UI.

I believe that your issue is the same one experienced here #234

There is an issue w.r.t supporting the deployment of monocular without an ingress controller where you can find a workaround #235

Thanks for reporting the issue,

Regards,
Miguel

@rodcloutier
Copy link
Author

Tested and it works fine with the ingress. I will close the issue since it is properly documented.

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

No branches or pull requests

2 participants