Teleport cluster ingress 502 #44063
-
Hi there so I have managed to get teleport cluster up, but now when I want to use ingress I get a Bad Gateway 502. In the proxy logs I get next message:
Here is my teleport.yaml: apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: teleport
namespace: sx-x
spec:
serviceAccountName: sx-x
targetNamespace: sx-x
releaseName: teleport
install:
crds: Skip
chart:
spec:
chart: ./examples/chart/teleport-cluster
sourceRef:
kind: GitRepository
name: teleport-helm
interval: 10m
values:
chartMode: standalone
clusterName: teleport.dev.example.net
installCRDs: false
auth:
teleportConfig:
# put any teleport.yaml auth configuration overrides here
teleport:
log:
output: stderr
severity: DEBUG
auth_service:
enabled: true
web_idle_timeout: 1h
authentication:
locking_mode: best_effort
proxy:
teleportConfig:
# put any teleport.yaml proxy configuration overrides here
teleport:
log:
output: stderr
severity: DEBUG
proxy_service:
public_addr: teleport.dev.example.net:443
https_keypairs_reload_interval: 0s #12h
https_keypairs: []
#- cert_file: /etc/teleport/ssl/tls.crt
# key_file: /etc/teleport/ssl/tls.key
operator:
enabled: false
installCRDs: never
rbac:
create: false
log:
level: DEBUG
proxyListenerMode: "multiplex"
# serviceAccount:
# create: false
# name: solve-x
tls:
existingSecretName: wildcard-dev-example-net-tls
service:
type: ClusterIP
ingress:
enabled: true
suppressAutomaticWildcards: true
spec:
ingressClassName: nginx
annotations:
ingress:
nginx.ingress.kubernetes.io/proxy-buffer-size: 512k
nginx.ingress.kubernetes.io/proxy-buffering: 'on'
nginx.ingress.kubernetes.io/proxy-buffers-number: '4'
# If you are running Kubernetes 1.23 or above, disable PodSecurityPolicies
podSecurityPolicy:
enabled: false
How could I solve this isse? Thank you for your help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Take a look at https://goteleport.com/docs/management/admin/troubleshooting/#ssh-overflow-reading-version-string-andor-502-bad-gateway-errors annotations:
ingress:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" This also appears if you search "502 Bad Gateway" in our docs :) |
Beta Was this translation helpful? Give feedback.
Take a look at https://goteleport.com/docs/management/admin/troubleshooting/#ssh-overflow-reading-version-string-andor-502-bad-gateway-errors
This also appears if you search "502 Bad Gateway" in our docs :)