You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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
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.
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.
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.
@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.
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.
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
Activity
concourse-bot commentedon Nov 16, 2016
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:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
[-][v2.4.0] Windows 7/Chrome ► Build UI task output never stops loading[/-][+]Build UI task output never stops loading[/+]vito commentedon Nov 29, 2016
If you've got a reverse-proxy, make sure it's not buffering the response.
erikatniche commentedon Nov 29, 2016
There is no reverse proxy. We access Concourse directly through the ATC's port 8080.
darthlukan commentedon Nov 30, 2016
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.
johnrengelman commentedon Dec 1, 2016
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_ENCODINGerror as well.johnrengelman commentedon Dec 1, 2016
My issue was related to another LB int he chain (Traefik). Removing that and it works fine.
darthlukan commentedon Dec 14, 2016
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.
erikatniche commentedon Dec 14, 2016
I'm still seeing improper behaviour. Changes from original bug filing:
Concourse: v2.5.1
Chrome: 55.0.2883.87 m
mastercactapus commentedon Feb 14, 2017
Seeing this in 2.7.0, for some jobs, not others
In the console:
mastercactapus commentedon Feb 16, 2017
@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.36 remaining items
ti-mo commentedon May 5, 2017
Hi, also facing the same issue:
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?
ti-mo commentedon May 8, 2017
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:We've made a small change to this
echostatement in theinscript of this resource and turned it intoecho '{"version":{"ref":"none"}}', like the Slack notification resource does.This solved the problem for us!
derBroBro commentedon May 25, 2017
I had the same issue and for me the AntiVirus (sophos) blocked the /events url. Other concourse urls where not affected.
chendrix commentedon Jun 6, 2017
I'm inclined to close this because I see 1) improper behavior from custom resource types, and 2) issues with external software
loafoe commentedon Feb 5, 2018
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)
https://github.com/concourse/concourse/issues/781#issuecomment-299859799
gunta commentedon Apr 4, 2019
This looks like the root cause. https://community.sophos.com/products/free-antivirus-tools-for-desktops/f/sophos-anti-virus-for-mac-home-edition/5750/sophos-av-blocks-server-sent-events-sse-on-mac-os-x-yosemite
oversize commentedon Oct 16, 2019
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
vito commentedon Oct 16, 2019
@oversize Sounds like #4493 - we're fixing it! 👍
web: behaviour: add dynamical-expand textarea