Coder Social home page Coder Social logo

python-zcli's People

Contributors

dingus9 avatar

Watchers

 avatar  avatar

Forkers

igueths

python-zcli's Issues

Fails on Certificate Error

Not sure how the zabbix lib is using/configuring requests for certificates.
Too busy at the moment to dig for that, but if you need me to look some more, let me know.

$ zcli -u ZA_ENDPOINT -U ZA_USERNAME method user.get
Traceback (most recent call last):
File "PATH_TO_VIRTUALENV/zcli/bin/zcli", line 9, in
load_entry_point('zcli==0.1.0', 'console_scripts', 'zcli')()
File "PATH_TO_VIRTUALENV/zcli/lib/python2.7/site-packages/zcli/init.py", line 137, in cli
zapi.login(c.username, c.password)
File "PATH_TO_VIRTUALENV/zcli/lib/python2.7/site-packages/pyzabbix/init.py", line 68, in login
self.auth = self.user.login(user=user, password=password)
File "PATH_TO_VIRTUALENV/zcli/lib/python2.7/site-packages/pyzabbix/init.py", line 154, in fn
args or kwargs
File "PATH_TO_VIRTUALENV/zcli/lib/python2.7/site-packages/pyzabbix/init.py", line 101, in do_request
timeout=self.timeout
File "PATH_TO_VIRTUALENV/zcli/lib/python2.7/site-packages/requests/sessions.py", line 500, in post
return self.request('POST', url, data=data, json=json, *_kwargs)
File "PATH_TO_VIRTUALENV/zcli/lib/python2.7/site-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, *_send_kwargs)
File "PATH_TO_VIRTUALENV/zcli/lib/python2.7/site-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, kwargs)
File "
PATH_TO_VIRTUALENV**/zcli/lib/python2.7/site-packages/requests/adapters.py", line 420, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.