hubs icon indicating copy to clipboard operation
hubs copied to clipboard

Hubs admin doesn't works Error:400-404-502

Open burakakca opened this issue 2 years ago • 4 comments

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://hubs.local:4000/admin#/'
  2. Click on 'open console '
  3. See error
GET https://hubs.local:4000/api/ita/schemas [HTTP/2 502 Bad Gateway 27ms]
GET https://hubs.local:4000/api/ita/admin-info [HTTP/2 502 Bad Gateway 23ms]
GET https://hubs.local:4000/api/ita/configs/reticulum/ps [HTTP/2 502 Bad Gateway 20ms]

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://hubs.local:4000/admin#/import'
  2. Paste to input and click button 'https://hubs.mozilla.com/avatars/UzHA9NY' NOTE: Chrome and Opera Error Cross-Origin Request Blocked: The Same Origin Policy
  3. Below Click import item button
  4. See error hub-admin

Also when i change pages i get this error; hubs-admin-pages

Hardware

  • Device: [Desktop]
  • OS: [Linux]
  • Browser: [Firefox]

┆Issue is synchronized with this Jira Task

burakakca avatar Dec 23 '21 09:12 burakakca

I'm getting an error while building /admin

Module build failed (from ../node_modules/babel-loader/lib/index.js):
ValidationError: [BABEL] /Users/prashastikapadia/prash/web-xr/hubs/admin/src/admin.js: Invalid options object. babel-plugin-react-intl has been initialized using an options object that does not match the API schema.
 - options has an unknown property 'enforceDescriptions'. These properties are valid:```

pnkapadia64 avatar Jan 13 '22 06:01 pnkapadia64

I see there's an ItaProxy set to localhost:6000. There is nothing running at :6000 on my machine and so 502 makes sense. I see on the server there's an ita service. mozillareality/ita/0.0.1/20200526203229 standalone up up 6781997 2746 ita.default@the-server

Found this in Discord: "you don't actually need this service and can instead directly apply configuration changes to the ring state by hand (see https://docs.chef.io/habitat/habitat_cli/#hab-config-apply) "

justincolangelo avatar Jan 19 '22 15:01 justincolangelo

As far as I'm aware Admin panel doesn't work on a local client. @brianpeiris @johnshaughnessy can you confirm the expected behavior here?

SV-AndreiC avatar May 02 '22 12:05 SV-AndreiC

These errors are related to an internal service that we use in Hubs Cloud. It is not meant to be used locally, so these errors can be ignored.

brianpeiris avatar May 02 '22 13:05 brianpeiris