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.

Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande