{"action":"opened","issue":{"url":"https://api.github.com/repos/bemasher/rtlamr/issues/107","repository_url":"https://api.github.com/repos/bemasher/rtlamr","labels_url":"https://api.github.com/repos/bemasher/rtlamr/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/bemasher/rtlamr/issues/107/comments","events_url":"https://api.github.com/repos/bemasher/rtlamr/issues/107/events","html_url":"https://github.com/bemasher/rtlamr/issues/107","id":384141977,"node_id":"MDU6SXNzdWUzODQxNDE5Nzc=","number":107,"title":"Sample Receive Error Handling","user":{"login":"bemasher","id":79724,"node_id":"MDQ6VXNlcjc5NzI0","avatar_url":"https://avatars1.githubusercontent.com/u/79724?v=4","gravatar_id":"","url":"https://api.github.com/users/bemasher","html_url":"https://github.com/bemasher","followers_url":"https://api.github.com/users/bemasher/followers","following_url":"https://api.github.com/users/bemasher/following{/other_user}","gists_url":"https://api.github.com/users/bemasher/gists{/gist_id}","starred_url":"https://api.github.com/users/bemasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bemasher/subscriptions","organizations_url":"https://api.github.com/users/bemasher/orgs","repos_url":"https://api.github.com/users/bemasher/repos","events_url":"https://api.github.com/users/bemasher/events{/privacy}","received_events_url":"https://api.github.com/users/bemasher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-26T01:20:16Z","updated_at":"2018-11-26T01:20:16Z","closed_at":null,"author_association":"OWNER","body":"[R]ecently rtlamr on my one machine, which connects to rtlsdr no another machine via tcp. Has been, quite randomly just start spewing [in an infinite loop]:\r\n\r\n[08:44:12.409225 main.go:145](https://github.com/bemasher/rtlamr/blob/master/main.go#L145): Error reading samples:  EOF\r\n\r\nI had this happen once and a while when rtlsdr had died, ie, failed to open connection to remote host. But in the last couple of cases. rtlsdr appeared ok, so I restarted rtlsdr on the host it was running on, with no success. Eventually I had to control-c out of rtlamr, and restart it.\r\n\r\nI looked at the code but thought it odd that the for loop where this error is occurring just does a continue on an EOF. Shouldn't that cause an exit from the loop?"}}
{"actor":{"display_login":"bemasher"}}