error An HTTP Client raised an unhandled exception: check_hostname requires server_hostname - accessing through CLI

1

Hello,

context: I am doing a simple POC exercise running a few lines of python code in the CLI note: I am using a proxy server

Upon doing so this error is thrown: An HTTP Client raised an unhandled exception: check_hostname requires server_hostname

Which raises my question- is it possible to execute code in the CLI with my proxy server? Or is the only way to do this successfully by turning-off the Proxy server? If so, why??

Following this from docs (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-proxy.html) didn't prove successfull. Whether setting the proxy address, running the lines of code to embed/authenticate against the proxy with the user name and password, or setting the NO PROXY, neither of which produced any positive results.

Just wondering how to get around this obstacle.

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容