{"action":"created","issue":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/1603","repository_url":"https://api.github.com/repos/foosel/OctoPrint","labels_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1603/labels{/name}","comments_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1603/comments","events_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1603/events","html_url":"https://github.com/foosel/OctoPrint/issues/1603","id":191838273,"number":1603,"title":"Octoprint randomly disconnects from printer","user":{"login":"foulowl","id":2752744,"avatar_url":"https://avatars.githubusercontent.com/u/2752744?v=3","gravatar_id":"","url":"https://api.github.com/users/foulowl","html_url":"https://github.com/foulowl","followers_url":"https://api.github.com/users/foulowl/followers","following_url":"https://api.github.com/users/foulowl/following{/other_user}","gists_url":"https://api.github.com/users/foulowl/gists{/gist_id}","starred_url":"https://api.github.com/users/foulowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foulowl/subscriptions","organizations_url":"https://api.github.com/users/foulowl/orgs","repos_url":"https://api.github.com/users/foulowl/repos","events_url":"https://api.github.com/users/foulowl/events{/privacy}","received_events_url":"https://api.github.com/users/foulowl/received_events","type":"User","site_admin":false},"labels":[{"id":93426895,"url":"https://api.github.com/repos/foosel/OctoPrint/labels/status:unreproduced","name":"status:unreproduced","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-27T02:33:33Z","updated_at":"2016-11-29T14:40:11Z","closed_at":null,"body":"#### What were you doing?\r\n\r\nPrinter was printing an object, or printer was idling for roughly 20-30 min.\r\n\r\n#### What did you expect to happen?\r\n\r\nPrinter should not disconnect from arduino.\r\n\r\n#### What happened instead?\r\n\r\nPrinter disconnects randomly with the following error message:\r\n\r\nUnexpected error while reading serial port, please consult octoprint.log for details: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:1618\r\nChanging monitoring state from 'Operational' to 'Offline: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:1618'\r\nConnection closed, closing down monitor\r\n\r\nprinter freezes when disconnect happens, leaving the bed and nozzle hot. This is potentially dangerous. \r\n\r\n**Printer does not disconnect randomly when pronterface is used for communication.**\r\n\r\nAnother item to note: connecting to the printer takes 20-30 seconds, whereas it takes less than a second with pronterface.\r\n\r\n#### Branch & Commit or Version of OctoPrint\r\n\r\n1.2.17\r\n\r\n#### Printer model & used firmware incl. version\r\n\r\nPrusa i3 and Marlin v1xxx\r\n\r\n#### Browser and Version of Browser, Operating System running Browser\r\n\r\nN/A\r\n\r\n#### Link to octoprint.log\r\n\r\nhttps://gist.github.com/foulowl/a90f3f531f94d5177fa358ad3c7567c4\r\n\r\n#### Link to contents of terminal tab or serial.log\r\n\r\nserial.log is empty. Full contents of terminal:\r\nUnexpected error while reading serial port, please consult octoprint.log for details: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:1618\r\nChanging monitoring state from 'Operational' to 'Offline: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:1618'\r\nConnection closed, closing down monitor\r\n\r\n#### Link to contents of Javascript console in the browser\r\n\r\nN/A\r\n\r\n#### Screenshot(s) showing the problem:\r\n\r\nN/A\r\n\r\nI have read the FAQ.\r\n\r\nThanks!!"},"comment":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/comments/263587388","html_url":"https://github.com/foosel/OctoPrint/issues/1603#issuecomment-263587388","issue_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1603","id":263587388,"user":{"login":"foosel","id":83657,"avatar_url":"https://avatars.githubusercontent.com/u/83657?v=3","gravatar_id":"","url":"https://api.github.com/users/foosel","html_url":"https://github.com/foosel","followers_url":"https://api.github.com/users/foosel/followers","following_url":"https://api.github.com/users/foosel/following{/other_user}","gists_url":"https://api.github.com/users/foosel/gists{/gist_id}","starred_url":"https://api.github.com/users/foosel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foosel/subscriptions","organizations_url":"https://api.github.com/users/foosel/orgs","repos_url":"https://api.github.com/users/foosel/repos","events_url":"https://api.github.com/users/foosel/events{/privacy}","received_events_url":"https://api.github.com/users/foosel/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T14:40:11Z","updated_at":"2016-11-29T14:40:11Z","body":"Just remember: What you could check though is - when it happens - what `dmesg` outputs (via SSH). Might give some hints as to what's going on with the serial device on the OS level."}}
{"actor":{"display_login":"foosel"}}