We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f713417 commit da76253Copy full SHA for da76253
google/cloud/aiplatform/vertex_ray/client_builder.py
@@ -177,7 +177,10 @@ def connect(self) -> _VertexRayClientContext:
177
public_address = self.response.resource_runtime.access_uris.get(
178
"RAY_CLIENT_ENDPOINT"
179
)
180
- if public_address:
+ private_address = self.response.resource_runtime.access_uris.get(
181
+ "RAY_HEAD_NODE_INTERNAL_IP"
182
+ )
183
+ if public_address and not private_address:
184
self._credentials = grpc.ssl_channel_credentials()
185
bearer_token = _validation_utils.get_bearer_token()
186
self._metadata = [
0 commit comments