Comments (1)
To be specific, there are two other things that makes it even worse.
One, the stack trace is printed even though there's no need to:
./typedb console --cluster=typedb-cluster-1:1729 --username=admin --password
Password: <an-incorrect-password>
Welcome to TypeDB Console. You are now in TypeDB Wonderland!
Copyright (C) 2022 Vaticle
Exception in thread "main" io.grpc.StatusRuntimeException: UNAUTHENTICATED: [CLS07] Server Error: Invalid password credential.
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:262)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:243)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:156)
at com.vaticle.typedb.protocol.TypeDBClusterGrpc$TypeDBClusterBlockingStub.userToken(TypeDBClusterGrpc.java:775)
at com.vaticle.typedb.client.connection.cluster.ClusterServerStub.<init>(ClusterServerStub.java:66)
at com.vaticle.typedb.client.connection.cluster.ClusterServerClient.<init>(ClusterServerClient.java:53)
at com.vaticle.typedb.client.connection.cluster.ClusterClient.fetchCurrentAddresses(ClusterClient.java:79)
at com.vaticle.typedb.client.connection.cluster.ClusterClient.<init>(ClusterClient.java:69)
at com.vaticle.typedb.client.connection.cluster.ClusterClient.<init>(ClusterClient.java:63)
at com.vaticle.typedb.client.TypeDB.clusterClient(TypeDB.java:54)
at com.vaticle.typedb.console.TypeDBConsole.createTypeDBClient(TypeDBConsole.java:466)
at com.vaticle.typedb.console.TypeDBConsole.runREPLMode(TypeDBConsole.java:177)
at com.vaticle.typedb.console.TypeDBConsole.main(TypeDBConsole.java:128)
And two, Console will actually hang rather than terminating with error.
from typedb-console.
Related Issues (20)
- TypeDB Cluster management HOT 2
- User role management
- Distribution JARs must be uniquely identified by their Maven coordinates HOT 1
- Log a warning if the current locale does not support all Unicode characters
- Allow multi-line query in Console scripts
- Connection error when querying TypeDB Cluster database schema HOT 1
- Defining concepts Type does not exist HOT 3
- 'source' commands on windows crash on exception
- Support multiple layers of abstract commands
- Export schema in a file without unnecessary lines HOT 1
- Session not disconnected after a password change resulting in an Exception. HOT 1
- Confirm a password change before updating a user's password
- Wildcard support
- Greek characters/vaticle HOT 1
- Termination of commands and TypeQL queries is better to be consistent
- Respect default port when connecting by IP/domain name only
- Uncaught exception with Ctrl+C instead of input on password update
- Password-update command is redundant and behaves inconsistently to password-set HOT 1
- Confirmation prompt before deleting a database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typedb-console.