{"action":"created","issue":{"url":"https://api.github.com/repos/frostwire/frostwire/issues/152","repository_url":"https://api.github.com/repos/frostwire/frostwire","labels_url":"https://api.github.com/repos/frostwire/frostwire/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/frostwire/frostwire/issues/152/comments","events_url":"https://api.github.com/repos/frostwire/frostwire/issues/152/events","html_url":"https://github.com/frostwire/frostwire/issues/152","id":157555956,"number":152,"title":"[android] Please check if NAT and UPnP are actually starting.","user":{"login":"gubatron","id":163977,"avatar_url":"https://avatars.githubusercontent.com/u/163977?v=3","gravatar_id":"","url":"https://api.github.com/users/gubatron","html_url":"https://github.com/gubatron","followers_url":"https://api.github.com/users/gubatron/followers","following_url":"https://api.github.com/users/gubatron/following{/other_user}","gists_url":"https://api.github.com/users/gubatron/gists{/gist_id}","starred_url":"https://api.github.com/users/gubatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gubatron/subscriptions","organizations_url":"https://api.github.com/users/gubatron/orgs","repos_url":"https://api.github.com/users/gubatron/repos","events_url":"https://api.github.com/users/gubatron/events{/privacy}","received_events_url":"https://api.github.com/users/gubatron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-30T20:59:58Z","updated_at":"2016-05-30T21:17:27Z","closed_at":null,"body":"I've added more alerts to the filters, I've tried forcing it on the settings pack applied to the session and I don't ever get a portmap alert on BTEngine's Inner Listener.\r\n\r\n```\r\n        final SettingsPack sp = session.getSettingsPack();\r\n        sp.setBoolean(settings_pack.bool_types.enable_upnp.swigValue(), true);\r\n        sp.setBoolean(settings_pack.bool_types.enable_natpmp.swigValue(), true);\r\n        sp.setBoolean(settings_pack.bool_types.announce_double_nat.swigValue(), true);\r\n        session.applySettings(sp);\r\n```\r\n\r\nMy `InnerListener`'s `INNER_LISTENER_TYPES` array looks like this:\r\n\r\n```\r\nprivate static final int[] INNER_LISTENER_TYPES = new int[]{TORRENT_ADDED.swig(),\r\n            PIECE_FINISHED.swig(),\r\n            PORTMAP.swig(),\r\n            PORTMAP_ERROR.swig(),\r\n            DHT_STATS.swig(),\r\n            STORAGE_MOVED.swig(),\r\n            LISTEN_SUCCEEDED.swig(),\r\n            LISTEN_FAILED.swig(),\r\n            EXTERNAL_IP.swig()\r\n    };\r\n```\r\n\r\n@aldenml  last night you mentioned I should try turning on a debug flag on jlibtorrent, but I can't find how to do this on `session` nor on the `libtorrent` class. completely forgot how it was and not very easy to find."},"comment":{"url":"https://api.github.com/repos/frostwire/frostwire/issues/comments/222555643","html_url":"https://github.com/frostwire/frostwire/issues/152#issuecomment-222555643","issue_url":"https://api.github.com/repos/frostwire/frostwire/issues/152","id":222555643,"user":{"login":"gubatron","id":163977,"avatar_url":"https://avatars.githubusercontent.com/u/163977?v=3","gravatar_id":"","url":"https://api.github.com/users/gubatron","html_url":"https://github.com/gubatron","followers_url":"https://api.github.com/users/gubatron/followers","following_url":"https://api.github.com/users/gubatron/following{/other_user}","gists_url":"https://api.github.com/users/gubatron/gists{/gist_id}","starred_url":"https://api.github.com/users/gubatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gubatron/subscriptions","organizations_url":"https://api.github.com/users/gubatron/orgs","repos_url":"https://api.github.com/users/gubatron/repos","events_url":"https://api.github.com/users/gubatron/events{/privacy}","received_events_url":"https://api.github.com/users/gubatron/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T21:17:27Z","updated_at":"2016-05-30T21:17:27Z","body":"Sweet :)\r\n\r\n```\r\nI/BTEngine(29937): broadcasting search for rootdevice\r\nI/BTEngine(29937): adding port map: [ protocol: tcp ext_port: 40849 local_port: 40849 ] \r\nI/BTEngine(29937): adding port map: [ protocol: udp ext_port: 40849 local_port: 40849 ] \r\nI/BTEngine(29937): found router at: fe80::6eca:8ff:fe0e:a120\r\nI/BTEngine(29937): ==> get public IP address\r\nI/BTEngine(29937): ==> port map [ mapping: 0 action: add proto: tcp local: 40849 external: 40849 ttl: 3600 ]\r\n```"}}
{"actor":{"display_login":"gubatron"}}