Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug Sample urls #197

Open
andwaal-esmart opened this issue May 18, 2023 · 1 comment
Open

Debug Sample urls #197

andwaal-esmart opened this issue May 18, 2023 · 1 comment

Comments

@andwaal-esmart
Copy link

andwaal-esmart commented May 18, 2023

Hi,

I have an instance of ClearML running on a GCP VM within an VPC network.

This server is accessed in two ways:

  1. Through internet on the adresse (my-clearml.com), which is bound to the external IP of the server. The ingress on this is strictly controlled and only allows a few IPs
  2. Through the local VPC, where its accssed through its internal IP - 10.0.0.11.11. All ingress within the VPC is allowed.

The main source of logging to the ClearML server is Vertex AI through the VPC. Since custom containers running on GCP dont have a static IP, they do their logging using the internal IP of the ClearML server (10.0.11.11:8080)

My problem is as follows:

  • When we access the server through the public adresse, my-clearml.com, the URL of the "Debug Samples" image are using the internal IP (or more precise, they are using the URL which the client who did the loggig had configured).
    So
    even though the ClearML server is accssesed from my-clearml.com it will give the image url http://10.0.11.11:8081/"project path"/image.jpg to the client, which cannot be accessed from outside.

Do you have any idea on how to fix this? Ideally it would be possible to set the ClearML host somewhere and that would be used in the client.

@jkhenning
Copy link
Member

Hi @andwaal-esmart, since the server's URL is used when registering debug images, this is indeed an issue.
You might want to try out the path substitution settings which allow you to substitute a prefix of a URL when uploading data from a client - this would be set on the clients accessing the server using IP, and should basically replace the IP in the registered URL with the externally visible domain name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants