upserve/docker-api

Docker 1.10.2: HTTP communication with daemon fails for UNIX sockets

Papierkorb opened this issue · 6 comments

Hello,

Today I noticed that after updating my system to Docker 1.10.2 I wasn't able to use docker-api anymore. The daemon always responded with 400 Bad Requests.

After some digging I found that excon does not handle requests over UNIX sockets per specification.

Just opening this issue to let you know: excon/excon#547

Thanks!

@Papierkorb thanks for noticing that. I'm sure we can get Excon updated quickly and will make note of the update in the README when it's released.

I saw that excon/excon#548 fix this issue. If I use docker-api gem via github link, does I need a version bump or just to run bundle update ?

@AlbinOS we need https://github.com/excon/excon to be released. Once that's done, you can run bundle update --source excon to upgrade just excon and it'll fix the issue.

@tlunter, thanks, forgot to check if excon was released or not...

srust commented

Ok this should probably be closed. I confirmed the API works again with excon >= 0.46 with docker 1.11.

61a4497 Added to README