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

curl partial file error #6

Open
donpdonp opened this issue Jun 13, 2013 · 1 comment
Open

curl partial file error #6

donpdonp opened this issue Jun 13, 2013 · 1 comment

Comments

@donpdonp
Copy link

This might be a problem with my setup, but I wanted to log it here in case its related to this gem's use of curl. About half the time, commands sent from the rails host to the docker host will fail with

PartialFileError: #<Curl::Err::PartialFileError: Curl::Err::PartialFileError>

The two hosts are on the same ethernet switch so no Internet connectivity problems there. I'd be interested to hear if others have run into this. thanks!

@geku
Copy link
Owner

geku commented Jun 14, 2013

I never encountered that error. My setup consist of a Mac where I run docker-client and Vagrant with Ubuntu 13.04. So network is only virtual ...

Is the error somehow reproducible? And does it happen only with streaming responsens (container.attach) or in general with normal POST/GET requests as well?
Maybe you could simulate the situation with the curl command line tool to check if it is docker-client or your Network/docker API? An another option I see is to use another Ruby curl wrapper library instead of Curb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants