shuttle
shuttle copied to clipboard
[Bug]: Internal I/O error: invalid gzip header
What happened?
Attempting to deploy a discord bot gives the following error: "Error: Internal I/O error: invalid gzip header". This is the case both with changes to the bot, as well as when using a version that previously deployed just fine.
Version
v0.19.1
Which operating system(s) are you seeing the problem on?
Linux, In deployment
Which CPU architectures are you seeing the problem on?
x86_64, In deployment
Relevant log output
2023-06-24T01:09:10.113128631Z INFO Entering queued state
2023-06-24T01:09:10.113159420Z TRACE shuttle_deployer::deployment::queue: getting a build slot
2023-06-24T01:09:10.120929801Z TRACE {uri="http://gateway:8001/stats/load"} shuttle_deployer::deployment::gateway_client: calling gateway
2023-06-24T01:09:10.123728934Z DEBUG hyper::client::connect::http: connecting to 10.99.0.14:8001
2023-06-24T01:09:10.126265397Z DEBUG hyper::client::connect::http: connected to 10.99.0.14:8001
2023-06-24T01:09:10.129168221Z DEBUG hyper::client::pool: pooling idle connection for ("http", gateway:8001)
2023-06-24T01:09:10.131458602Z TRACE {response="Response { status: 200, version: HTTP/1.1, headers: {\"content-type\": \"application/json\", \"content-length\": \"38\", \"date\": \"Fri, 23 Jun 2023 22:09:09 GMT\"}, bod
y: Body(Streaming) }"} shuttle_deployer::deployment::gateway_client: Load response
2023-06-24T01:09:10.134157526Z INFO Entering building state
2023-06-24T01:09:10.142356120Z INFO Entering crashed state
2023-06-24T01:09:10.145579928Z ERROR {error="Internal I/O error: invalid gzip header"} shuttle_deployer::deployment::queue: service build encountered an error
Duplicate declaration
- [X] I have searched the issues and there are none like this.
I have the same error. Have you found the solution?
Have you found the solution?
Yea I just restarted the project and then it worked fine, not sure what caused it or if it's gonna pop up again in the future.
thanks! I did the same and everything is ok now.