{"action":"created","issue":{"url":"https://api.github.com/repos/google/upvote/issues/6","repository_url":"https://api.github.com/repos/google/upvote","labels_url":"https://api.github.com/repos/google/upvote/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/google/upvote/issues/6/comments","events_url":"https://api.github.com/repos/google/upvote/issues/6/events","html_url":"https://github.com/google/upvote/issues/6","id":321666640,"number":6,"title":"preflight failed","user":{"login":"thehilll","id":3237800,"avatar_url":"https://avatars0.githubusercontent.com/u/3237800?v=4","gravatar_id":"","url":"https://api.github.com/users/thehilll","html_url":"https://github.com/thehilll","followers_url":"https://api.github.com/users/thehilll/followers","following_url":"https://api.github.com/users/thehilll/following{/other_user}","gists_url":"https://api.github.com/users/thehilll/gists{/gist_id}","starred_url":"https://api.github.com/users/thehilll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehilll/subscriptions","organizations_url":"https://api.github.com/users/thehilll/orgs","repos_url":"https://api.github.com/users/thehilll/repos","events_url":"https://api.github.com/users/thehilll/events{/privacy}","received_events_url":"https://api.github.com/users/thehilll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-09T17:54:56Z","updated_at":"2018-05-10T21:06:44Z","closed_at":null,"author_association":"NONE","body":"I'm having trouble getting machines to check in.  I have tried to follow your setup instructions, and I have constructed a configuration profile for the santa client with\r\n\r\n```\r\n<key>SyncBaseURL</key>\r\n<string>https://<my-app>.appspot.com/api/santa</string>\r\n```\r\n\r\nWhen I do this I get:\r\n\r\n```\r\nsantactl sync\r\nHTTP Response: 302 found\r\nPreflight failed, aborting run\r\n```\r\n\r\nI have tried adding a trailing `/`, but that just gives me a 404 error.  Looking  at this in curl it does seem to be returning 302:\r\n\r\n```\r\ncurl -vvv https://<my-app>.appspot.com/api/santa\r\n\r\n< location: https://www.google.com/accounts/ServiceLogin?service=ah&passive=true&continue=https://appengine.google.com/_ah/conflogin%3Fcontinue%3Dhttps://<my-app>.appspot.com/api/santa\r\n< x-cloud-trace-context: 6c130ec3499f2df8b4a48318d3272719;o=1\r\n< date: Wed, 09 May 2018 17:52:41 GMT\r\n< content-type: text/html\r\n< server: Google Frontend\r\n< content-length: 0\r\n```\r\n\r\nBut not really sure what mistake I might have made as it doesn't seem like any special settings on the app engine side are required."},"comment":{"url":"https://api.github.com/repos/google/upvote/issues/comments/388186119","html_url":"https://github.com/google/upvote/issues/6#issuecomment-388186119","issue_url":"https://api.github.com/repos/google/upvote/issues/6","id":388186119,"user":{"login":"russellhancox","id":69123,"avatar_url":"https://avatars0.githubusercontent.com/u/69123?v=4","gravatar_id":"","url":"https://api.github.com/users/russellhancox","html_url":"https://github.com/russellhancox","followers_url":"https://api.github.com/users/russellhancox/followers","following_url":"https://api.github.com/users/russellhancox/following{/other_user}","gists_url":"https://api.github.com/users/russellhancox/gists{/gist_id}","starred_url":"https://api.github.com/users/russellhancox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellhancox/subscriptions","organizations_url":"https://api.github.com/users/russellhancox/orgs","repos_url":"https://api.github.com/users/russellhancox/repos","events_url":"https://api.github.com/users/russellhancox/events{/privacy}","received_events_url":"https://api.github.com/users/russellhancox/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T21:06:44Z","updated_at":"2018-05-10T21:06:44Z","author_association":"COLLABORATOR","body":"You can also just not set the MachineID settings in Santa - it'll use the machine UUID by default."}}
{"actor":{"display_login":"russellhancox"}}