jorijn / bitcoin-dca

DCA tool for automatically buying and withdrawing Bitcoin on Bl3P, Bitvavo, Kraken and Binance
https://bitcoin-dca.readthedocs.io/en/latest/
MIT License
83 stars 14 forks source link

[ERROR] Couldn’t resolve host name for <location> #47

Closed jorijn closed 3 years ago

jorijn commented 3 years ago

Describe the bug With Bitcoin-DCA 1.2.2, the container is unable to resolve any URLs and therefore is unable to communicate with any external exchange API.

To Reproduce Steps to reproduce the behavior:

  1. Pull 1.2.2: docker pull jorijn/bitcoin-dca:v1.2.2
  2. Run against any exchange: $ docker run --rm --env-file=.env jorijn/bitcoin-dca:latest balance

Expected behavior I was expecting Bitcoin-DCA to function like before. Being able to communicate with external exchange APIs.

Screenshots

pi@raspberrypi:~ $ docker run --rm --env-file=.env jorijn/bitcoin-dca:latest balance

 [ERROR] Couldn't resolve host name for
         "https://api.kraken.com/0/private/Balance".

Platform (please complete the following information):

Additional context It looks like this particular bug is only affecting people on 32-bit ARM architecture (Raspberry Pis). I tested it on my 64-bit Raspberry Pi and was unaffected.

More information here:

jorijn commented 3 years ago

It looks like Alpine updated their latest tag to v3.13. The course of action, for now, is to revert back to v3.12 and pin that version in the Dockerfile. I'll keep monitoring if there is a fix.