Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle the connection error #6

Open
wujtruj opened this issue Jun 16, 2014 · 0 comments
Open

Handle the connection error #6

wujtruj opened this issue Jun 16, 2014 · 0 comments
Assignees
Labels

Comments

@wujtruj
Copy link
Owner

wujtruj commented Jun 16, 2014

Error occurs when network is unreachable

===DEVICE: fgt-test===
Traceback (most recent call last):
  File "./fgt-extended-utm-log.py", line 292, in <module>
    main()
  File "./fgt-extended-utm-log.py", line 264, in main
    connect(HOST, USER, PASS)
  File "./fgt-extended-utm-log.py", line 64, in connect
    ssh.connect(host, username=user, password=passw)
  File "/usr/lib/python2.7/site-packages/paramiko/client.py", line 236, in connect
    retry_on_signal(lambda: sock.connect(addr))
  File "/usr/lib/python2.7/site-packages/paramiko/util.py", line 278, in retry_on_signal
    return function()
  File "/usr/lib/python2.7/site-packages/paramiko/client.py", line 236, in <lambda>
    retry_on_signal(lambda: sock.connect(addr))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 101] Network is unreachable
@wujtruj wujtruj added the bug label Jun 16, 2014
@wujtruj wujtruj self-assigned this Jun 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant