Comments (4)
This also triggers it:
version = 1
[clusters.local]
hostnames = ["127.0.0.1"]
default-bucket = "default"
[clusters.mycloud]
hostnames = ["0cb55b31-d7ac-4ba3-8299-4d2cbc75f2df.dp.cloud.couchbase.com"]
default-bucket = "travel-sample"
cert-path = "/Users/ingenthr/.cbsh/ingenthr-test-ingenthr-cluster-20200918-root-certificate.pem"
[clusters.hometest66]
hostnames = ["centos7lx-1.home.ingenthron.org"]
default-bucket = "travel-sample"
but taking off the last three lines does not.
I experimented with a few things and even this minimal example fails for some reason I can't figure out.
version = 1
[clusters.local]
hostnames = ["127.0.0.1"]
default-bucket = "default"
[clusters.mycloud]
hostnames = ["0cb55b31-d7ac-4ba3-8299-4d2cbc75f2df.dp.cloud.couchbase.com"]
default-bucket = "travel-sample"
cert-path = "/Users/ingenthr/.cbsh/ingenthr-test-ingenthr-cluster-20200918-root-certificate.pem"
[clusters.hometest]
hostnames = ["google.com"]
default-bucket = "travel-sample"
from couchbase-shell.
Appears to be not having a related credentials entry.
from couchbase-shell.
This is definitely due to the username/password being missing. What are you expecting here? A reasonable error message rather than the panic or for the shell to actually try and fail to connect? We need to think of a good way to expose connection time errors.
from couchbase-shell.
this should be fixed now, I added proper errors when the config is invalid or user/pass are missing.
from couchbase-shell.
Related Issues (20)
- can't connect to the cluster HOT 4
- Improve logging HOT 1
- Can't parse json containing very large number HOT 2
- Credentials file non optional HOT 1
- config file creation needs to create directory HOT 1
- Expose CIDR block for Capella clusters HOT 1
- KV ops need to get collection id via memcached not http
- Change version number to match nushell HOT 1
- Publish on homebrew HOT 1
- Add release notes section
- Add support for config profiles
- Rename cluster cmd line flag to database
- Rename conn-string to connstr
- Improve config file creation HOT 4
- Documentation of Couchbase specific features is a bit buried
- Investigate removing openssl dependency all together
- Consider adding consistency options
- Can panic connecting to capella HOT 1
- Remove expect and unwrap from codebase HOT 2
- KV and HTTP using different set of certificates
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 couchbase-shell.