Hubs-Foundation / hubs-cloud

Resources for self hosted Hubs Cloud instances
Mozilla Public License 2.0
149 stars 88 forks source link

Importing custom .pack for avatars fails with 404 on cors subdomain #332

Closed Utopiah closed 5 months ago

Utopiah commented 5 months ago

Describe the bug I'm trying to import a set of custom avatars using a .pack URL. When trying to import it seems to load indefinitely. Using avatars-animals.pack though does work.

To Reproduce Steps to reproduce the behavior:

  1. Go to admin panel
  2. Paste a .pack URL to the input field
  3. Click the import button
  4. See error 404 in the console trying to reach https://cors.hubs.ovh/https://fabien.benetou.fr/api/v1/avatars/home
  5. Check log on reticulum and see no error but
10:39:30.130 request_id=F7BUI3qUm6tLMXAAClbh [info] GET /https://fabien.benetou.fr/api/v1/avatars/home
10:39:30.215 request_id=F7BUI3qUm6tLMXAAClbh [info] Chunked 404 in 84ms

knowing that /https://fabien.benetou.fr/ does not exist. In fact https://fabien.benetou.fr is the domain the .pack comes from.

Expected behavior Import avatars

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Utopiah commented 5 months ago

Actually trying to do so on a myhubs.net instance returns the same error.

Utopiah commented 5 months ago

My bad A pack is just a simple text file with a .pack file extension that is a list of URLs, on per line, pointing to avatar or scene URLs on any existing hub on the web. I thought it was plain URLs to avatars but it's plain URL to avatar of a running instance. Closing the issue.