{"action":"created","issue":{"url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/373","repository_url":"https://api.github.com/repos/ethersphere/go-ethereum","labels_url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/373/comments","events_url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/373/events","html_url":"https://github.com/ethersphere/go-ethereum/issues/373","id":311635985,"number":373,"title":"Fix 200 OK return EOF","user":{"login":"nonsense","id":50459,"avatar_url":"https://avatars0.githubusercontent.com/u/50459?v=4","gravatar_id":"","url":"https://api.github.com/users/nonsense","html_url":"https://github.com/nonsense","followers_url":"https://api.github.com/users/nonsense/followers","following_url":"https://api.github.com/users/nonsense/following{/other_user}","gists_url":"https://api.github.com/users/nonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/nonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonsense/subscriptions","organizations_url":"https://api.github.com/users/nonsense/orgs","repos_url":"https://api.github.com/users/nonsense/repos","events_url":"https://api.github.com/users/nonsense/events{/privacy}","received_events_url":"https://api.github.com/users/nonsense/received_events","type":"User","site_admin":false},"labels":[{"id":783051512,"url":"https://api.github.com/repos/ethersphere/go-ethereum/labels/network%20rewrite","name":"network rewrite","color":"15929b","default":false}],"state":"open","locked":false,"assignee":{"login":"nonsense","id":50459,"avatar_url":"https://avatars0.githubusercontent.com/u/50459?v=4","gravatar_id":"","url":"https://api.github.com/users/nonsense","html_url":"https://github.com/nonsense","followers_url":"https://api.github.com/users/nonsense/followers","following_url":"https://api.github.com/users/nonsense/following{/other_user}","gists_url":"https://api.github.com/users/nonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/nonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonsense/subscriptions","organizations_url":"https://api.github.com/users/nonsense/orgs","repos_url":"https://api.github.com/users/nonsense/repos","events_url":"https://api.github.com/users/nonsense/events{/privacy}","received_events_url":"https://api.github.com/users/nonsense/received_events","type":"User","site_admin":false},"assignees":[{"login":"nonsense","id":50459,"avatar_url":"https://avatars0.githubusercontent.com/u/50459?v=4","gravatar_id":"","url":"https://api.github.com/users/nonsense","html_url":"https://github.com/nonsense","followers_url":"https://api.github.com/users/nonsense/followers","following_url":"https://api.github.com/users/nonsense/following{/other_user}","gists_url":"https://api.github.com/users/nonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/nonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonsense/subscriptions","organizations_url":"https://api.github.com/users/nonsense/orgs","repos_url":"https://api.github.com/users/nonsense/repos","events_url":"https://api.github.com/users/nonsense/events{/privacy}","received_events_url":"https://api.github.com/users/nonsense/received_events","type":"User","site_admin":false},{"login":"holisticode","id":88287,"avatar_url":"https://avatars3.githubusercontent.com/u/88287?v=4","gravatar_id":"","url":"https://api.github.com/users/holisticode","html_url":"https://github.com/holisticode","followers_url":"https://api.github.com/users/holisticode/followers","following_url":"https://api.github.com/users/holisticode/following{/other_user}","gists_url":"https://api.github.com/users/holisticode/gists{/gist_id}","starred_url":"https://api.github.com/users/holisticode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holisticode/subscriptions","organizations_url":"https://api.github.com/users/holisticode/orgs","repos_url":"https://api.github.com/users/holisticode/repos","events_url":"https://api.github.com/users/holisticode/events{/privacy}","received_events_url":"https://api.github.com/users/holisticode/received_events","type":"User","site_admin":false}],"milestone":null,"comments":19,"created_at":"2018-04-05T14:33:08Z","updated_at":"2018-04-23T14:43:18Z","closed_at":null,"author_association":"NONE","body":"When we upload a 50MB file, it appears that nodes are responding with 200 OK, before the file has finished syncing up on the given node:\r\n```\r\nTRACE[03-30|19:06:24.640387|swarm-smoke/upload_and_sync.go:77] http get response                        ruid=1fd89f5b api=http://8509.testing.swarm-gateways.net hash=11b5487b5d307c10d940d9e4aa05643fa00c82a428d76ec9027245add31f834c code=200 len=50000000\r\nWARN [03-30|19:06:28.841038|swarm-smoke/upload_and_sync.go:89] unexpected EOF                           ruid=1fd89f5b\r\n```\r\n\r\nFor example, try running the following command, and notice how we get errors for ~1-2minutes, but after that file is retrieved successfully:\r\n```\r\nswarm-smoke --filesize 50 --bzz-api http://8504.testing.swarm-gateways.net c\r\n```"},"comment":{"url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/comments/383600523","html_url":"https://github.com/ethersphere/go-ethereum/issues/373#issuecomment-383600523","issue_url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/373","id":383600523,"user":{"login":"nonsense","id":50459,"avatar_url":"https://avatars0.githubusercontent.com/u/50459?v=4","gravatar_id":"","url":"https://api.github.com/users/nonsense","html_url":"https://github.com/nonsense","followers_url":"https://api.github.com/users/nonsense/followers","following_url":"https://api.github.com/users/nonsense/following{/other_user}","gists_url":"https://api.github.com/users/nonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/nonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonsense/subscriptions","organizations_url":"https://api.github.com/users/nonsense/orgs","repos_url":"https://api.github.com/users/nonsense/repos","events_url":"https://api.github.com/users/nonsense/events{/privacy}","received_events_url":"https://api.github.com/users/nonsense/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T14:43:18Z","updated_at":"2018-04-23T14:43:18Z","author_association":"NONE","body":"> 200 suggests that the content has been received and stored. period.\r\n\r\nagree, but we have no way of knowing right now if the content is synced to respective nodes.\r\n\r\n> 202 suggests an async operation that does not complete immediately. hence, an immediate request of the same data might result in an error or some other predefined behaviour \r\n\r\nthis is something I would not expect having worked with other APIs. it is not intuitive behaviour and probably against REST definitions."}}
{"actor":{"display_login":"nonsense"}}