allegroai / clearml

ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
https://clear.ml/docs
Apache License 2.0
5.71k stars 657 forks source link

ClearML frontend does not include the cookies to get the plot. #1331

Closed feicccccccc closed 2 months ago

feicccccccc commented 2 months ago

Describe the bug

A clear and concise description of what the bug is.

The fronted does not include the cookies when fetching the plot from the file server. i.e. Getting the plot from frontend image image

Getting the plot directly from the url image

To reproduce

Exact steps to reproduce the bug. Provide example code if possible.

Expected behaviour

What is the expected behaviour? What should've happened but didn't? The images show on the frontend.

Environment

oren-allegro commented 2 months ago

@feicccccccc - this will be fixed in the upcoming version. As a workaround - you can add the following env variable to the webserver service: WEBSERVER__useFilesProxy and set it to true

For example, if using docker-compose - add to the webserver service dfinitions:

    environment:
      WEBSERVER__useFilesProxy: "true"
feicccccccc commented 2 months ago

Checked and confirmed it works.