{"action":"opened","issue":{"url":"https://api.github.com/repos/cheminfo/rest-on-couch/issues/140","repository_url":"https://api.github.com/repos/cheminfo/rest-on-couch","labels_url":"https://api.github.com/repos/cheminfo/rest-on-couch/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/cheminfo/rest-on-couch/issues/140/comments","events_url":"https://api.github.com/repos/cheminfo/rest-on-couch/issues/140/events","html_url":"https://github.com/cheminfo/rest-on-couch/issues/140","id":353692600,"node_id":"MDU6SXNzdWUzNTM2OTI2MDA=","number":140,"title":"couchdb connection error","user":{"login":"stropitek","id":4118690,"node_id":"MDQ6VXNlcjQxMTg2OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4118690?v=4","gravatar_id":"","url":"https://api.github.com/users/stropitek","html_url":"https://github.com/stropitek","followers_url":"https://api.github.com/users/stropitek/followers","following_url":"https://api.github.com/users/stropitek/following{/other_user}","gists_url":"https://api.github.com/users/stropitek/gists{/gist_id}","starred_url":"https://api.github.com/users/stropitek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stropitek/subscriptions","organizations_url":"https://api.github.com/users/stropitek/orgs","repos_url":"https://api.github.com/users/stropitek/repos","events_url":"https://api.github.com/users/stropitek/events{/privacy}","received_events_url":"https://api.github.com/users/stropitek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-24T08:31:09Z","updated_at":"2018-08-24T08:31:09Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I recently came across an error while using a view (ecstasy pill view).\r\n\r\nIt was making quiet a lot of requests to get images in parallel from rest-on-couch.\r\n\r\nThe issue can be reproduced from here, when logged in as admin@cheminfo.org:\r\nhttps://my.cheminfo.org/?v=v2.68.0&viewURL=https%3A%2F%2Fmydb.cheminfo.org%2Fdb%2Fvisualizer%2Fentry%2Fa1b8a96196811ddc29691f54bcbd59db%2Fview.json%3Frev%3D5-9d71fcac8f28c349ad939b85e4d9a0cc\r\n\r\nLogs:\r\n```\r\n1|rest-on- | 2018-08-24T08:29:05.031Z couch:debug (main:attachment) getAttachmentByName (ef1472ec1a5c37c5fa76d46686e1f31a, image/data/0140_1_extracted.png, admin@cheminfo.org)\r\n1|rest-on- | 2018-08-24T08:29:05.031Z couch:debug (main:entry) getEntryWithRights (ef1472ec1a5c37c5fa76d46686e1f31a, admin@cheminfo.org, read)\r\n1|rest-on- | 2018-08-24T08:29:05.032Z couch:warn (nano) getDocument failed\r\n1|rest-on- | 2018-08-24T08:29:05.033Z couch:error (middleware:util) Error: error happened in your connectionError: socket hang up\r\n1|rest-on- |     at createHangUpError (_http_client.js:313:15)\r\n1|rest-on- |     at Socket.socketCloseListener (_http_client.js:354:25)\r\n1|rest-on- |     at Socket.emit (events.js:187:15)\r\n1|rest-on- |     at Socket.EventEmitter.emit (domain.js:442:20)\r\n1|rest-on- |     at TCP._handle.close (net.js:595:12)\r\n\r\n```"}}
{"actor":{"display_login":"stropitek"}}