Skip to content

Problem connecting to gitlab  #11

Description

@dpasqualin

I'm using:
gitlab 6.3
ssl self-signed certificate

>>> gl = Gitlab('https://gitlab.XXXX.YYY.br', 'XXXXXXX', ssl_verify=False)
>>> gl.auth()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gitlab.py", line 100, in auth
    self.token_auth()
  File "gitlab.py", line 118, in token_auth
    self.user = CurrentUser(self)
  File "gitlab.py", line 527, in __init__
    data = self.gitlab.get(self.__class__, data, **kwargs)
  File "gitlab.py", line 236, in get
    return r.json()
TypeError: 'dict' object is not callable

And if I try eith ssl_verify=True I get this:

....
gitlab.GitlabConnectionError: Can't connect to GitLab server (https://gitlab.XXXX.YYY.br/api/v3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions