{"action":"opened","issue":{"url":"https://api.github.com/repos/steemit/steem-js/issues/251","repository_url":"https://api.github.com/repos/steemit/steem-js","labels_url":"https://api.github.com/repos/steemit/steem-js/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/steemit/steem-js/issues/251/comments","events_url":"https://api.github.com/repos/steemit/steem-js/issues/251/events","html_url":"https://github.com/steemit/steem-js/issues/251","id":261881312,"number":251,"title":"Error: unexpected server response (504)","user":{"login":"Mikepicker","id":5290127,"avatar_url":"https://avatars0.githubusercontent.com/u/5290127?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikepicker","html_url":"https://github.com/Mikepicker","followers_url":"https://api.github.com/users/Mikepicker/followers","following_url":"https://api.github.com/users/Mikepicker/following{/other_user}","gists_url":"https://api.github.com/users/Mikepicker/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikepicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikepicker/subscriptions","organizations_url":"https://api.github.com/users/Mikepicker/orgs","repos_url":"https://api.github.com/users/Mikepicker/repos","events_url":"https://api.github.com/users/Mikepicker/events{/privacy}","received_events_url":"https://api.github.com/users/Mikepicker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-01T00:07:00Z","updated_at":"2017-10-01T00:07:00Z","closed_at":null,"author_association":"NONE","body":"#### Expected behavior\r\n\r\nCalling steem.api.getAccountHistory retrieve information correctly.\r\n\r\n#### Actual behavior\r\n\r\nException thrown:\r\n\r\n`Error: unexpected server response (504)\r\n     at ClientRequest._req.on (/app/node_modules/steem/node_modules/ws/lib/WebSocket.js:656:26)\r\n     at emitOne (events.js:96:13)\r\n     at ClientRequest.emit (events.js:188:7)\r\n     at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:474:21)\r\n     at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)\r\n     at TLSSocket.socketOnData (_http_client.js:363:20)\r\n     at emitOne (events.js:96:13)\r\n     at TLSSocket.emit (events.js:188:7)\r\n     at readableAddChunk (_stream_readable.js:176:18)\r\n     at TLSSocket.Readable.push (_stream_readable.js:134:10)\r\n    at TLSWrap.onread (net.js:547:20)`\r\n\r\n#### How to reproduce\r\n\r\nIt happens sometimes when calling steem.api.getAccountHistory.\r\n\r\n#### Environment information\r\n\r\nUbuntu, Node v6.11.2, npm v3.10.10\r\n"}}
{"actor":{"display_login":"Mikepicker"}}