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.

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen