Skip to content

Build UI task output never stops loading #781

Closed

Description

@erikatniche
  • Concourse version: v2.4.0
  • Deployment type: binaries on Ubuntu 14.04; 2 worker machines, 1 machine with web/worker/postgres
  • OS: Windows 7
  • Browser: Chrome Version 54.0.2840.99 m

Job/task output never loads in the build UI. The loading indicator spins forever:
image

Directly requesting the events URL (http://devvm-concourse:8080/api/v1/builds/718/events, for example) also hangs forever.

If I shut down the ATC process, the event stream flushes and the output shows up as expected.

Activity

  1. concourse-bot commented on Nov 16, 2016

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #134465341 Build UI task output never stops loading

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. changed the title [-][v2.4.0] Windows 7/Chrome ► Build UI task output never stops loading[/-] [+]Build UI task output never stops loading[/+] on Nov 29, 2016
  3. vito commented on Nov 29, 2016

    @vito
    Contributor

    If you've got a reverse-proxy, make sure it's not buffering the response.

  4. erikatniche commented on Nov 29, 2016

    @erikatniche
    Author

    There is no reverse proxy. We access Concourse directly through the ATC's port 8080.

  5. darthlukan commented on Nov 30, 2016

    @darthlukan

    We're also seeing this behavior:

    Concourse version: 2.5.0
    Deployment type: Docker on AWS using the provided docker-compose.yml
    OS: Linux (Ubuntu 16.04.1 LTS AMI)
    Browser: Chrome 54.0.2840.100 (64-bit)

    While the task is running, if I repeatedly refresh the job page, I might get some output, but once it completes, it goes right back to loading. Trying to view the output of previously completed jobs results in the same behavior: Infinite loading indicator just as is display in the OP.

  6. johnrengelman commented on Dec 1, 2016

    @johnrengelman

    I'm also experiencing this issue but my concourse-web server is behind an AWS ELB.
    hitting the /events endpoint directly, returns output, it's just never rendered on the page.
    Chrome will eventually report a net::ERR_INCOMPLETE_CHUNKED_ENCODING error as well.

  7. johnrengelman commented on Dec 1, 2016

    @johnrengelman

    My issue was related to another LB int he chain (Traefik). Removing that and it works fine.

  8. darthlukan commented on Dec 14, 2016

    @darthlukan

    I just updated to Concourse 2.5.1 and this issue is not present (I can go back in the UI and see the output from previous builds as well!). It does not get stuck at "Loading", instead I see what I expect: Output from the build.

  9. erikatniche commented on Dec 14, 2016

    @erikatniche
    Author

    I'm still seeing improper behaviour. Changes from original bug filing:
    Concourse: v2.5.1
    Chrome: 55.0.2883.87 m

  10. mastercactapus commented on Feb 14, 2017

    @mastercactapus

    Seeing this in 2.7.0, for some jobs, not others

    In the console:

    failed to fetch plan: UnexpectedPayload "Expecting an object at _.inputs[0].version but instead got: null"
    
  11. mastercactapus commented on Feb 16, 2017

    @mastercactapus

    @erikatniche do you have any resources (probably output-only) that output something like echo "{}"?

    I found that the versioned_resources table had values where version='null' that caused issue. Removing those entries allowed those builds to load in my case.

    I updated the resource types' /opt/resource/in to jq "{version: .version}" (pass-through version) and so far smooth sailing. At least until a proper fix can be pushed out.

  12. 36 remaining items

  13. ti-mo commented on May 5, 2017

    @ti-mo

    Hi, also facing the same issue:

    failed to fetch plan: BadPayload "Expecting an object at _.inputs[3].version but instead got: null"
    

    Concourse 2.7.4

    I assume this is a problem with a custom resource type we're running; any idea how this can be fixed systematically?

  14. ti-mo commented on May 8, 2017

    @ti-mo

    I've been able to track down our instance of this error to a misbehaving custom resource type we were using.

    In in, it has: echo '{}' >&3. This is returned by the job status endpoint as:

    {
      "inputs": [
        {
          ...
          "version":null,
        }
    }
    

    We've made a small change to this echo statement in the in script of this resource and turned it into echo '{"version":{"ref":"none"}}', like the Slack notification resource does.

    This solved the problem for us!

  15. derBroBro commented on May 25, 2017

    @derBroBro

    I had the same issue and for me the AntiVirus (sophos) blocked the /events url. Other concourse urls where not affected.

  16. chendrix commented on Jun 6, 2017

    @chendrix
    Contributor

    I'm inclined to close this because I see 1) improper behavior from custom resource types, and 2) issues with external software

  17. loafoe commented on Feb 5, 2018

    @loafoe

    For anyone who has Sophos installed, turning OFF the "Block malicious downloads from websites.." option in the Web Filtering section fixes the issue

    Alternative fix: Serve Concourse Web on HTTPS (TLS)

    screen shot 2018-02-05 at 20 05 17

  18. oversize commented on Oct 16, 2019

    @oversize

    i know this one is dead, but it just took me a good hour to understand that i not only have to unpause the pipeline but also then trigger the job. Ok, i should have read more docs ... but since i was seeing the "loading.." as well i was expceting "something" to happen. If a job is not running id suggest to say so and not show the "loading circle thing" ... imho :D

  19. vito commented on Oct 16, 2019

    @vito
    Contributor

    @oversize Sounds like #4493 - we're fixing it! 👍

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions