Coder Social home page Coder Social logo

vps-lnbits's People

Contributors

trezorhannes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vps-lnbits's Issues

lnd.conf file resetting on Raspiblitz

Heya!

Thank you very much for the guide. I'm stuck at step 9 however.

When I add "externalip=VPS-IP:9735" to the lnd.conf and restart the service, the entry vanishes from the config.
All other settings stick. How do I avoid having the config file reset?

Also, is this modification correct for the lnd.service?
Your guide says it should be "ExecStart=/usr/local/bin/lnd ${lndExtraParameter}", but my service file also contains "--configfile=/home/bitcoin/.lnd/lnd.conf"

[Service]
ExecStartPre=-/home/admin/config.scripts/lnd.check.sh prestart mainnet
ExecStart=/usr/local/bin/lnd ${lndExtraParameter} --configfile=/home/bitcoin/.lnd/lnd.conf

Thanks in advance!

General question:

Hello I run an Umbrel node and I am thinking of doing this. But my node has a sizable number of sats on it already. Is this guide for those who are starting off with a fresh node?

Upgrade to Raspiblitz 1.9

1.9 settings worked same as 1.8 in case you want to add 1.9 in the doc.

After upgrade, I did need to re-set-up the node's ovpn to my LNBits on VPS, edit lnd.conf to re-add extnernal IP, and edit lndcheck.sh to not overwrite the external IP. I think that was the only issue (was a few weeks ago).

I followed the procedure and my LND can't connect to any LN node

I've successfully connected my local node to openvpn server. Everything seems fine in openvpn logs, but when I start lnd, lnd logs are full of timeout or network unreachable lines:

[ERR] SRVR: Unable to connect to 037bac010f84ef785ddc3ade66d008d76d90d80eab6e148c00ea4ba102c07f2e53@3.238.22.25:9735: dial tcp 3.238.22.25:9735: i/o timeout
[ERR] SRVR: Unable to connect to 03573d821ac340980ea15ae2e84bfd0365690b459f0192c946fe49fb5bdda8736a@[2003:ce:7f18:7c00:c2f3:2dcf:1e3a:f7c]:9735: dial tcp [2003:ce:7f18:7c00:c2f3:2dcf:1e3a:f7c]:9735: connect: network is unreachable

Os: Ubuntu 22.04
Lnd is: lnd v0.15.1-beta

@TrezorHannes do you have some suggestion what might be the issue, or how can I debug the problem? lnd, docker and vpn client logs doesn't show anything usefull.

Unable to CURL Container IP

I am stuck with connecting the LNBits to the running OpenVPN Docker container.
OpenVPN works fine and I see my node in the clearnet with the right IP, but when trying to start LNBits it is unable to connect to 172.17.0.1 (I also tried 172.17.0.2 thinking it is a typo but didn't work)

curl https://172.17.0.1:8080 -v --cacert /home/admin/tls.cert also times out and can't reach anything.

I have no clue what to do from here. I also tried using Docker for LNBits instead of Poetry Build. But the same issue. Is maybe docker-compose with exposed port between LNbits and VPN possible? Would also be a nice setup.

Running LNbits

Continuing our conversation from twitter (@holtzmanbtc)...

When running LNbits using the following command:

$ ./venv/bin/uvicorn lnbits.main:app --port 5000

The application is unable to make a connection and prints the following continuously:

> INFO | Retrying connection to backend in 5 seconds...

On twitter, you instructed me to run the following:

$ ip -f inet addr show docker0

Using this command I can confirm that the VPS docker IP is 172.17.0.1.

I'm also able to successfully ping my node from within the docker container like you mentioned.

Appreciate your help getting this working, nice tutorial. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.