Hi, I'm running this bit of code trying to make a jira object:
#!/usr/local/bin/python3.6
import jira.client
from jira.client import JIRA
jira = JIRA()
And this is returning a huge number of warnings and errors, all of which read something like this:
WARNING:root:HTTPConnectionPool(host='localhost', port=2990): Max retries exceeded with url: /jira/rest/api/2/serverInfo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1044479e8>: Failed to establish a new connection: [Errno 61] Connection refused',)) while doing GET http://localhost:2990/jira/rest/api/2/serverInfo [{'params': None, 'headers': {'User-Agent': 'python-requests/2.18.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json,*.*;q=0.9', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Atlassian-Token': 'no-check'}}]
I'm trying to figure out what the issue is, as I'd pretty much lifted the code from the documentation. Any help would be greatly appreciated!