Closed DownRangeDevOps closed 3 years ago
Have you tried replacing umbrel.local with the IP of the node? Find this in umbrel dir .env file LND_IP
Like this? Doesn't seem to change anything and it looks like the BoS node app is trying to connect specifically to umbrel.local
.
ubuntu@52:~$ sudo docker run -it --rm --network="umbrel_main_network" --add-host=10.21.21.9:10.21.21.9 -v ${PWD}/umbrel/lnd:/home/node/.lnd:ro -v ${PWD}/.bos:/home/node/.bos:ro alexbosworth/balanceofsatoshis report --node umbrel
- 503
- UnexpectedErrorWhenGettingChainBalance
-
err:
message: 14 UNAVAILABLE: Name resolution failed for target dns:umbrel.local:10009
I mean in the credentials.json
In the docker setup I think you'd have to tell the docker container what the umbrel.local dns means
@alexbosworth that worked! Thank you so much for the help and the awesome utility!
FYI @alexbosworth node gives this deprecation error so I'm assuming the root issue will need to be resolved at some point. Let me know if I can help.
(node:1) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
(Use `node --trace-deprecation ...` to show where the warning was created)
Yeah technically you shouldn't do it this IP way because TLS isn't allowed to go against IPs
Instead you are supposed to add a hostname to the TLS cert (maybe it's already in the umbrel one) and then setup hostname mapping on your docker container so that it uses that matching name
Has anyone been able to get BoS to work in a docker container with Umbrel? I can’t seem to get it to connect to the LND container.
I tried using their saved node instructions.
Start cmd:
Error:
If I start the BoS container with
--entrypoint bash
I can pingumbrel.local
just fine. Any ideas?