Skip to content

Cannot access the app from a remote host. #3488

@piotrgrubicki

Description

@piotrgrubicki
  1. Start the app by AI_DEVICE=xpu docker compose up (I provided HOST in docker-compuse.yaml to overcome the problem from Cannot access app run in docker #3485 ).
  2. Open http:<IP>:8000 in your browser on another machine (all the ports are available, both UI, and api can be accessed).
  3. Ensure the Anomalib Suite welcome page is opened.
  4. Click Create project.

Nothing happens. The JS console reveals:

Uncaught TypeError: crypto.randomUUID is not a function

If I set up port forwarding and use http://localhost:8000 to open the app, it works properly.

This change has been introduced in #3470
crypto.randomUUID can be used only in secure context (https and http on localhost), which is not the case in my scenario.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions