Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset uploading fails and crashes the API #694

Closed
kstaken opened this issue Apr 16, 2018 · 0 comments · Fixed by #695
Closed

Asset uploading fails and crashes the API #694

kstaken opened this issue Apr 16, 2018 · 0 comments · Fixed by #695
Labels

Comments

@kstaken
Copy link
Member

kstaken commented Apr 16, 2018

I just tried to update an asset bundle on a cluster and the upload appeared to fail.

curl -Ss -XPOST -H "Content-Type: application/octet-stream" ts_gen4.tera1.terascope.io:5678/assets --data-binary @out/asset-${CI_BUILD_REF:0:6}.zip > result.txt
curl: (56) Recv failure: Connection reset by peer

On trying it again it appeared to not error but the asset wasn't actually uploaded and all APIs started throwing errors. The cluster needed to be restarted to recover. After that uploading the asset again worked fine.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /txt/slicers</pre>
</body>
</html>
@kstaken kstaken added the bug label Apr 16, 2018
jsnoble added a commit to jsnoble/teraslice that referenced this issue Apr 19, 2018
kstaken pushed a commit that referenced this issue Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant