Unable to add Snowflake as datasource using SQLAlchemy URI
Expected results
Connection establishes successfully.
Actual results
Getting errors
superset_app | Traceback (most recent call last):
superset_app | File "/usr/local/lib/python3.7/site-packages/snowflake/connector/network.py", line 934, in _request_exec
superset_app | auth=SnowflakeAuth(token),
superset_app | File "/usr/local/lib/python3.7/site-packages/snowflake/connector/vendored/requests/sessions.py", line 542, in request
superset_app | resp = self.send(prep, **send_kwargs)
superset_app | File "/usr/local/lib/python3.7/site-packages/snowflake/connector/vendored/requests/sessions.py", line 655, in send
superset_app | r = adapter.send(request, **kwargs)
superset_app | File "/usr/local/lib/python3.7/site-packages/snowflake/connector/vendored/requests/adapters.py", line 516, in send
superset_app | raise ConnectionError(e, request=request)
superset_app | snowflake.connector.vendored.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='%7brl52352%7d.snowflakecomputing.com', port=443): Max retries exceeded with url: /session/v1/login-request?request_id=c1a69d7d-29da-4fef-901b-a41f5b72e044&databaseName=dev_db&request_guid=6b03223f-8441-4e98-b998-e5bb6a44eff9 (Caused by NewConnectionError('<snowflake.connector.vendored.urllib3.connection.HTTPSConnection object at 0x7f9d1787e910>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
Go to '...'
Click on '....'
Scroll down to '....'
See error
Environment
(please complete the following information):
superset version: superset version
# superset version
Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py]
logging was configured successfully
2021-07-06 18:43:45,142:INFO:superset.utils.logging_configurator:logging was configured successfully
2021-07-06 18:43:45,153:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
/usr/local/lib/python3.7/site-packages/flask_caching/__init__.py:202: UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively disabled.
"Flask-Caching: CACHE_TYPE is set to null, "
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Superset 0.999.0dev
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
python version: python --version
# python --version
Python 3.7.9
node.js version: node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
Unable to establish SQLAlchemy connection, seeing following errors.
superset_app | Traceback (most recent call last):
superset_app | File "/usr/local/lib/python3.7/site-packages/snowflake/connector/network.py", line 934, in _request_exec
superset_app | auth=SnowflakeAuth(token),
superset_app | File "/usr/local/lib/python3.7/site-packages/snowflake/connector/vendored/requests/sessions.py", line 542, in request
superset_app | resp = self.send(prep, **send_kwargs)
superset_app | File "/usr/local/lib/python3.7/site-packages/snowflake/connector/vendored/requests/sessions.py", line 655, in send
superset_app | r = adapter.send(request, **kwargs)
superset_app | File "/usr/local/lib/python3.7/site-packages/snowflake/connector/vendored/requests/adapters.py", line 516, in send
superset_app | raise ConnectionError(e, request=request)
superset_app | snowflake.connector.vendored.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='%7brl52352%7d.snowflakecomputing.com', port=443): Max retries exceeded with url: /session/v1/login-request?request_id=c1a69d7d-29da-4fef-901b-a41f5b72e044&databaseName=dev_db&request_guid=6b03223f-8441-4e98-b998-e5bb6a44eff9 (Caused by NewConnectionError('<snowflake.connector.vendored.urllib3.connection.HTTPSConnection object at 0x7f9d1787e910>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Unable to add Snowflake as datasource using SQLAlchemy URI
Expected results
Connection establishes successfully.
Actual results
Getting errors
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
Environment
(please complete the following information):
superset version:
superset version
python version:
python --version
node.js version:
node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Unable to establish SQLAlchemy connection, seeing following errors.
Dependencies: