I need Help!!!
From past few days my Jira API calls from Python code is giving me connection error.
I am using basic auth using username and API token. I did try generating a new API token but no luck.
url = f"{JIRA_URL}/rest/api/2/search"
headers = {"Accept": "application/json"}
auth = HTTPBasicAuth(USERNAME, API_TOKEN)
Hello @Rajesh kumar Mishra
Welcome to the Atlassian community.
What exactly is the error you're getting?
Hi @Trudy Claspill , I am getting the below error.
Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001E2751BB390>:Failed to resolve 'SERVER ADDRESS' ([Errno 11001] getaddrinfo failed)
I did try opening the server address directly in the browser and it's opening without any issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rajesh kumar Mishra , were you able to fix this? I am getting the same error. My script was working fine for many days until recently that this error pops up from time to time.
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.