Skip to content

elm.js errors e.g. 'failed to get event: "I ran into a fail decoder: unknown event type: initialize-get"' #1940

Closed

Description

@21robin12

Bug report

  • Concourse version: 3.8.1

Various actions in the web UI result in elm.js errors. For example, visiting https://ci.concourse.ci/teams/main/pipelines/prs/jobs/fly/builds/4 results in the following:

failed to get event: "I ran into a `fail` decoder: unknown event type: initialize-get"
failed to get event: "I ran into a `fail` decoder: unknown event type: initialize-get"
failed to get event: "I ran into a `fail` decoder: unknown event type: initialize-get"
failed to get event: "I ran into a `fail` decoder: unknown event type: initialize-get"
failed to get event: "I ran into a `fail` decoder: unknown event type: initialize-get"

I'm also running my own Concourse instance (through Kubernetes) and I've added the hello-world pipeline from https://concourse.ci/hello-world.html. When visiting build 1 (which I aborted) I receive the following in the JS console, and the build doesn't open (it gets stuck at loading...):

failed to get event: "I ran into a `fail` decoder: unknown event type: initialize-task"
failed to fetch plan: BadPayload "I ran into the following problems at _.plan:\n\nExpecting an object with a field named `task` but instead got: {}\nExpecting an object with a field named `get` but instead got: {}\nExpecting an object with a field named `put` but instead got: {}\nExpecting an object with a field named `dependent_get` but instead got: {}\nExpecting an object with a field named `aggregate` but instead got: {}\nExpecting an object with a field named `do` but instead got: {}\nExpecting an object with a field named `on_success` but instead got: {}\nExpecting an object with a field named `on_failure` but instead got: {}\nExpecting an object with a field named `ensure` but instead got: {}\nExpecting an object with a field named `try` but instead got: {}\nExpecting an object with a field named `retry` but instead got: {}\nExpecting an object with a field named `timeout` but instead got: {}" { status = { code = 200, message = "OK" }, headers = Dict.fromList [("Content-Length","24"),("Content-Type","text/plain; charset=utf-8"),("Date","Tue, 09 Jan 2018 13:34:01 GMT"),("X-Concourse-Version","3.5.0"),("X-Content-Type-Options","nosniff"),("X-Download-Options","noopen"),("X-Xss-Protection","1; mode=block")], url = "http://localhost:8080/api/v1/builds/1/plan", body = "{\"schema\":\"\",\"plan\":{}}\n" }

image

Activity

  1. changed the title [-]elm.js errors e.g. 'failed to get event: "I ran into a `fail` decoder: unknown event type: initialize-put"'[/-] [+]elm.js errors e.g. 'failed to get event: "I ran into a `fail` decoder: unknown event type: initialize-get"'[/+] on Jan 9, 2018
  2. stale commented on Jul 16, 2019

    @stale

    Beep boop! This issue has been idle for long enough that it's time to check
    in and see if it's still important.

    If it is, what is blocking it? Would anyone be interested in submitting a
    PR
    or
    continuing the discussion to help move things forward?

    If no activity is observed within the next week, this issue will be
    exterminated closed, in accordance with our stale issue
    process
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions