Comments (7)
what are you specifying for the cert
, can you share any code?
from ln-service.
const {lnd} = lnService.authenticatedLndGrpc({
cert: "base64 of tls file downloaded from voltage",
macaroon: "base64 of admin.macaroon downloaded from voltage",
socket: "grpc endpoint uri of voltage node"
});
Please note, voltage's TLS cert file is actually CA provided.
from ln-service.
OK: try omitting the cert
from ln-service.
Did that already. Received the below error.
D 2022-02-20T03:57:39.203Z | call_stream | [0] HTTP/2 stream closed with code 0
D 2022-02-20T03:57:39.203Z | call_stream | [0] ended with status: code=13 details="Received RST_STREAM with code 0"
D 2022-02-20T03:57:39.203Z | subchannel_refcount | (12) ### callRefcount 4 -> 3
[
503,
'FailedToRetrieveNodeDetails',
{
err: Error: 13 INTERNAL: Received RST_STREAM with code 0
at Object.callErrorFromStatus (/Users/samani2/projects/btc/test/node_modules/ln-service/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (/Users/samani2/projects/btc/test/node_modules/ln-service/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
at Object.onReceiveStatus (/Users/samani2/projects/btc/test/node_modules/ln-service/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
at Object.onReceiveStatus (/Users/samani2/projects/btc/test/node_modules/ln-service/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
at /Users/samani2/projects/btc/test/node_modules/ln-service/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
code: 13,
details: 'Received RST_STREAM with code 0',
metadata: [Metadata]
}
}
]
from ln-service.
OK I think this error comes from the server side so something is going on there, maybe you could ask voltageio for some advice?
Another thing to try is use an existing script like https://github.com/alexbosworth/balanceofsatoshis which uses ln-service: https://docs.voltage.cloud/balance-of-satoshis-guides/balance-of-satoshis - if that works then you could see how it is calling into the methods
from ln-service.
Thanks. I will try those and update.
from ln-service.
Removal of cert property worked.
from ln-service.
Related Issues (20)
- Subscribing to invoices - event does not trigger for hodl invoices HOT 2
- Is there a way to include metadata hash in createInvoice? HOT 7
- subscribeToInvoice method not working HOT 9
- Request: add tx id response to fundPendingChannels
- Can't connect to Lnd using gRPC HOT 4
- Socket connection issue HOT 4
- Signet support HOT 1
- probeForRoute and getRouteToDestination fail when outgoing_channel is set HOT 2
- Can't pay invoices with more than one hop_hints HOT 46
- How can I monitor incoming payments? HOT 4
- Node Credentials HOT 1
- Creating invoice with big amount leads to invoice without an amount HOT 8
- Switch RPC middleware tests to use Docker testing framework
- Migrate setupChannel macros to use ln-docker-daemons
- Using lnService with Voltage nodes HOT 6
- CreateInvoice return no response HOT 1
- `payviapaymentrequest` default behavior is different than `lncli payinvoice` HOT 7
- Clarify and supplement invoice.is_confirmed given new final settle signal in LND HOT 7
- Failed HTLC Events HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ln-service.