You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use Zeep with HTTPS transport, but I am encountering issues. I use the hostname of the server to connect but I keep getting the following error:
Error:
HTTPSConnectionPool(host='<IP>', port=443): Max retries exceeded with url: /soap2/sp_agent.php (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '<IP>'. (_ssl.c:1007)")))
My code includes:
# Create a session object
session = Session()
session.verify = certifi.where() # Use certifi's certificate bundle
I confirmed that session.get(<HOSTNAME>) returns a 200 response.
Is this a bug, or is there something we can do to resolve it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am trying to use Zeep with HTTPS transport, but I am encountering issues. I use the hostname of the server to connect but I keep getting the following error:
My code includes:
I confirmed that
session.get(<HOSTNAME>)
returns a 200 response.Is this a bug, or is there something we can do to resolve it?
Beta Was this translation helpful? Give feedback.
All reactions