Fabric8 Console 2.2.16 setup help with OOv3 native

34 views
Skip to first unread message

Rob

unread,
Aug 18, 2015, 6:03:19 PM8/18/15
to fabric8
Hi, I am having trouble with the web console on OOv3. I have it deployed on my OOv3 setup (fedora 21, native binary install of OO) and it loads, but in the developer console of my browser, I get this error:

Failed to load resource: the server responded with a status of 403 (Forbidden)
libs-375df221.js:11 [kubernetes-watcher] error :  Forbidden
libs-375df221.js:7 XMLHttpRequest cannot load http://%3Cno%20value%3E:<no%20value>/apiman/system/status. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.(anonymous function) @ libs-375df221.js:7
libs-375df221.js:8 Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://%3Cno%20value%3E:<no%20value>/apiman/system/status'.
    at Error (native)
    at http://fabric8.ares.home/libs-375df221.js:18:27779(anonymous function) @ libs-375df221.js:8
libs-375df221.js:11 [api-manager] Error getting apiman system status: {"stack":"Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://%3Cno%20value%3E:<no%20value>/apiman/system/status'.\n    at Error (native)\n    at http://fabric8.ares.home/libs-375df221.js:7:24100\n    at x (http://fabric8.ares.home/libs-375df221.js:7:22222)\n    at c (http://fabric8.ares.home/libs-375df221.js:7:20721)\n    at l (http://fabric8.ares.home/libs-375df221.js:8:5888)\n    at http://fabric8.ares.home/libs-375df221.js:8:6060\n    at h.$eval (http://fabric8.ares.home/libs-375df221.js:8:13452)\n    at h.$digest (http://fabric8.ares.home/libs-375df221.js:8:11961)\n    at h.$apply (http://fabric8.ares.home/libs-375df221.js:8:13719)\n    at http://fabric8.ares.home/libs-375df221.js:18:27779"}console.consoleLogger @ libs-375df221.js:11



Is there some setup I am missing? I ran:


export KUBERNETES_DOMAIN=ares.home oc process -v DOMAIN=$KUBERNETES_DOMAIN -f \ http://central.maven.org/maven2/io/fabric8/apps/base/2.2.16/base-2.2.16-kubernetes.json \ | oc create -f -


I have apiman and api-registry also running, following the same pattern ( I did not know if they were needed).

Thanks.

Stan Lewis

unread,
Aug 18, 2015, 6:08:18 PM8/18/15
to Rob, fabric8
This line makes me think you may need to add the self-signed certificate to your browser's list of trusted CAs:

libs-375df221.js:11 [kubernetes-watcher] error :  Forbidden

Definitely found with some of the chrome betas this was necessary, in any case we've a write-up here -> http://fabric8.io/guide/getStarted/browserCertificates.html

--
You received this message because you are subscribed to the Google Groups "fabric8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabric8+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rob

unread,
Aug 18, 2015, 6:41:19 PM8/18/15
to fabric8, robthe...@gmail.com
Thanks for the tip, I imported the CA cert and the Site Info symbol on chrome is now green:

The Forbidden is from trying to load this resource:

https://ares.home:8443/api/v1/namespaces Failed to load resource: the server responded with a status of 403 (Forbidden)

Rob

unread,
Aug 18, 2015, 6:55:46 PM8/18/15
to fabric8, robthe...@gmail.com
So to clarify, I am still getting the same error:

Stan Lewis

unread,
Aug 18, 2015, 10:02:21 PM8/18/15
to Rob, fabric8
In the javascript console type the following and hit enter:

localStorage['logLevel'] = angular.toJson(Logger.DEBUG);

Also check on 'preserve log' so the log is kept between page navigations.  This will get you a lot more logging on the console side.

Also, just to check, did you add the cluster-admin role to the user account you're logging in with?  It's mentioned here on this page under "OpenShift configuration":

Reply all
Reply to author
Forward
0 new messages