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
Copy file name to clipboardExpand all lines: src/pages/docs/argo-cd/instances/index.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,14 @@ The [Kubernetes agent](/docs/kubernetes/targets/kubernetes-agent) and the [Kuber
33
33
34
34
The gateway makes three outgoing connections. Before installing, make sure all of them are reachable from inside your cluster:
35
35
36
-
|The gateway must reach | How|
37
-
| --- | --- |
38
-
| Octopus Server REST API | HTTPS, port`443`|
39
-
| Octopus Server gRPC endpoint | gRPC (HTTP/2), port`8443` by default |
40
-
| Argo CD API server |In-cluster gRPC, e.g. `<servicename>.<namespace>.svc.cluster.local`|
36
+
|Destination | Protocol | Port|
37
+
| --- | --- | --- |
38
+
| Octopus Server REST API | HTTPS|`443`|
39
+
| Octopus Server gRPC endpoint | gRPC (HTTP/2)|`8443` by default |
40
+
| Argo CD API server |gRPC (in-cluster) | Argo CD service port|
41
41
42
42
:::div{.warning}
43
-
If your Octopus Server sits behind a load balancer, proxy, or firewall, make sure the gRPC port (`8443` by default) is forwarded to Octopus Server and the proxy supports HTTP/2. Forwarding only HTTPS (`443`) is a common cause of installation failure, where the gateway registers successfully but never connects. See [Troubleshooting](/docs/argo-cd/troubleshooting#argo-cd-gateway-registers-but-fails-to-connect-to-octopus-server) for details.
43
+
If your Octopus Server sits behind a load balancer, proxy, or firewall, make sure the gRPC port (`8443` by default) is forwarded to Octopus Server and the proxy supports HTTP/2. Forwarding only HTTPS (`443`) is a common cause of installation failure, where the gateway registers successfully but never connects. See [Troubleshooting](/docs/argo-cd/troubleshooting#failed-to-connect-to-octopus) for details.
By setting `gateway.argocd.plaintext="true"`, all traffic between the gateway and Argo CD will be unencrypted. Make sure this configuration is necessary to avoid potential security issues.
- The gateway installs and connects successfully, but loses its connection to Octopus Server after every quiet period of the same length (e.g. 60 seconds without activity)
174
+
- Deployments with Argo CD steps fail intermittently with gRPC connection errors, and succeed when retried
175
+
- The "Gateway connectivity" tab of the Argo CD instance intermittently shows "Unavailable", depending on when the last health check ran
176
+
- The gateway pod logs show stream errors followed by an immediate reconnection
177
+
- If the load balancer drops connections silently instead of closing them, the logs show failing keep alives (`keep alive check failed - cancelling subscribers` with `DeadlineExceeded` errors) and the gateway pod restart count climbs at a regular cadence
178
+
179
+
Cause:
180
+
181
+
- A load balancer or proxy between the gateway and Octopus Server closes connections it considers idle
182
+
- The gateway sends a keep alive to Octopus Server every 30 seconds by default to hold the connection open. If the load balancer's idle timeout is shorter than the keep alive interval (or keep alives are disabled), the connection is terminated before the next keep alive is sent
183
+
184
+
Resolution:
185
+
186
+
- Increase the idle timeout on your load balancer so it comfortably exceeds the keep alive interval (`gateway.octopus.keepAlive.intervalSeconds`, default 30 seconds)
187
+
- Alternatively, reduce the keep alive interval below the load balancer's idle timeout:
0 commit comments