-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streaming does not appear to work properly with ALB #2026
Comments
we're experiencing the same issue... atlantis does give us some logs:
I'm not sure what to make of them though. Hope this helps, cause the devs will be stoked to have this feature working. |
I see the same issue in AKS with the AKS LB and an Azure App Gateway. |
See the same here. With ALB in front of EC2. |
Same here. EKS + ELB + Traefik |
got the same issue with ALB + ECS in AWS. |
Same issue but when accessing directly a cloud VM. via |
anything about this? and after 60 sec I get this (which is the timeout on the LB):
|
Same here, we use custom workflows. Issue persist with and without proxies (i.e. with k8s port-forward issue is the same). |
is this still happening with |
@jamengual not for us :( |
@jamengual yes this is still an issue with |
ok, we will look into this. |
In our case this was not the AWS ALB but instead it was the nginx sidecar container we have running alongside atlantis in ECS Fargate. Adding the following settings in nginx.conf resolved the issue for us.
|
@jamengual I have this working successfully with ALB & ECS and custom workflows, no additional config needed. |
did you do any specific alb configs?
do you have tf code you can show that could help people looking at this
issue?
…On Tue, Aug 30, 2022, 8:24 a.m. Evan Stachowiak ***@***.***> wrote:
@jamengual <https://github.com/jamengual> I have this working
successfully with ALB & ECS and custom workflows, no additional config
needed.
—
Reply to this email directly, view it on GitHub
<#2026 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ3ERHYL5D3D5DEM3EM56LV3YRSBANCNFSM5NBKS5MQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@evanstachowiak any specific configuration? We still fail to have it working properly. |
Same here, External HTTPS Load Balancer and VM on GCP. |
I bet it's something to do with the configuration of the load balancer. I have it working on a load balancer in AWS. Is stickiness enabled on the load balancer? https://stackoverflow.com/a/40423241/2965993 Has anyone contacted aws or gcp support to figure out what the issue could be? |
I have deployed about 10+ Atlantis servers in aws using ALBs and never had a problem with the log streaming. some people have reported corporate firewall denying connection, bad configuration in the LBs, antivirus firewalls could cause issues, but that is not on the Atlantis side. |
It probably isn't related to Atlantis, but I do think that if this many people run into this we need to sort out what that common pitfall is and document it properly in the Deployment section. |
Just an update from my side, per the given error it appears that I was running an old version of atlantis v0.18.2 |
That's great @mcrivar! Thank you for sharing. For all others who are running into issues, could you folks use the latest version and confirm if the issue is still present? cc @askmike1 @s33dunda @MattMencel @davidh-unmind @gmontanola @pantelis-karamolegkos @adutchak @spamoom |
This was 100% to do with websockets for me. Once I configured websockets on my LB/Ingress it started working. See #2216 |
Running version 0.22.3, this is still happening in GCP, running in a VM. |
@bschaatsbergen do you see the gcp web socket issue using your gce Atlantis module? https://github.com/bschaatsbergen/terraform-gce-atlantis |
@nitrocode I found out the issue for Google Cloud users, when using Identity Aware Proxy (to protect the Atlantis UI) websockets are not supported.. the bearer authorization header is stripped off. |
Ah that's good to know. Thank you for closing the loop on that. Is this relevant for that ? I wonder if other people in this thread are running into similar issues where something that fronts atlantis is manipulating the bearer authorization header which leads to the websocket failure. |
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month.' |
@bschaatsbergen I'm seeing something similar where the "live plan" view via the console UI has strange behavior where sometimes the full plan doesn't display (especially for larger plans). I used your terraform module for GCE setup. Any ideas for a workaround? Could I put nginx in front of the atlantis docker container to deal with the authorization header issue? |
Community Note
Overview of the Issue
When performing a plan or apply, the link that is given to view the live stream doesn't appear to run anything, just a blank black box.
(looks like similar issues posted in the original PR - #1937)
Atlantis Version: 0.18.2
If the streaming window is already open, it will print out
-----Starting New Process-----
, but that is allBased on the logs, it is getting a broken pipe possibly because an ALB is being used?
Reproduction Steps
Run an atlantis plan or apply
Go to streaming url
[No input]
Logs
Environment details
Atlantis: 0.18.2
Additional Context
We are running Atlantis as a single Docker container on an AWS ECS cluster with an ALB in front of it
The text was updated successfully, but these errors were encountered: