Skip to content

Commit a8c37f8

Browse files
committed
[PYTHON-1179] Connection errors for possibly parked cloud instance
1 parent bfd7a16 commit a8c37f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cassandra/datastax/cloud/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ def read_metadata_info(config, cloud_config):
137137
response = urlopen(url, context=config.ssl_context, timeout=timeout)
138138
except Exception as e:
139139
log.exception(e)
140-
raise DriverException("Unable to connect to the metadata service at %s" % url)
140+
raise DriverException("Unable to connect to the metadata service at %s. "
141+
"Check the cluster status in the Constellation cloud console. " % url)
141142

142143
if response.code != 200:
143144
raise DriverException(("Error while fetching the metadata at: %s. "

0 commit comments

Comments
 (0)