Open zealsham opened 3 months ago
A PR with instructions would be great, thank you!
so i went on a mission to install sim-ln on linux , windows and macos for this task . However on m1 mac i'm running into an issue that i spent a couple of days trying to resolve and i could not .
After starting a local network with Polar and running sim-cli with a test configuration , i get the following error
[hyper::client::client] Connection is HTTP/1, but request requires HTTP/2
Error: Get info error: status: Unknown, message: "request has unsupported HTTP version", details: [], metadata: MetadataMap { headers: {} }
which implies i am sending a HTTP/1 connection instead of HTTP/2 which LND supports over it's REST interface . what could be the cause of this . is there a way to force only HTTP/2 connection from sim-cli ?
i also want to add that i am able to query LND rest interface using curl with no problem
curl -k --header "Grpc-Metadata-macaroon: $(xxd -ps -u -c 1000 /Ulnd/alice/data/chain/bitcoin/regtest/admin.macaroon)" \
--cacert /networks/1/volumes/lnd/alice/tls.cert \
https://127.0.0.1:8081/v1/getinfo
which i proxied via burp suite and confirmed that even though i'm using htpp/1.1 , the request goes through as expected
which implies i am sending a HTTP/1 connection instead of HTTP/2 which LND supports over it's REST interface . what could be the cause of this . is there a way to force only HTTP/2 connection from sim-cli ?
Sim-ln uses grpc to connect to LND, so you'll need to point it to ther rpcserver
port not the rest one 👍
Describe the bug when trying to build sim-cli , i ran into an issue where the build process panicked because i did not have the protoc binary installed on my device
it would ease the installation process if the installation instructions mentions something like , "make sure protobuf is installed on your device "
i can push a Pr if you sim-ln devs agree with this suggestion