jira-python DNS issue

Getting this error from jira-python after running it a lot:

 HTTPSConnectionPool(host='company.jira.com', port=443): Max
        retries exceeded with url:
        True&maxResults=50 (Caused by
        dHTTPSConnection object at 0x7f07069ecdd8>: Failed to establish a
        new connection: [Errno -3] Temporary failure in name
        resolution',)) while doing GET https://company.jira.com/rest
        /api/2/search [{'params': {'jql': 'project = NACRFT and status =
        "Pending Networking Review" and "IP/Port Updated" = "No" ORDER BY
        updated DESC', 'fields': ['*all', 'comment', 'changelog'],
        'expand': 'changelog,transitions.fields', 'startAt': 0,
        'validateQuery': True, 'maxResults': 50}, 'headers': {'X-
        Atlassian-Token': 'no-check', 'User-Agent': 'python-
        requests/2.9.1', 'Accept': 'application/json,*.*;q=0.9',
        'Content-Type': 'application/json', 'Cache-Control': 'no-cache',
        'Accept-Encoding': 'gzip, deflate', 'Connection': 'keep-alive'}}]
    [2017-11-24 16:02:51,307: WARNING/Worker-1]

But it's not temporary.  Any thoughts out there?  Thanks!!

P.S. - jira-python library version is 1.0.7

1 answer

This widget could not be displayed.

Hi Guy,

  • Are you using a proxy and if you bypass the proxy do you get the same behavior if you repeatedly run the jira-python code?
  • If you flush the DNS Cache on your computer system do you get the same results?
  • If you ping the hostname immediately after the failure what results do you get?

At this point I'm thinking there is some cached data may be incorrect.  Perform the test above and let me know the answers to those questions and we'll go from there.



Waiting for the problem to crop up again . . .  someone "resolved" the issue by rebooting the server.  This seems to indicate that your DNS cache hypothesis may have some validity, but I'd be very surprised if that were the case.  Will update shortly . . .

Hi Guy,

Thanks for the update.  Let me know how it goes.

Thanks again,


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

119 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you