Hi,
I don't know if I am making sth wrong at all, but I tried for a while connection with:
Redmine('Redmine('https_url', username, password)
Redmine('Redmine('https_url', key)
with and without requests={'verify': False}
What other options do I have in order to succeed connecting?
Here is my output error:
/Users/ivokoga/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:768: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
AuthError Traceback (most recent call last)
in ()
----> 1 project = connection.project.get('pivo')
/Users/ivokoga/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/redmine/managers.pyc in get(self, resource_id, *_params)
125 self.params = self.prepare_params(params)
126 self.container = self.resource_class.container_one
--> 127 return self.resource_class(self, self.retrieve()[0])
128
129 def all(self, *_params):
/Users/ivokoga/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/redmine/managers.pyc in retrieve(self, **params)
58 while True:
59 try:
---> 60 response = self.redmine.request('get', self.url, params=dict(self.params, limit=limit, offset=offset))
61 except ResourceNotFoundError:
62 # This is the only place we're checking for ResourceRequirementsError
/Users/ivokoga/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/redmine/init.pyc in request(self, method, url, headers, params, data, raw_response)
128 raise JSONDecodeError
129 elif response.status_code == 401:
--> 130 raise AuthError
131 elif response.status_code == 403:
132 raise ForbiddenError
AuthError: Invalid authentication details
Hi,
I don't know if I am making sth wrong at all, but I tried for a while connection with:
Redmine('Redmine('https_url', username, password)
Redmine('Redmine('https_url', key)
with and without requests={'verify': False}
What other options do I have in order to succeed connecting?
Here is my output error:
/Users/ivokoga/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:768: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
AuthError Traceback (most recent call last)
in ()
----> 1 project = connection.project.get('pivo')
/Users/ivokoga/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/redmine/managers.pyc in get(self, resource_id, *_params)
125 self.params = self.prepare_params(params)
126 self.container = self.resource_class.container_one
--> 127 return self.resource_class(self, self.retrieve()[0])
128
129 def all(self, *_params):
/Users/ivokoga/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/redmine/managers.pyc in retrieve(self, **params)
58 while True:
59 try:
---> 60 response = self.redmine.request('get', self.url, params=dict(self.params, limit=limit, offset=offset))
61 except ResourceNotFoundError:
62 # This is the only place we're checking for ResourceRequirementsError
/Users/ivokoga/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/redmine/init.pyc in request(self, method, url, headers, params, data, raw_response)
128 raise JSONDecodeError
129 elif response.status_code == 401:
--> 130 raise AuthError
131 elif response.status_code == 403:
132 raise ForbiddenError
AuthError: Invalid authentication details