I'm using Python on Pycharm. I got an error in app automation. Can you please help?

This is the error I got in app automation:

hplap013@HNLAP017 iOS % robot iOSHRATermPrivacyWelcome.robot

iOSHRATermPrivacyWelcome

[ WARN ] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)’))’: /wd/hub/session [ WARN ] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)’))’: /wd/hub/session [ WARN ] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)’))’: /wd/hub/session [ WARN ] Keyword ‘Capture Page Screenshot’ could not be run on failure: No application is open [ WARN ] Keyword ‘Capture Page Screenshot’ could not be run on failure: No application is open Successful Checking Term and Privacy on Welcome Page | FAIL | Setup failed: MaxRetryError: HTTPSConnectionPool(host=‘beta-hub.lambdatest.com’, port=443): Max retries exceeded with url: /wd/hub/session (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)’)))

Also teardown failed: No application is open

iOSHRATermPrivacyWelcome | FAIL | 1 test, 0 passed, 1 failed

Hi Matthew,

Please try using the below URL as your HUB URL:

URL(“http://” + userName + “:” + accessKey + “@mobile-hub.lambdatest.com/wd/hub”)