Ad Widget

Collapse

zabbix + yowsup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brekler
    Junior Member
    • Jul 2014
    • 26

    #1

    zabbix + yowsup

    hello everyone, im trying to install yowsup to send whatsapp alert.
    But im getting an error when i try to register my number...

    Any ideas whats going on ?

    Traceback (most recent call last):
    File "/usr/bin/yowsup-cli", line 5, in <module>
    pkg_resources.run_script('yowsup2==2.4', 'yowsup-cli')
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script
    self.require(requires)[0].run_script(script_name, ns)
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1462, in run_script
    exec_(script_code, namespace, namespace)
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 41, in exec_
    exec("""exec code in globs, locs""")
    File "<string>", line 1, in <module>
    File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 323, in <module>

    File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 158, in process

    File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 176, in handleRequestCode

    File "build/bdist.linux-x86_64/egg/yowsup/registration/coderequest.py", line 46, in send
    File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 73, in send
    File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 111, in sendGetRequest
    File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 167, in sendRequest
    File "/usr/lib64/python2.7/httplib.py", line 973, in request
    self._send_request(method, url, body, headers)
    File "/usr/lib64/python2.7/httplib.py", line 1007, in _send_request
    self.endheaders(body)
    File "/usr/lib64/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
    File "/usr/lib64/python2.7/httplib.py", line 829, in _send_output
    self.send(msg)
    File "/usr/lib64/python2.7/httplib.py", line 791, in send
    self.connect()
    File "/usr/lib64/python2.7/httplib.py", line 1172, in connect
    self.timeout, self.source_address)
    File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
    raise err
    socket.error: [Errno 113] No route to host
  • viktorkho
    Member
    • Jul 2013
    • 90

    #2
    It will be more helpfull for you to use yowsup project's support page. It seems to be active.

    Comment

    • viktorkho
      Member
      • Jul 2013
      • 90

      #3
      >socket.error: [Errno 113] No route to host

      In any case script can not access some resource (in the internet?)
      Use tcpdump to sniff destination and check it with ping and wget.

      Comment

      Working...