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

[BUG] Error when executing cqlsh via astra-cli #139

Open
Charentule opened this issue Nov 22, 2023 · 1 comment
Open

[BUG] Error when executing cqlsh via astra-cli #139

Charentule opened this issue Nov 22, 2023 · 1 comment
Milestone

Comments

@Charentule
Copy link

Describe the bug

Attempting to access an astra database via cqlsh, via the astra-cli, fails with an error message, and doesn't start the session.

To Reproduce

Steps to reproduce the behavior:

  1. Install astra-cli according to: https://awesome-astra.github.io/docs/pages/astra/astra-cli/#12-installation-on-linux
  2. Run astra setup and provide valid application token
  3. Running astra db cqlsh db_name leads to error:
[ERROR] INTERNAL_ERROR: Error in HTTP Request: HttpEntity

Expected behavior
Similar output as shown in https://awesome-astra.github.io/docs/pages/astra/astra-cli/#38-cqlsh

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
WSL version: 2.0.9.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.2715

Additional context
Add any other context about the problem here.

@Charentule
Copy link
Author

Upon further investigation, it seems access to the cql shell is not possible via clientId and token anymore. It's either clientId and clientSecret (which astra-cli does not use), or just the token, with a user called 'token'.

Tested by running the cqlsh binary installed by astra-cli (~/.astra/cqlsh-astra/bin/cqlsh) with these two authentication methods.

@Charentule Charentule changed the title [BUG] Error when downloading cqlsh via astra-cli [BUG] Error when executing cqlsh via astra-cli Nov 22, 2023
@clun clun added this to the 0.6 milestone May 27, 2024
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

2 participants