Skip to content

Bug: invalid character '<' across the CLI #1205

Closed

Description

@bpmct

OS Information

  • OS: MacOS 12 and Debian 11
  • Architecture:
  • coder --version:
➜  ~ coder --version
Coder v0.0.0-devel+947e8f9 Mon Apr 25 22:22:31 UTC 2022
https://github.com/coder/coder/commit/947e8f9d2e129890cc4bbea516b3c8aea56e725c

EDIT 1: I'm also running into this upon workspace creation

> Confirm create? (yes/no) yes
decode body: invalid character '<' looking for beginning of value

EDIT 2: this appears to be a regression. v0.43 works fine, but v0.4.4 and v0.5.0 does not

Steps to Reproduce

  1. Use a Coder deployment with no workspaces
  2. Run coder ws ls

Expected

Empty workspace message

Actual

➜  ~ coder ws ls
invalid character '<' looking for beginning of value

Screenshot

Screen Shot 2022-04-28 at 8 14 31 AM

Activity

  1. changed the title [-]Bug: invalid character '<' on coder ws ls [/-] [+]Bug: invalid character '<' across the CLI[/+] on Apr 28, 2022
  2. bpmct commented on Apr 29, 2022

    @bpmct
    MemberAuthor

    Chatted with Kyle. This may have been due to a client<->server version mismatch. I'll do some more digging

  3. added this to the Community MVP milestone on May 2, 2022
  4. modified the milestones: Community MVP, V2 Beta on May 4, 2022
  5. modified the milestones: V2 Beta, Community MVP on May 5, 2022
  6. tjcran commented on May 7, 2022

    @tjcran

    Removing from switch blocker until it can be confirmed as non-issue or reproduced consistently.

  7. removed this from the Community MVP milestone on May 7, 2022
  8. 8 remaining items

  9. coadler commented on May 16, 2022

    @coadler
    Contributor

    It should return nicer error messages since #1272, but the root of this problem was outdated API routes which are now fixed.

  10. modified the milestone: Community MVP on Jun 3, 2022
  11. removed this from the Community MVP milestone on Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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