GaretJax / lancet

Command line utility to streamline various development activities.
MIT License
9 stars 5 forks source link

Connection refused when connecting to JIRA #11

Closed jmelett closed 9 years ago

jmelett commented 9 years ago

Connection refused when logging in:

File "/Users/joseph/.local/venvs/lancet/lib/python3.4/site-packages/requests/sessions.py", line 473, in get
    return self.request('GET', url, **kwargs)
File "/Users/joseph/.local/venvs/lancet/lib/python3.4/site-packages/requests/sessions.py", line 461, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/joseph/.local/venvs/lancet/lib/python3.4/site-packages/requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "/Users/joseph/.local/venvs/lancet/lib/python3.4/site-packages/requests/adapters.py", line 415, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionRefusedError(61, 'Connection refused'))

Full traceback: https://gist.github.com/jmelett/252e32b793aa6b80a5f8

Any idea what might cause this? My firewall is turned off.

GaretJax commented 9 years ago

Is the URL of the JIRA instance configured in the settings (~/.lancet)? Did you run lancet setup on your system?

jmelett commented 9 years ago

Ah sorry, I forgot to add that. Seems to work now, just need to figure out how to build/configure configuration files for projects ;)

GaretJax commented 9 years ago

lancet setup is for the user config file, while lancet init can be run to create project-level config files. Take a look at https://github.com/GaretJax/lancet/blob/master/lancet/default-settings.ini for a list of configuration directives.