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.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠