I'm having trouble connecting to Jira Software Cloud using Python.
ERROR MESSAGE:
ConnectionError: HTTPSConnectionPool(host='my_site.atlassian.net', port=443): Max retries exceeded with url: /rest/api/2/serverInfo (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000026ED84B4850>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
MY CODE:
from jira import JIRA
i_user = 'my_email'
i_server = 'https://my_site.atlassian.net'
i_apikey = 'my_admin_api_key'
i_options = {'server': i_server}
jira = JIRA(options = i_options, basic_auth=(i_user,i_apikey))
Hi @WS
Welcome to Community! It seems you might be behind a network that doesn't allow the connection. Have you tried a different network to notice if the same problem occurs?
Rookie mistake ... Thanks Prince
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.