noobaa-operator icon indicating copy to clipboard operation
noobaa-operator copied to clipboard

CLI: `noobaa ui` trying to open wss proto instead of http

Open guymguym opened this issue 4 years ago • 2 comments

It uses the RPC address wss://localhost:57772 instead of the UI address http://localhost:57772. Seems to be introduced in v2.1.1

guymguym avatar Apr 26 '20 17:04 guymguym

any update ? how i gonna use noobaa in browser

Daornit avatar Jul 22 '20 06:07 Daornit

Hi @Daornit

The noobaa ui command returning a wss address is a bug, but let me give you some alternatives:

The NooBaa Management Console is served by the noobaa-mgmt service and here are a couple of ways you can access it without the help of the noobaa ui comamnd, depending on your deployment:

You can use the noobaa status command to get a list of all available network addresses that can be used to access the mgmt service from within the cluster and from the outside. For example, running noobaa status on my computer, running a local minikube cluster, yields:

#------------------#
#- Mgmt Addresses -#
#------------------#

ExternalDNS : []
ExternalIP  : []
NodePorts   : [https://192.168.64.61:31435]
InternalDNS : [https://noobaa-mgmt.default.svc:443]
InternalIP  : [https://10.98.238.201:443]
PodPorts    : [https://172.17.0.4:8443]

#--------------------#
#- Mgmt Credentials -#
#--------------------#

email    : [email protected]
password : *****************************

Usually, you should use the address under ExternalDNS or ExternalIP to access the service but in the case that the service is not exposed via external addressing you can use the address under NodePorts.

nb-ohad avatar Jul 22 '20 10:07 nb-ohad

closing as the UI is deprecated.

guymguym avatar Dec 17 '22 14:12 guymguym