Hi @<1523703436166565888:profile|DeterminedCrab71> and @<1523701070390366208:profile|CostlyOstrich36> , coming back to this after a while. It actually seems to be related to Google Cloud permissions:
- The images in the ClearML dashboard to not show as discussed above
- If I copy the image url (coming out as something like None and open it in another tab where I’m logged into my Google Account, the image loads
- If I do the same thing in a private tab or other browser where I’m not logged into my Google account, the error page comes as shown below.I still haven’t set Google Cloud credentials in the ClearML dashboard like I needed to do for AWS - is there any way to do the equivalent for GCP?
If that helps: The URL I get when I copy it out of the ClearML dashboard is the same one as is listed under “Authenticated URL” when looking up the image in Google Cloud storage. And of course that opens the image if I go to it in another tab
It was related, special characters also made prevented some access.
But it was and is also related to some authentication problem with Google: If you open the dashboard in Chrome, go to the developer console, you see a bunch of failed links to authenticate to. If you click one of them in another tab, it shows the Google signin screen and afterwards you can see the Debug Samples in Dashboard.
That all does not work in safari though for some reason 🙂
try to open site settings in the (i) menu
Hi @<1523702496097210368:profile|ScantChimpanzee51> , I think you need to be connected to the GS account on the same machine
Hi @<1523702496097210368:profile|ScantChimpanzee51> , currently we rely on a GCP token to be available on this session. in your case a private windows is a new separate session.
we consider signing GCP resources similar to AWS, in a future version
Hi @<1523702496097210368:profile|ScantChimpanzee51> , is clearml self hosted and if so, is it on a non secure (HTTP) server?
I think so, I guess you're using chrome
@<1523701070390366208:profile|CostlyOstrich36> , you mean the ClearML server needs access to Cloud Storage in its clearml.conf file?
Just tried it by creating a ~/clearml.conf file and setting the entry as below - unfortunately the same result. I’ve re-started the docker-compose of course.
Did I miss something here?
google.storage {
credentials_json: "/home/.../my-crendetials.json"
}
I’m on Safari actually, but I just checked on Chrome (which shows this unsecure connection indicator) and images are activated. Might it still be due to non-HTTPS connection? We should get on that anyhow
yes, browsers usually block accessing insecure data on secure site and vise versa
Ah got it - that is already the case though. I’m logged into a Google Account that can access that bucket and I can download the image by clicking on the Download link in the ClearML dashboard and by going through the GCP console to the bucket…
No, no I mean you need to be logged into your GS account on the same browser as the webserver when visiting
Yes and yes - is that the issue and it might likely go away if we host it via HTTPS?
in your case clearml is insecure and GCS is secure
it might have some mixed or insecure content blocked
Ok I see, that is what I thought. But do you have any idea why I am not seeing these images? I am logged into my Gmail account and into the Google Cloud Console and can access both in another tab of the same browser. Am I missing something here?