new abra install json error #406

Closed
opened 2023-02-11 14:55:15 +00:00 by codegod100 · 6 comments
Member
vera@zenbook:~$ abra server ls --debug
FATA[0000] unexpected end of JSON input                  caller="/drone/src/cli/server/list.go:27 glob..func2" stack="/drone/src/cli/server/list.go:27                         glob..func2\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524     HandleAction\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:405     (*App).RunAsSubcommand\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:378 Command.startApp\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:102 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277     (*App).Run\n/drone/src/cli/cli.go:199                                RunApp\n/drone/src/cmd/abra/main.go:22                           main\n/usr/local/go/src/runtime/proc.go:250                    main\n/usr/local/go/src/runtime/asm_amd64.s:1594               goexit"
``` vera@zenbook:~$ abra server ls --debug FATA[0000] unexpected end of JSON input caller="/drone/src/cli/server/list.go:27 glob..func2" stack="/drone/src/cli/server/list.go:27 glob..func2\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524 HandleAction\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:405 (*App).RunAsSubcommand\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:378 Command.startApp\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:102 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277 (*App).Run\n/drone/src/cli/cli.go:199 RunApp\n/drone/src/cmd/abra/main.go:22 main\n/usr/local/go/src/runtime/proc.go:250 main\n/usr/local/go/src/runtime/asm_amd64.s:1594 goexit" ```
codegod100 added the
bug
label 2023-02-11 14:55:15 +00:00
Author
Member

This might be due to using windows WSL as my localhost. Running WSL Ubuntu fyi. I ran from the Docker client and didn't get this error. Not sure if red herring or if useful information

This might be due to using windows WSL as my localhost. Running WSL Ubuntu fyi. I ran from the Docker client and didn't get this error. Not sure if red herring or if useful information
Owner

Hey @codegod100, not seen that one before! Unsure myself what could be the cause of this. Does docker context ls work for you? I have no experience with WSL, so not sure I can help much if that is part of the cause.

Hey @codegod100, not seen that one before! Unsure myself what could be the cause of this. Does `docker context ls` work for you? I have no experience with WSL, so not sure I can help much if that is part of the cause.
Author
Member
vera@zenbook:~$ docker context ls
unexpected end of JSON input

I think we found the problem 👍

``` vera@zenbook:~$ docker context ls unexpected end of JSON input ``` I think we found the problem 👍
Author
Member

Looks like an open issue on docker's end https://github.com/docker/for-win/issues/13180

Looks like an open issue on docker's end https://github.com/docker/for-win/issues/13180
decentral1se referenced this issue from a commit 2023-02-12 12:28:57 +00:00
Owner

Thanks for following up @codegod100, I've patched docs over in 9a62aaabae to hopefully help others if they run into this.

Thanks for following up @codegod100, I've patched docs over in https://git.coopcloud.tech/coop-cloud/docs.coopcloud.tech/commit/9a62aaabaecc5316ff6856c771126d18681d7651 to hopefully help others if they run into this.

I am using

  • WSL version: 2.0.9.0 and
  • Docker Desktop 4.25.1

and do not seem to have this issue, meaning that I can successfully execute abra server ls --debug

The folks over at https://github.com/docker/for-win/issues/13180 also claim to have merged the fix in Docker 4.17.

I am using - WSL version: 2.0.9.0 and - Docker Desktop 4.25.1 and do not seem to have this issue, meaning that I can successfully execute `abra server ls --debug` The folks over at https://github.com/docker/for-win/issues/13180 also claim to have merged the fix in Docker 4.17.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#406
No description provided.