{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1373","repository_url":"https://api.github.com/repos/mozilla/fxa-auth-server","labels_url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1373/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1373/comments","events_url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1373/events","html_url":"https://github.com/mozilla/fxa-auth-server/issues/1373","id":168058045,"number":1373,"title":"/account/reset sometimes fails with 'invalid token'","user":{"login":"philbooth","id":64367,"avatar_url":"https://avatars.githubusercontent.com/u/64367?v=3","gravatar_id":"","url":"https://api.github.com/users/philbooth","html_url":"https://github.com/philbooth","followers_url":"https://api.github.com/users/philbooth/followers","following_url":"https://api.github.com/users/philbooth/following{/other_user}","gists_url":"https://api.github.com/users/philbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/philbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbooth/subscriptions","organizations_url":"https://api.github.com/users/philbooth/orgs","repos_url":"https://api.github.com/users/philbooth/repos","events_url":"https://api.github.com/users/philbooth/events{/privacy}","received_events_url":"https://api.github.com/users/philbooth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mozilla/fxa-auth-server/milestones/39","html_url":"https://github.com/mozilla/fxa-auth-server/milestones/FxA-0:%20quality","labels_url":"https://api.github.com/repos/mozilla/fxa-auth-server/milestones/39/labels","id":1265652,"number":39,"title":"FxA-0: quality","description":"An ongoing milestone into which we can schedule maintenance tasks, tech-debt paydown, and other code-quality-related issues.","creator":{"login":"rfk","id":34695,"avatar_url":"https://avatars.githubusercontent.com/u/34695?v=3","gravatar_id":"","url":"https://api.github.com/users/rfk","html_url":"https://github.com/rfk","followers_url":"https://api.github.com/users/rfk/followers","following_url":"https://api.github.com/users/rfk/following{/other_user}","gists_url":"https://api.github.com/users/rfk/gists{/gist_id}","starred_url":"https://api.github.com/users/rfk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfk/subscriptions","organizations_url":"https://api.github.com/users/rfk/orgs","repos_url":"https://api.github.com/users/rfk/repos","events_url":"https://api.github.com/users/rfk/events{/privacy}","received_events_url":"https://api.github.com/users/rfk/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":36,"state":"open","created_at":"2015-08-21T02:49:49Z","updated_at":"2016-07-28T10:05:35Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-07-28T10:00:41Z","updated_at":"2016-07-28T10:05:35Z","closed_at":"2016-07-28T10:05:35Z","body":"Sometimes `/account/reset` starts failing for no apparent reason. It seems to fail more often on @shane-tomlinson's machine than on mine. Once it starts to fail, it continues doing so until the db server is restarted. Re-starting the auth server at that point has no effect.\r\n\r\nThis has been happening for a long time, but may have become more frequent recently. We've only seen it happen when running against the memory backend, although that doesn't necessarily mean the problem is there.\r\n\r\nIn the auth server logs, the `uid` in the failing request payload is always a null byte / `00`. In the db server logs, there is a `SyntaxError: Unexpected token ILLEGAL`.\r\n\r\nauth server log:\r\n\r\n![auth-server-logs](https://cloud.githubusercontent.com/assets/64367/17208868/4a968ef6-54b2-11e6-8920-8d17590bf6cb.png)\r\n\r\ndb server log:\r\n\r\n![auth-db-logs](https://cloud.githubusercontent.com/assets/64367/17208891/70351650-54b2-11e6-8c38-18fc6ecf0552.png)\r\n\r\ndb syntax error:\r\n\r\n![auth-db-with-compile-error](https://cloud.githubusercontent.com/assets/64367/17208907/80f9f848-54b2-11e6-8224-2825ae7f3fef.png)\r\n\r\n\r\n"}}
{"actor":{"display_login":"philbooth"}}