Skip to content

Unexpected end of JSON input #17

@HoseinGhanbari

Description

@HoseinGhanbari

Hello !
I get the following error when trying to docker-compose up
Host OS: Windows 10 Enterprise
Docker Linux Container

> docker version

Client:
 Version:      17.06.2-ce
 API version:  1.30
 Go version:   go1.8.3
 Git commit:   cec0b72
 Built:        Tue Sep  5 19:57:19 2017
 OS/Arch:      windows/amd64

Server:
 Version:      17.06.2-ce
 API version:  1.30 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   cec0b72
 Built:        Tue Sep  5 19:59:19 2017
 OS/Arch:      linux/amd64
 Experimental: true
> docker images -a

REPOSITORY              TAG                 IMAGE ID            CREATED             SIZE
nginx                   latest              66216d141be6        2 days ago          108MB
mongo                   3.4                 917819fa18fd        2 days ago          359MB
cloudboost/cloudboost   latest              289a51bf4b69        2 days ago          826MB
ubuntu                  latest              ccc7a11d65b1        4 weeks ago         120MB
redis                   3.0                 c44fa74ead88        2 months ago        91.6MB
hello-world             latest              1815c82652c0        2 months ago        1.84kB
Cluster Key : 3439b923-9fa4-440a-8563-9ddf34a16b44
Secure Key : 0c10fa9b-1fb2-4dc9-9a14-c7189072a9e8
Registering Cluster...
Cluster registration failed.
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Request._callback (/usr/src/app/services/server.js:84:31)
    at Request.self.callback (/usr/src/app/node_modules/request/request.js:188:22)
    at emitTwo (events.js:125:13)
    at Request.emit (events.js:213:7)
    at Request.<anonymous> (/usr/src/app/node_modules/request/request.js:1171:10)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
    at IncomingMessage.<anonymous> (/usr/src/app/node_modules/request/request.js:1091:12)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:110:20)
    at IncomingMessage.emit (events.js:207:7)
    at endReadableNT (_stream_readable.js:1045:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions