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
malformed header (Excon::Error::ResponseParse) in version 0.108.0 #845
Comments
I'm encountering this error w/
|
Thanks for the heads up. I'm pretty occupied with family stuff over the weekend, but will try to dig in a bit more early next week. In the mean time, I'd recommend locking to v0.106.0 until we can figure out what part of the performance changes might be causing this. |
Hello.
but with v0.106.0 everything works fine |
Thanks for the extra details. I think for my purposes the backtrace is much more helpful than the cookbook trace though, so if you have those that might be more informative. Looking at the provided backtrace from the first one, I noticed something that is unusual (from my perspective anyway), which is the "hijack" middleware from docker-api. It looks like that tries to do some of it's own response parsing, distinct from what would normally happen, and that this is where the error is coming from. It's the first time I've seen this. I think you may need to touch base with the folks on that to see if they have more insight, as even if I could figure out fully what they intended, I might not be able to fix it on my side. You can see the code in question here: https://github.com/upserve/docker-api/blob/master/lib/excon/middlewares/hijack.rb. Also, at least at present my test suite seems to pass fine in v0.108.0, so perhaps they would have something we could use to reproduce this. In any event, I think the next step is probably to reach out on that repo. Sorry I can't be more directly helpful, it's tricky with unfamiliar code and without a good repro case though. |
You will want to add metadata.rb gems are installed at compile time. If the machine already has a newer version of excon installed you will need to uninstall it with chef_gem This is all from memory so there may be some syntax errors, but hopefully that will get you |
@bird-dog should the |
Hi all! |
@bird-dog thanks for sharing your experience and helping others on this, especially since this particular use case is outside my experience. @ilias-devops thanks for the report, hopefully that might also be a fix for other folks that were running into this (since that seems preferable to version locks). |
Not necessary, but I don't believe it would hurt anything. |
More info about the malformed header response: excon/excon#845
More info about the malformed header response: excon/excon#845
More info about the malformed header response: excon/excon#845
Struggled with the version 0.107.0 error this morning for a bit, but now getting the following when running in chef
This is obviously a very old version of ruby we are using
I have reverted to version 0.106.0 for now and that seems to be working fine.
The text was updated successfully, but these errors were encountered: