couchbase / couchbase/docker

json: cannot unmarshal array into Go value of type string

Open
#74 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
155
Forks
154
Avg merge
10h 45m
Merged PRs (30d)
2

Description

When I run docker-compose up i get the followin error

Unable to connect to Couchbase Server (connection refused). Please ensure it is running and reachable at the configured host and port. Detailed error: json: cannot unmarshal array into Go value of type string -- rest.RunServer() at config.go:758

docker-compose version 1.16.1, build 6d1ac21
Docker version 17.06.2-ce, build cec0b72

Any ideas?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with config.go:758 and the docker-compose setup used by the reporter; compare the Couchbase connection configuration with the JSON value expected there. Reproduce the failure with the reported Docker versions and identify the configuration change or documentation needed to eliminate the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, go
Domain
databases, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.