Git Product home page Git Product logo

Comments (4)

ingenthr avatar ingenthr commented on June 16, 2024

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.

ingenthr avatar ingenthr commented on June 16, 2024

Appears to be not having a related credentials entry.

from couchbase-shell.

chvck avatar chvck commented on June 16, 2024

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.

daschl avatar daschl commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.