{"action":"created","issue":{"url":"https://api.github.com/repos/Exa-Networks/exaproxy/issues/35","labels_url":"https://api.github.com/repos/Exa-Networks/exaproxy/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/Exa-Networks/exaproxy/issues/35/comments","events_url":"https://api.github.com/repos/Exa-Networks/exaproxy/issues/35/events","html_url":"https://github.com/Exa-Networks/exaproxy/issues/35","id":71552864,"number":35,"title":"Tun interface causing issues when starting exaproxy","user":{"login":"piotrkotowski","id":3831272,"avatar_url":"https://avatars.githubusercontent.com/u/3831272?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrkotowski","html_url":"https://github.com/piotrkotowski","followers_url":"https://api.github.com/users/piotrkotowski/followers","following_url":"https://api.github.com/users/piotrkotowski/following{/other_user}","gists_url":"https://api.github.com/users/piotrkotowski/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrkotowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrkotowski/subscriptions","organizations_url":"https://api.github.com/users/piotrkotowski/orgs","repos_url":"https://api.github.com/users/piotrkotowski/repos","events_url":"https://api.github.com/users/piotrkotowski/events{/privacy}","received_events_url":"https://api.github.com/users/piotrkotowski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Exa-Networks/exaproxy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"david-farrar","id":5325115,"avatar_url":"https://avatars.githubusercontent.com/u/5325115?v=3","gravatar_id":"","url":"https://api.github.com/users/david-farrar","html_url":"https://github.com/david-farrar","followers_url":"https://api.github.com/users/david-farrar/followers","following_url":"https://api.github.com/users/david-farrar/following{/other_user}","gists_url":"https://api.github.com/users/david-farrar/gists{/gist_id}","starred_url":"https://api.github.com/users/david-farrar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-farrar/subscriptions","organizations_url":"https://api.github.com/users/david-farrar/orgs","repos_url":"https://api.github.com/users/david-farrar/repos","events_url":"https://api.github.com/users/david-farrar/events{/privacy}","received_events_url":"https://api.github.com/users/david-farrar/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-28T10:45:12Z","updated_at":"2015-05-11T18:42:47Z","closed_at":null,"body":"Hello,\r\n there seems to be an issue related to presence of tun interface (needed i.e. by openvpn) which results in error:\r\n\r\n```\r\n-- Traceback\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/runpy.py\", line 162, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/usr/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/home/user/exaproxy-1.2.1/lib/exaproxy/util/debug.py\", line 71, in <module>\r\n    execfile(sys.argv[0])\r\n  File \"/home/user/exaproxy-1.2.1/lib/exaproxy/application.py\", line 306, in <module>\r\n    main()\r\n  File \"/home/user/exaproxy-1.2.1/lib/exaproxy/application.py\", line 276, in main\r\n    Supervisor(configuration).run()\r\n  File \"/home/user/exaproxy-1.2.1/lib/exaproxy/supervisor.py\", line 131, in __init__\r\n    self.interfaces()\r\n  File \"/home/user/exaproxy-1.2.1/lib/exaproxy/supervisor.py\", line 211, in interfaces\r\n    for interface in getifaddrs():\r\n  File \"/home/user/exaproxy-1.2.1/lib/exaproxy/util/interfaces.py\", line 233, in getifaddrs\r\n    sa = sockaddr.from_address(ifa.ifa_addr)\r\nTypeError: integer expected\r\n```\r\n\r\nIt looks very similiar to https://github.com/ros/ros_comm/issues/30 .\r\n\r\nWhen the tun* interface is gone (openvpn stopped) exaproxy starts normally.\r\n\r\nThanks for fixing problem!"},"comment":{"url":"https://api.github.com/repos/Exa-Networks/exaproxy/issues/comments/101013243","html_url":"https://github.com/Exa-Networks/exaproxy/issues/35#issuecomment-101013243","issue_url":"https://api.github.com/repos/Exa-Networks/exaproxy/issues/35","id":101013243,"user":{"login":"thomas-mangin","id":1227755,"avatar_url":"https://avatars.githubusercontent.com/u/1227755?v=3","gravatar_id":"","url":"https://api.github.com/users/thomas-mangin","html_url":"https://github.com/thomas-mangin","followers_url":"https://api.github.com/users/thomas-mangin/followers","following_url":"https://api.github.com/users/thomas-mangin/following{/other_user}","gists_url":"https://api.github.com/users/thomas-mangin/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas-mangin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas-mangin/subscriptions","organizations_url":"https://api.github.com/users/thomas-mangin/orgs","repos_url":"https://api.github.com/users/thomas-mangin/repos","events_url":"https://api.github.com/users/thomas-mangin/events{/privacy}","received_events_url":"https://api.github.com/users/thomas-mangin/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T18:42:47Z","updated_at":"2015-05-11T18:42:47Z","body":"Looking at the code, we already seem to be checking for the case where the address is None."}}