The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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!