如何解决与 SnowSQL 连接时出错 无法建立新连接:
大家好,想了解一些关于雪花的知识,通读文档,决定尝试一下。创建了测试帐户,在我的桌面上安装了 snowsql 并尝试连接......基础......我卡住了。我可以使用此帐户通过浏览器连接,因此用户/密码组合是正确的。
Password:
250003 (n/a): Failed to get the response. Hanging? method: post,url: https://DD73453.eu-central-1.snowflakecomputing.com.snowflakecomputing.com:443/session/v1/login-request?request_id=c4f4fc93-9381-4cbd-8108-70daba148603&request_guid=fbe2973d-2ccd-4337-97c2-01611e2e4278
If the error message is unclear,enable logging using -o log_level=DEBUG and see the log to find out the cause. Contact support for further help.
Goodbye!
C:\Windows\system32>snowsql -a https://DD73453.eu-central-1.snowflakecomputing.com -u GREGTEST
Password:
250003 (n/a): Failed to execute request: HTTPSConnectionPool(host='https',port=443): Max retries exceeded with url: //DD73453.eu-central-1.snowflakecomputing.com.snowflakecomputing.com:443/session/v1/login-request?request_id=218d9545-d758-44a2-b29d-d6d90fc3fcfc (Caused by NewConnectionError('<snowflake.connector.vendored.urllib3.connection.HTTPSConnection object at 0x000001DC7A5AB710>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))
If the error message is unclear,enable logging using -o log_level=DEBUG and see the log to find out the cause. Contact support for further help.
Goodbye!```
解决方法
帐户(-a 参数)应该是:
DD73453.eu-central-1
,只使用“DD73453.eu-central-1”而不是https://DD73453.eu-central-1.snowflakecomputing.com
下面应该可以
snowsql -a DD73453.eu-central-1 -u 用户名
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。