daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /usr/local/etc/zabbix32/zabbix/alertscripts# ./zbxtg.py pr0lka test test
  2. Traceback (most recent call last):
  3.   File "./zbxtg.py", line 890, in <module>
  4.     main()
  5.   File "./zbxtg.py", line 769, in main
  6.     uid = tg.get_uid(zbx_to)
  7.   File "./zbxtg.py", line 175, in get_uid
  8.     updates = self.get_updates()
  9.   File "./zbxtg.py", line 66, in get_updates
  10.     answer = requests.post(url, params=params, proxies=self.proxies)
  11.   File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 112, in post
  12.     return request('post', url, data=data, json=json, **kwargs)
  13.   File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 58, in request
  14.     return session.request(method=method, url=url, **kwargs)
  15.   File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 508, in request
  16.     resp = self.send(prep, **send_kwargs)
  17.   File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 618, in send
  18.     r = adapter.send(request, **kwargs)
  19.   File "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 506, in send
  20.     raise SSLError(e, request=request)
  21. requests.exceptions.SSLError: SOCKSHTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot375291383:KZkG3S7bS87bD-UX71E/getUpdates?offset=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'unknown protocol')],)",),))
RAW Paste Data
Top