Comments (4)
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:
- #134188117 UI using Windows (Chrome/Firefox) doesn't load job results.
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
from atc.
I am also experiencing this issue. I think I've narrowed it down somewhat.
First, some background: At my workplace, each machine is accessible as mycompany.<dev-name>
. I am running the local vagrant VM on my Windows 8.1 machine and forwarding port 8080 from guest to 8080 on host. I am using Vagrant 1.9.1 and VirtualBox 5.1.14.
I can GET both http://localhost:8080/teams/main/pipelines/hello-world/jobs/hello-world/builds/2 and http://mycompany.griffy:8080/teams/main/pipelines/hello-world/jobs/hello-world/builds/2 in my browsers (Chrome/Firefox) on Windows. I can also GET the relevant text/event-stream
directly at http://localhost:8080/api/v1/builds/2/events just fine. However, if I instead try to GET http://mycompany.griffy:8080/api/v1/builds/2/events, it will hang indefinitely.
To make things more interesting, my coworker who uses a Mac is able to GET http://mycompany.griffy:8080/api/v1/builds/2/events with no issues. The problem seems to happen solely on Windows browsers only when not accessing the event-stream via localhost.
Finally, there is one more interesting bit to all of this: If I ssh into the VM and kill -SIGINT
the concourse process while I have an ongoing request to http://mycompany.griffy:8080/api/v1/builds/2/events on my machine, it will stop hanging and return the expected response.
It's as if the interrupt is triggering some kind of flush, but where in the stack that flush is happening I'm not sure...
Examples of the problem in action:
from atc.
I have confirmed the behavior we are experiencing at my workplace is not a bug with atc
, but is instead a bug either with browsers on Windows or is the result of some system misconfiguration. Running the simple SSE server given in this SO answer demonstrates the same behavior: http://stackoverflow.com/a/26089932 . Namely, when accessing the page from localhost or 127.0.0.1, it works as expected, but when accessing it from a non-loopback address (IP or hostname), it hangs indefinitely. Notably, curl
is able to access all pages successfully. @skyscooby Can you confirm that you experience the same problem with this server?
For people who might come across this issue looking for solutions, what we ended up doing as a quick workaround was running a simple proxy server (https://github.com/nodejitsu/node-http-proxy) on our Windows boxes that proxies traffic from 127.0.0.1 to the concourse web server so that the browsers will see a loopback address and be "fooled" into working correctly.
If someone finds a better solution or is able to pinpoint the true issue, please let me know!
from atc.
Moved to concourse/concourse#1125
from atc.
Related Issues (20)
- is there support for custom base url path? HOT 4
- favicon retains green/red color after navigating back to pipeline in chrome HOT 2
- If the ATC crashes some locking might not get released HOT 12
- Input and output paths cannot be absolute HOT 2
- Usage of resource not detected HOT 3
- Default pipeline view should show all jobs when using groups HOT 4
- Job history refresh is very annoying and dates are wrong HOT 2
- Add X-Accel-Buffering header to SSE endpoints HOT 1
- ATC web ui no showing job information HOT 4
- ATC not setting necessary security related HTTP headers HOT 5
- Dragging the view around for a pipeline always goes to the job the drag started on HOT 2
- Error saying no workers satisfying: resource type 'docker-image', platform 'linux' HOT 2
- Building pulsing is buggy on concourse 2.5.1 HOT 6
- Legend doesn't render properly at some browser zoom levels HOT 1
- job name shouldn't be tied to the job history HOT 2
- Feature request: base path in CONCOURSE_EXTERNAL_URL HOT 1
- As a user I would like to run a task from the pipeline view HOT 2
- ATC Should have a healthcheck endpoint attached to it HOT 2
- Long resource versions cannot be saved into the database HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atc.