07-13-2015 01:12 AM
I try to run one of the scripts but the login is failing I get
Traceback (most recent call last):
File "create-tenant.py", line 19, in <module>
session.login()
File "/localdisk/acitoolkit/acitoolkit-master/acitoolkit/acisession.py", line 367, in login
resp = self._send_login(timeout)
File "/localdisk/acitoolkit/acitoolkit-master/acitoolkit/acisession.py", line 342, in _send_login
ret = self.session.post(login_url, data=jcred, verify=self.verify_ssl, timeout=timeout)
File "/users/zelbaz/.local/lib/python2.7/site-packages/requests-2.7.0-py2.7.egg/requests/sessions.py", line 508, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/users/zelbaz/.local/lib/python2.7/site-packages/requests-2.7.0-py2.7.egg/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "/users/zelbaz/.local/lib/python2.7/site-packages/requests-2.7.0-py2.7.egg/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/users/zelbaz/.local/lib/python2.7/site-packages/requests-2.7.0-py2.7.egg/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
"requests.exceptions.ConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer'))"
When I use another apic it is working. What can be the problem?
Solved! Go to Solution.
07-14-2015 12:38 AM
I am using https passing https://ip as url , admin name and password.
I found the issue , In the APIC I enable TLSv1 and it is working now.
07-13-2015 04:01 PM
How are you passing the URL/username/admin? are you specifying http or https?
07-14-2015 12:38 AM
I am using https passing https://ip as url , admin name and password.
I found the issue , In the APIC I enable TLSv1 and it is working now.
Thanks,
Zehavit
07-14-2015 12:38 AM
I am using https passing https://ip as url , admin name and password.
I found the issue , In the APIC I enable TLSv1 and it is working now.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide