Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SSLError occurred when create jira client

gazile
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 19, 2023

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)')))

 

1 answer

0 votes
gazile
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 19, 2023

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!

Suggest an answer

Log in or Sign up to answer