When I try to create a jira client:
class JiraClient(JIRA):
def __init__(self):
super(JiraClent, self).__init__(
options=JIRA_OPTS,
basic_auth=(JIRA_USERNAME, JIRA_PASSWORD)
)
JIRA_USERNAME = input('Username:')
JIRA_PASSWORD = getpass.getpass('Password:')
jira_client = JiraClient()
the error occurred:
requests.exceptions.SSLError: HTTPSConnectionPool(host='jira.xxx.com', port=443): Max retries exceeded with url: /rest/api/2/serverInfo (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)')))
I know it should be a ssl issue, but I can not find the problem to solve it. So if anyone had the same problem and solved it, please tell me. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.