what host to use when connecting to OP Connect server deployed locally using Docker?
I am trying to use the Python SDK and follow the steps listed here: https://github.com/1Password/connect-sdk-python
I have deployed the docker container using the default docker-compose.yaml file from this page: https://support.1password.com/connect-deploy-docker/#step-2-deploy-a-1password-connect-server. The container is up and running as expected.
The Python SDK documentation says that by default the host server should be "localhost:8080," but when I try to connect, I get the error:
"InvalidSchema: No connection adapters were found for 'localhost:8080/v1/vaults/TEST/items'"
Here is my full code -it's cribbed from the example script in the connect-sdk-python repo: https://gist.github.com/emilycogsdill/78503cb675b0a79d93eba179a4135ca8
Is there something obvious I am doing wrong here? Would really appreciate any advice. Thank you in advance!
EDIT TO ADD: I just tried 'http://172.20.0.1:8080' as my connect host, and I got a connection timeout instead of InvalidSchema. Is that progress?
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
