简体   繁体   English

Snowflake AWS Privatelink - Python 连接器错误最大重试次数超过 url:/session/v1/login-request?

[英]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.

相关问题 使用PayPal REST API和Python SDK的“ URL:/ v1 / oauth2 / token超过最大重试次数” - “Max retries exceeded with url: /v1/oauth2/token” using PayPal REST API and Python SDK 错误:Python 中的 url 超出了最大重试次数 - Error: Max retries exceeded with url in Python Python请求“ URL超过最大重试次数”错误 - Python requests “Max retries exceeded with url” error 超过 url 的 Python Max 重试次数 - Python Max retries exceeded with url 使用适用于 Python 的 Docker API 时出现“URL 超出最大重试次数:/v1.35/containers/create”错误 - Getting "Max retries exceeded with URL: /v1.35/containers/create" error when using the Docker API for Python url Tensorflow Serving Python Request 超过了最大重试次数 - Max retries exceeded with url Tensorflow Serving Python Request Python - 第一次请求时如何获得 SSL 错误(url 超出最大重试次数)? - Python - How is it possible to get SSL Error (Max retries exceeded with url) at first request? 处理 Python 中的 Firebase 'Max retries exceeded with url' 错误 - Handling Firebase 'Max retries exceeded with url' error in Python Python 模块 googletrans 抛出“超过 url:/ 的最大重试次数”错误 - Python module googletrans throwing "Max retries exceeded with url: /" error 如何解决python请求错误:“Max retries exceeded with url” - How solve python requests error: “Max retries exceeded with url”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM