[英]Snowflake AWS Privatelink - Python Connector Error Max retries exceeded with url: /session/v1/login-request?
we recently configured aws privatelink to snowflake account and updated python connector (v.1.8.0) properties to use privatelink URL.我们最近将 aws 私有链接配置为雪花帐户并更新了 python 连接器 (v.1.8.0) 属性以使用私有链接 URL。
Connection keeps failing with below error.连接不断失败并出现以下错误。
Failed to execute request: HTTPSConnectionPool(host='testaccount.us-west-2.privatelink.snowflakecomputing.com', port=443): Max retries exceeded with url: /session/v1/login-request?warehouse=TEST_WH&request_id=12345&request_guid=f5467 (Caused by ProtocolError('Connection aborted.', BadStatusLine("''",)))
无法执行请求:HTTPSConnectionPool(host='testaccount.us-west-2.privatelink.snowflakecomputing.com', port=443):最大重试次数超过 url:/session/v1/login-request?warehouse=TEST_WH&request_id=12345&request_guid =f5467(由 ProtocolError('Connection aborted.', BadStatusLine("''",)) 引起)
Has anyone encountered this issue when using AWS privatelink?有人在使用 AWS privatelink 时遇到过这个问题吗?
Any inputs would be greatly appreciated.任何输入将不胜感激。
On the host where you are running python, if linux or OSX, can you run:在你运行python的主机上,如果是linux或者OSX,可以运行:
curl -v -L https://testaccount.us-west-2.privatelink.snowflakecomputing.com:443 curl -v -L https://testaccount.us-west-2.privatelink.snowflakecomputing.com:443
Do you know if you have a proxy in place allowing your Web URL to work?您是否知道您是否有允许您的 Web URL 工作的代理?
https://www.digitalcitizen.life/how-set-proxy-server-all-major-internet-browsers-windows https://www.digitalcitizen.life/how-set-proxy-server-all-major-internet-browsers-windows
That error is because the python code is unable to reach the privatelink URL.该错误是因为 python 代码无法访问私有链接 URL。 Either it's on a host that is blocked, there is a firewall blocking, or you require a proxy.
要么是在被阻止的主机上,要么是被防火墙阻止,要么是您需要代理。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.