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.

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ