{"action":"opened","issue":{"url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/189","repository_url":"https://api.github.com/repos/gpocentek/python-gitlab","labels_url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/189/comments","events_url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/189/events","html_url":"https://github.com/gpocentek/python-gitlab/issues/189","id":193098400,"number":189,"title":"Connection error when the latest requests is installed","user":{"login":"voidpp","id":6121328,"avatar_url":"https://avatars.githubusercontent.com/u/6121328?v=3","gravatar_id":"","url":"https://api.github.com/users/voidpp","html_url":"https://github.com/voidpp","followers_url":"https://api.github.com/users/voidpp/followers","following_url":"https://api.github.com/users/voidpp/following{/other_user}","gists_url":"https://api.github.com/users/voidpp/gists{/gist_id}","starred_url":"https://api.github.com/users/voidpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidpp/subscriptions","organizations_url":"https://api.github.com/users/voidpp/orgs","repos_url":"https://api.github.com/users/voidpp/repos","events_url":"https://api.github.com/users/voidpp/events{/privacy}","received_events_url":"https://api.github.com/users/voidpp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-02T11:49:18Z","updated_at":"2016-12-02T11:49:18Z","closed_at":null,"body":"I get this error when try to authenticate to gitlab:\r\n```\r\nTraceback (most recent call last):\r\n  File \"t.py\", line 6, in <module>\r\n    gl.auth()\r\n  File \"/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py\", line 244, in auth\r\n    self.token_auth()\r\n  File \"/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py\", line 264, in token_auth\r\n    self.user = CurrentUser(self)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gitlab/objects.py\", line 377, in __init__\r\n    data = self.gitlab.get(self.__class__, data, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py\", line 497, in get\r\n    r = self._raw_get(url, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py\", line 360, in _raw_get\r\n    \"Can't connect to GitLab server (%s)\" % e)\r\ngitlab.exceptions.GitlabConnectionError: Can't connect to GitLab server (sequence item 0: expected string, NoneType found)\r\n\r\n```\r\nContent of t.py:\r\n```py\r\n\r\nimport gitlab\r\n\r\ngl = gitlab.Gitlab(u'http://10.14.100.15', u'2jEsFApRnA9hszKhSaYx')\r\n\r\ngl.auth()\r\n```\r\n\r\nWhen try to run this code with `request@2.8.1` it is works well, but when I try with the latest (2.12.3) this error occurred.\r\n"}}
{"actor":{"display_login":"voidpp"}}