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

Problem with Janus login and no error in log and no error returned to client #471

Open
brentgriffin opened this issue Mar 23, 2021 · 0 comments

Comments

@brentgriffin
Copy link

brentgriffin commented Mar 23, 2021

Related to testing of #465

First, it is important to understand that this is the new Janus that uses Cassandra and one of the Cassandra nodes did not start up correctly. Even so, I would expect Janus to better handle the failure.

Console from postman:

POST http://acf777a17a3c74b08943b75a1d6cd326-1400381294.us-west-2.elb.amazonaws.com:8081/login
  Error: socket hang up
  Request Headers
  Authorization: Basic amFudXNhZG1pbjpLczlZQTRCeSR6Njk=
  User-Agent: PostmanRuntime/7.26.10
  Accept: */*
  Cache-Control: no-cache
  Postman-Token: 90550187-cf5b-4aec-a4fc-35c81409f699
  Host: acf777a17a3c74b08943b75a1d6cd326-1400381294.us-west-2.elb.amazonaws.com:8081
  Accept-Encoding: gzip, deflate, br
  Connection: keep-alive

It is understandable if Cassandra is not healthy that the login would fail; however, I would expect two things to happen in this case:

  • Return error status code to client (500 or something)
  • Log error message in log file (this would help diagnose the problem)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant