Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ads/aqua/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import asyncio
import base64
import concurrent.futures
import json
import logging
import os
Expand Down Expand Up @@ -615,6 +616,12 @@ def fetch_service_compartment() -> Union[str, None]:
file_path=config_file_name,
config_file_name=CONTAINER_INDEX,
)
except concurrent.futures.TimeoutError:
logger.debug(
"If you are using custom networking in your notebook session, "
"please check if the subnet has service gateway configured."
)
return
except Exception as e:
logger.debug(
f"Config file {config_file_name}/{CONTAINER_INDEX} to fetch service compartment OCID "
Expand Down