ExchangeUnion / xud-docker

Streamlined setup of xud and all dependencies via docker 🐳
https://docs.exchangeunion.com
GNU Affero General Public License v3.0
5 stars 5 forks source link

Xud-docker exits because of Docker SDK ImcompleteRead error #784

Open reliveyy opened 3 years ago

reliveyy commented 3 years ago

I have noticed this error few days ago on macOS with gRPC FUSE enabled. Now I saw this error again on Windows.

requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))

I guess this error is due to invalid docker.sock path. On Windows the correct path is //var/run/docker.sock. On macOS with gRPC FUSE enabled the original /var/run/docker.sock is invalid.

The current -v /var/run/docker.sock:/var/run/docker.sock in setup.sh file is broken when

  1. On Windows platform
  2. On macOS platform with gRPC FUSE enabled
  3. The docker.sock path is not in default location
  4. The docker.sock needs authentication somehow
  5. The docker.sock has some permission issues
kilrau commented 3 years ago

Let's bump prio once somebody else reproduced this