question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

myNodeBTC 0.2.12 Has Issue with LndHub

See original GitHub issue

Hi,

Since the 0.2.12 upgrade of myNodeBTC.com there have been issues with LndHub access. @tehelsper curates the distribution.

I have attached more extensive logs, but the effective error appears in this excerpt:

Jul 27 18:16:48 myNode lndhub[5191]: dfff1474-5f6d-405c-8545-444f060ea0b9 ::ffff:192.168.1.153 - - [27/Jul/2020:06:16:48 +0000] "GET /getuserinvoices?limit=200 HTTP/1.1" 200 1851 "-" "okhttp/3.12.1"
Jul 27 18:16:48 myNode lndhub[5191]: 2020-07-27T06:16:48.636Z : info: [] : ["e2c6800e-fb60-4098-9188-11b267b35301","error gettxs:","{\"result\":null,\"error\":{\"code\":-19,\"message\":\"Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path).\"},\"id\":\"528a4f72-9f3a-488c-bd3a-f9fefdea28ab\"}\n","userid:","6794f99768dc8a8de593ee8101d357cce35f2dcb12c07a28"]
Jul 27 18:16:48 myNode lndhub[5191]: e2c6800e-fb60-4098-9188-11b267b35301 ::ffff:192.168.1.153 - - [27/Jul/2020:06:16:48 +0000] "GET /gettxs HTTP/1.1" 200 2 "-" "okhttp/3.12.1"

It has been noted that

error\":{\"code\":-19,\"message\":\"Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path)

suggests bitcoind is not happy with some RPC call…

@tehelsper is happy to assist with any questions regarding the myNodeBTC.com setup to manage LndHub’s launch and operation.

If there is any additional information you require please just ask.

EDIT. logs removed

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Overtormentcommented, Jul 30, 2020

it-юмор-geek-3596647

1reaction
HamishMacEwancommented, Jul 30, 2020

Yes, since the incorporation of Specter into the myNodeBTC.com distribution (v0.2.11) I have had two wallets:

>>> listwallets
[
  "wallet.dat",
  "spectercc965c6d9e62fa00/simple_"
]

Which caused problems for joinmarket until the wallet was specified in bitcoin.config:

# Specter, joinmarket wallet resolution 
# Removed for temporary testing lndhub issues with "wallet selection" but unsuccessfully
main.wallet=wallet.dat

Running the command you gave resulted in:

>>> listtransactions "*" 100500 0 true
error code: -19
error message:
Wallet file not specified (must request wallet RPC through /wallet/ uri-path).
Try adding "-rpcwallet=" option to bitcoin-cli command line.

>>>

So following your suggestion, but unable to find config.bitcoind.rpc I’ve extended the line in config.js to read:

rpc: 'http://mynode:[password]@127.0.0.1:8332/wallet/wallet.dat'

And SUCCESS!

Thank you @Overtorment. Buy you a beverage next time we meet online!

Read more comments on GitHub >

github_iconTop Results From Across the Web

BlueWallet on Twitter: "The Lightning node (lndhub) is down ...
The Lightning node (lndhub) is down and we working to get it back up. Meanwhile it is a nice opportunity to run your...
Read more >
myNode - Run Bitcoin, Lightning, and more!
Explore, Transact, Mix, Chat, and more with all the apps myNode has to offer! Bitcoin ... LND Hub. LNDConnect. LNDManage. LNbits. Lightning Terminal....
Read more >
Blue Wallet (LND Hub) - myNode Guides and Documentation
Helpful guides and documentation for using myNode and getting the most out of all it has to offer!
Read more >
LndHUB - A Lightning Hub for Service providers. | BlueWallet
BlueWallet was forged in the ashes of the 2017 fork wars, in order to bring a powerful and Bitcoin only wallet for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found