Skip to content
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

Stage 3 Tutorial - Login attempt fails : _Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Endpoint read failed #30

Open
cavapoo2 opened this issue Feb 12, 2018 · 8 comments

Comments

@cavapoo2
Copy link

Using ubuntu16.04. virtual_env version = 15.1.0. The setup instructions all seemed to install fine with no warnings. When i try to login to the webpage it fails. I signed the message as described, then pasted it to the box. then i get the Rendezvous error.

Environment:


Request Method: POST
Request URL: http://127.0.0.1:8000/verify/

Django Version: 1.11.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'whitenoise.runserver_nostatic',
 'django.contrib.staticfiles',
 'coindesk']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'whitenoise.middleware.WhiteNoiseMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback:

File "/home/febe/ln_workspace/deskenv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
  41.             response = get_response(request)

File "/home/febe/ln_workspace/deskenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/home/febe/ln_workspace/deskenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/febe/ln_workspace/lightning-coindesk/coindesk/views.py" in verify
  45.     user = authenticate(request=request, **kwargs)

File "/home/febe/ln_workspace/deskenv/local/lib/python2.7/site-packages/django/contrib/auth/__init__.py" in authenticate
  100.             user = backend.authenticate(*args, **credentials)

File "/home/febe/ln_workspace/lightning-coindesk/coindesk/auth_backends.py" in authenticate
  15.         verifymessage_resp = stub.VerifyMessage(ln.VerifyMessageRequest(msg=csrf_token, signature=signature))

File "/home/febe/ln_workspace/deskenv/local/lib/python2.7/site-packages/grpc/_channel.py" in __call__
  507.         return _end_unary_response_blocking(state, call, False, deadline)

File "/home/febe/ln_workspace/deskenv/local/lib/python2.7/site-packages/grpc/_channel.py" in _end_unary_response_blocking
  455.         raise _Rendezvous(state, None, None, deadline)

Exception Type: _Rendezvous at /verify/
Exception Value: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Endpoint read failed)>
@bitromortac
Copy link

I had the same issue, this pull request (lightninglabs/lightning-coindesk#3) fixes the problem. Also one has to be aware, that if one generates the certificate by hand from tutorial 2 it is not compatible with the grpc via python from tutorial 3. To make it work, just delete the tls files and let lnd generate them.

@karanv
Copy link

karanv commented Mar 15, 2018

Running into the same issue and lightninglabs/lightning-coindesk#3 doesn't fix the problem. Also deleted the tls files. Traceback: http://dpaste.com/1MA7D2Y

@zachgoll
Copy link

zachgoll commented Mar 21, 2018

@karanv Same here. I tried the pull request unsuccessfully. Also, @bitromortac I deleted tls.cert and tls.key from $HOME/Library/Application\ Support/Lnd and it did not change anything. Since this appears to be a gRPC issue of some sort, here are the relevant dependencies I am running on:

googleapis-common-protos (1.5.3)
grpcio (1.10.0)
grpcio-tools (1.10.0)
python (2.7.10)

@ccdle12
Copy link

ccdle12 commented Aug 3, 2018

Having the same issues and tried lightninglabs/lightning-coindesk#3 and deleting tls.cert and tls.key.

Doesn't seem to have resolved the issue

@blockchainsolutionshi
Copy link

Tried deleting tls.cert and key but still having this problem.

Any ideas?

@LNMultiplayer
Copy link

I am running into this same issue with the exact same Rendezvous error and trackback. Has anybody found a solution?

@wielandgmeiner
Copy link

Running into the same issue, the mentioned PR doesn't solve the problem, recreating the tls.cert through lnd neither. Solution anyone?

@SkyHustle
Copy link

Having the same exact issue. Anyone figured out a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants