{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1363","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1363/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1363/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1363/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1363","id":71620355,"number":1363,"title":"Metrics connectivity tests (SSL pinning)","user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/iOS","name":"iOS","color":"207de5"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/metrics","name":"metrics","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/7","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/iOS%20Beta%202","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/7/labels","id":1019113,"number":7,"title":"iOS Beta 2","description":"","creator":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":54,"state":"open","created_at":"2015-03-12T17:38:21Z","updated_at":"2015-06-03T23:34:52Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2015-04-28T15:23:59Z","updated_at":"2015-06-05T17:59:06Z","closed_at":null,"body":"Latest builds still do not seem to be sending live metrics events. Possibly a bug still in SSL pinning. \r\n\r\n1. Fix this. \r\n1. Write a test. \r\n    - Start app. \r\n    - Do stuff with the map. \r\n    - Background the app to flush the queue (can we do this with KIF?)\r\n    - Observe SSL network connection, which we'll assume is for metrics since the map isn't being moved. \r\n\r\nMaybe a little brittle, but shouldn't false-positive and about as a good a way as any to test a pinned SSL. \r\n\r\n/cc @bleege "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/109381211","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1363#issuecomment-109381211","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1363","id":109381211,"user":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T17:59:06Z","updated_at":"2015-06-05T17:59:06Z","body":"Confirmed with @mick that the 401 is being caused by using a PROD access token on the Staging server.  This is what happens when you cross the streams."}}