We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bff71a5 commit a45aa67Copy full SHA for a45aa67
ads/aqua/common/utils.py
@@ -5,6 +5,7 @@
5
6
import asyncio
7
import base64
8
+import concurrent.futures
9
import json
10
import logging
11
import os
@@ -615,6 +616,12 @@ def fetch_service_compartment() -> Union[str, None]:
615
616
file_path=config_file_name,
617
config_file_name=CONTAINER_INDEX,
618
)
619
+ except concurrent.futures.TimeoutError:
620
+ logger.debug(
621
+ "If you are using custom networking in your notebook session, "
622
+ "please check if the subnet has service gateway configured."
623
+ )
624
+ return
625
except Exception as e:
626
logger.debug(
627
f"Config file {config_file_name}/{CONTAINER_INDEX} to fetch service compartment OCID "
0 commit comments