-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_Rendezvous at /verify/ #2
Comments
The issue is happening because the server is trying to open an insecure_connection to the RPC server. I sent a pull request to fix the issue by opening a secure connection using the TLS certification file. |
Even with the PR I still have this issue |
@Quenos hmm, it worked for me, that's why I made the change. Do you know what's causing your issue? |
@bulenttastan Not yet. I'm also having the issue when following the next step in the tutorial, interacting using the command line. Another thing I noticed that in said next step it says channel = grpc.secure_channel('localhost:10009', creds), but in your code you're interacting with port LND_RPCHOST (10002), but both are not working for me, so that is not the issue. |
As a work around.... this worked for me (suggested by Tomas on LN slack) but not a long term fix (hard coded path etc) before running edit: models.py and auth_backends.py (from source not the PR) and replace: channel = grpc.insecure_channel(settings.LND_RPCHOST) with: (make sure you line the indents up right with existing code - and it occurs 3 times in all)
(assuming you have the tls.cert in that path that is - amend to point to it) You just need to stop the server, edit the files and run python manage.py runserver again ALSO - add the following to the top of those two files: import os Maybe it's the os.environ["GRPC_SSL_CIPHER_SUITES"] = "HIGH+ECDSA" that works for us as the other lines look functionally similar??? |
@bulenttastan was just typing that :) |
@wintercooled Thanks this worked for me. On Debian 9 GNU/Linux |
One could also do something like: |
+1 I also get this error. After following @wintercooled 's instructions, I got a different, but seemingly related error:
Anyone have any ideas? edit: FIXED. On OSX. Originally, I tried pointing at Then, I tried |
In this tutorial (http://dev.lightning.community/tutorial/03-rpc-client/index.html), the server is connected to 'Bob' node but the instruction uses 'lncli-alice' to generate log-in credentials. Shouldn't it be 'lncli-bob'? |
After inserting the signature of the message it fails, telling the status code of the RPC is UNAVAILABLE.
Here the traceback:
The text was updated successfully, but these errors were encountered: