{"action":"created","issue":{"url":"https://api.github.com/repos/kpn-iot/lora-reference/issues/1","repository_url":"https://api.github.com/repos/kpn-iot/lora-reference","labels_url":"https://api.github.com/repos/kpn-iot/lora-reference/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kpn-iot/lora-reference/issues/1/comments","events_url":"https://api.github.com/repos/kpn-iot/lora-reference/issues/1/events","html_url":"https://github.com/kpn-iot/lora-reference/issues/1","id":294368843,"number":1,"title":"\"Test Uplink\" doesn't work with provided example for message from Developer Portal","user":{"login":"jwktje","id":4722137,"avatar_url":"https://avatars1.githubusercontent.com/u/4722137?v=4","gravatar_id":"","url":"https://api.github.com/users/jwktje","html_url":"https://github.com/jwktje","followers_url":"https://api.github.com/users/jwktje/followers","following_url":"https://api.github.com/users/jwktje/following{/other_user}","gists_url":"https://api.github.com/users/jwktje/gists{/gist_id}","starred_url":"https://api.github.com/users/jwktje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwktje/subscriptions","organizations_url":"https://api.github.com/users/jwktje/orgs","repos_url":"https://api.github.com/users/jwktje/repos","events_url":"https://api.github.com/users/jwktje/events{/privacy}","received_events_url":"https://api.github.com/users/jwktje/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"maerduq","id":607092,"avatar_url":"https://avatars1.githubusercontent.com/u/607092?v=4","gravatar_id":"","url":"https://api.github.com/users/maerduq","html_url":"https://github.com/maerduq","followers_url":"https://api.github.com/users/maerduq/followers","following_url":"https://api.github.com/users/maerduq/following{/other_user}","gists_url":"https://api.github.com/users/maerduq/gists{/gist_id}","starred_url":"https://api.github.com/users/maerduq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maerduq/subscriptions","organizations_url":"https://api.github.com/users/maerduq/orgs","repos_url":"https://api.github.com/users/maerduq/repos","events_url":"https://api.github.com/users/maerduq/events{/privacy}","received_events_url":"https://api.github.com/users/maerduq/received_events","type":"User","site_admin":false},"assignees":[{"login":"maerduq","id":607092,"avatar_url":"https://avatars1.githubusercontent.com/u/607092?v=4","gravatar_id":"","url":"https://api.github.com/users/maerduq","html_url":"https://github.com/maerduq","followers_url":"https://api.github.com/users/maerduq/followers","following_url":"https://api.github.com/users/maerduq/following{/other_user}","gists_url":"https://api.github.com/users/maerduq/gists{/gist_id}","starred_url":"https://api.github.com/users/maerduq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maerduq/subscriptions","organizations_url":"https://api.github.com/users/maerduq/orgs","repos_url":"https://api.github.com/users/maerduq/repos","events_url":"https://api.github.com/users/maerduq/events{/privacy}","received_events_url":"https://api.github.com/users/maerduq/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-02-05T12:01:15Z","updated_at":"2018-03-01T12:00:21Z","closed_at":"2018-03-01T12:00:21Z","author_association":"NONE","body":"I'm running the example-ingestion.php from the KPN LoRa Developer Portal.\r\nI'm using the \"Test Uplink\" function and get:\r\nbool(false)\r\n\r\nLogs show me that the token verification failed.\r\n\r\nThis is shown in the accesslog (Added xxxxxxxxxxx to hide ID's):\r\nPOST /log3.php?LrnDevEui=xxxxxxxxxxx&LrnFPort=1&LrnInfos=null&AS_ID=Fiascode.developer&Time=2018-02-05T12:57:55.581+01:00&Token=xxxxxxxxxxx\r\n\r\nWhat could be going wrong? I'm using the example exactly as it is on this repo. \r\n\r\nUpdate for clarification: \r\nI am obviously using a custom AsKey in the $verifier = new TokenVerification($lrcAsKey);\r\nHowever I'm still not completely sure if this should be the AS Key in my profile, or the AppSKey shown when editing a device. And if the dashes should be included or not. "},"comment":{"url":"https://api.github.com/repos/kpn-iot/lora-reference/issues/comments/369570285","html_url":"https://github.com/kpn-iot/lora-reference/issues/1#issuecomment-369570285","issue_url":"https://api.github.com/repos/kpn-iot/lora-reference/issues/1","id":369570285,"user":{"login":"maerduq","id":607092,"avatar_url":"https://avatars1.githubusercontent.com/u/607092?v=4","gravatar_id":"","url":"https://api.github.com/users/maerduq","html_url":"https://github.com/maerduq","followers_url":"https://api.github.com/users/maerduq/followers","following_url":"https://api.github.com/users/maerduq/following{/other_user}","gists_url":"https://api.github.com/users/maerduq/gists{/gist_id}","starred_url":"https://api.github.com/users/maerduq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maerduq/subscriptions","organizations_url":"https://api.github.com/users/maerduq/orgs","repos_url":"https://api.github.com/users/maerduq/repos","events_url":"https://api.github.com/users/maerduq/events{/privacy}","received_events_url":"https://api.github.com/users/maerduq/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T12:00:21Z","updated_at":"2018-03-01T12:00:21Z","author_association":"COLLABORATOR","body":"For now I cannot fix the non-working token on test-uplink messages. I will put it on the backlog here, but for now it is a feature as designed.\r\n\r\nHopefully the LoRa Forum could help you further on the other question."}}
{"actor":{"display_login":"maerduq"}}