{"action":"created","issue":{"url":"https://api.github.com/repos/openthread/borderrouter/issues/213","repository_url":"https://api.github.com/repos/openthread/borderrouter","labels_url":"https://api.github.com/repos/openthread/borderrouter/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/openthread/borderrouter/issues/213/comments","events_url":"https://api.github.com/repos/openthread/borderrouter/issues/213/events","html_url":"https://github.com/openthread/borderrouter/issues/213","id":371540954,"node_id":"MDU6SXNzdWUzNzE1NDA5NTQ=","number":213,"title":"Unable to commission","user":{"login":"vervaekejonathan","id":12457749,"node_id":"MDQ6VXNlcjEyNDU3NzQ5","avatar_url":"https://avatars3.githubusercontent.com/u/12457749?v=4","gravatar_id":"","url":"https://api.github.com/users/vervaekejonathan","html_url":"https://github.com/vervaekejonathan","followers_url":"https://api.github.com/users/vervaekejonathan/followers","following_url":"https://api.github.com/users/vervaekejonathan/following{/other_user}","gists_url":"https://api.github.com/users/vervaekejonathan/gists{/gist_id}","starred_url":"https://api.github.com/users/vervaekejonathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vervaekejonathan/subscriptions","organizations_url":"https://api.github.com/users/vervaekejonathan/orgs","repos_url":"https://api.github.com/users/vervaekejonathan/repos","events_url":"https://api.github.com/users/vervaekejonathan/events{/privacy}","received_events_url":"https://api.github.com/users/vervaekejonathan/received_events","type":"User","site_admin":false},"labels":[{"id":602296569,"node_id":"MDU6TGFiZWw2MDIyOTY1Njk=","url":"https://api.github.com/repos/openthread/borderrouter/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-10-18T13:51:18Z","updated_at":"2018-12-28T06:49:18Z","closed_at":"2018-12-05T13:51:30Z","author_association":"NONE","body":"I'm following (literaly) the guide (https://openthread.io/guides/border-router/external-commissioning)\r\nEverything seems to work, up to the part where the commissioning happens.\r\n\r\nYou can see below what commands are used to form the network (same as in documentation)\r\n\r\n> pi@raspberrypi:~ $ ./pskc J01NME DEAD1111DEAD2222 OpenThreadGuide\r\n198886f519a8fd7c981fee95d72f4ba7\r\n> pi@raspberrypi:~ $ sudo wpanctl setprop Network:PSKc --data 198886f519a8fd7c981fee95d72f4ba7\r\n> pi@raspberrypi:~ $ sudo wpanctl form \"OpenThreadGuide\"\r\n> Forming WPAN \"OpenThreadGuide\" as node type \"router\"\r\n> Successfully formed!\r\n> pi@raspberrypi:~ $ sudo wpanctl status\r\n> wpan0 => [\r\n> \t\"NCP:State\" => \"associated\"\r\n> \t\"Daemon:Enabled\" => true\r\n> \t\"NCP:Version\" => \"OPENTHREAD/20170716-00973-g3fc9b95f; KW41Z; Oct 16 2018 14:49:55\"\r\n> \t\"Daemon:Version\" => \"0.08.00d (/47f3212; Oct 18 2018 11:31:34)\"\r\n> \t\"Config:NCP:DriverName\" => \"spinel\"\r\n> \t\"NCP:HardwareAddress\" => [4B21070000000000]\r\n> \t\"NCP:Channel\" => 17\r\n> \t\"Network:NodeType\" => \"leader\"\r\n> \t\"Network:Name\" => \"OpenThreadGuide\"\r\n> \t\"Network:XPANID\" => 0x4CB5244CBEE1E209\r\n> \t\"Network:PANID\" => 0xC17B\r\n> \t\"IPv6:MeshLocalAddress\" => \"fd4c:b524:4cbe:0:6999:e90f:292f:ba0f\"\r\n> \t\"IPv6:MeshLocalPrefix\" => \"fd4c:b524:4cbe::/64\"\r\n> \t\"com.nestlabs.internal:Network:AllowingJoin\" => false\r\n> ]\r\n> pi@raspberrypi:~ $ \r\n> \r\n\r\nWhen opening up the thread app, i see both ipv4 and ipv6 networks and when trying to connect with the 'J01NME' key, it tells me the password is wrong.\r\n\r\nI've tried with other passwords and even with the WEBUI, but it never accepts my passphrase.\r\n\r\nWhen trying to add a node manually via wpanctl, the following error occurs:\r\n\r\n> pi@raspberrypi:~ $ sudo wpanctl commissioner joiner-add ABC1230000000000 60 123\r\n> commissioner joiner-add failed with error 4. InvalidForCurrentState\r\n> \r\n\r\nI'm not sure if both are related.\r\n\r\nAny advice? Thanks"},"comment":{"url":"https://api.github.com/repos/openthread/borderrouter/issues/comments/450301755","html_url":"https://github.com/openthread/borderrouter/issues/213#issuecomment-450301755","issue_url":"https://api.github.com/repos/openthread/borderrouter/issues/213","id":450301755,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDMwMTc1NQ==","user":{"login":"jwhui","id":16142208,"node_id":"MDQ6VXNlcjE2MTQyMjA4","avatar_url":"https://avatars3.githubusercontent.com/u/16142208?v=4","gravatar_id":"","url":"https://api.github.com/users/jwhui","html_url":"https://github.com/jwhui","followers_url":"https://api.github.com/users/jwhui/followers","following_url":"https://api.github.com/users/jwhui/following{/other_user}","gists_url":"https://api.github.com/users/jwhui/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhui/subscriptions","organizations_url":"https://api.github.com/users/jwhui/orgs","repos_url":"https://api.github.com/users/jwhui/repos","events_url":"https://api.github.com/users/jwhui/events{/privacy}","received_events_url":"https://api.github.com/users/jwhui/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T06:49:18Z","updated_at":"2018-12-28T06:49:18Z","author_association":"MEMBER","body":"@tarunsmalviya, note that this GitHub issue is closed - please open a new issue so that it can be tracked properly.\r\n\r\nIn the logs, I also noted that `commissioner start` is failing because the commissioner has already been started.\r\n\r\nTo help diagnose, can you get and bring the current commissioner state? One possibility is that the commissioner is still in `OT_COMMISSIONER_STATE_PETITION` and is not yet in the `OT_COMMISSIONER_STATE_ACTIVE` state."}}
{"actor":{"display_login":"jwhui"}}