{"action":"created","issue":{"url":"https://api.github.com/repos/camlistore/camlistore/issues/642","labels_url":"https://api.github.com/repos/camlistore/camlistore/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/camlistore/camlistore/issues/642/comments","events_url":"https://api.github.com/repos/camlistore/camlistore/issues/642/events","html_url":"https://github.com/camlistore/camlistore/issues/642","id":109516089,"number":642,"title":"Cannot camput bytes - get Unexpected EOF error","user":{"login":"dbp","id":569509,"avatar_url":"https://avatars.githubusercontent.com/u/569509?v=3","gravatar_id":"","url":"https://api.github.com/users/dbp","html_url":"https://github.com/dbp","followers_url":"https://api.github.com/users/dbp/followers","following_url":"https://api.github.com/users/dbp/following{/other_user}","gists_url":"https://api.github.com/users/dbp/gists{/gist_id}","starred_url":"https://api.github.com/users/dbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbp/subscriptions","organizations_url":"https://api.github.com/users/dbp/orgs","repos_url":"https://api.github.com/users/dbp/repos","events_url":"https://api.github.com/users/dbp/events{/privacy}","received_events_url":"https://api.github.com/users/dbp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/camlistore/camlistore/labels/accepted","name":"accepted","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-10-02T15:33:43Z","updated_at":"2015-10-13T14:47:20Z","closed_at":null,"body":"I see an old, fixed issue (#4) that says that there used to be an issue where files without linefeeds would trigger this error. I'm not sure if it's the same issue (I see this error both with 0.8 and HEAD, built with go 1.5.1 on mac), but trying to add a blob with the contents at http://s3.dbp.io/misc/camli-eof-2015-10-2 (I'm not sure what this is - it came out of another camliserver, presumably it is a part of an image) causes the following error on the server:\r\n\r\n```\r\n2015/10/02 11:24:59 Removing temp file:  /Users/dbp/Library/Camlistore/blobs/sha1/0b/02/sha1-0b02b0a54c5ee9cb0d261331bc12ce9c45923d07.dat.tmp280630491\r\n2015/10/02 11:24:59 Client error: Error receiving blob sha1-0b02b0a54c5ee9cb0d261331bc12ce9c45923d07: unexpected EOF\r\n```\r\n\r\nand correspondingly on the client:\r\n\r\n```\r\n2015/10/02 11:32:02 Error putting blob: Server didn't receive blob.\r\n```\r\n\r\nI noticed this error because I was trying to sync from a blobserver on another computer to this one, and I was getting lots of these errors in syncing (and the result of the sync was messed up - lots of permanodes with no claims, etc). So I grabbed one sha (to try to figure out what went wrong), and checked and it existed on the old server, and I could `camget` it, which is where the file I linked to above came from. But trying to `camput blob` it causes the above error."},"comment":{"url":"https://api.github.com/repos/camlistore/camlistore/issues/comments/147737738","html_url":"https://github.com/camlistore/camlistore/issues/642#issuecomment-147737738","issue_url":"https://api.github.com/repos/camlistore/camlistore/issues/642","id":147737738,"user":{"login":"mpl","id":626071,"avatar_url":"https://avatars.githubusercontent.com/u/626071?v=3","gravatar_id":"","url":"https://api.github.com/users/mpl","html_url":"https://github.com/mpl","followers_url":"https://api.github.com/users/mpl/followers","following_url":"https://api.github.com/users/mpl/following{/other_user}","gists_url":"https://api.github.com/users/mpl/gists{/gist_id}","starred_url":"https://api.github.com/users/mpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpl/subscriptions","organizations_url":"https://api.github.com/users/mpl/orgs","repos_url":"https://api.github.com/users/mpl/repos","events_url":"https://api.github.com/users/mpl/events{/privacy}","received_events_url":"https://api.github.com/users/mpl/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T14:47:20Z","updated_at":"2015-10-13T14:47:20Z","body":"Fair enough. But my first suggestions still stand :-)\r\n"}}