Skip to content

Instantly share code, notes, and snippets.

@jvshahid
Created December 12, 2017 01:02
Show Gist options
  • Save jvshahid/a4541bdccb954fd03bda7e1231d289e8 to your computer and use it in GitHub Desktop.
Save jvshahid/a4541bdccb954fd03bda7e1231d289e8 to your computer and use it in GitHub Desktop.
envoy lds v1 error
[2017-12-12 00:41:22.151][56][debug][upstream] source/server/lds_subscription.cc:43] lds: parsing response
[2017-12-12 00:41:22.152][56][debug][misc] source/common/protobuf/utility.cc:21] Proto validation error; throwing Proto constraint validation failed (ListenerValidationError.FilterChains[i]: ["embedded message failed validation"] | caused by FilterChainValidationError.TlsC\
ontext: ["embedded message failed validation"] | caused by DownstreamTlsContextValidationError.CommonTlsContext: ["embedded message failed validation"] | caused by CommonTlsContextValidationError.ValidationContext: ["embedded message failed validation"] | caused by Certifi\
cateValidationContextValidationError.TrustedCa: ["embedded message failed validation"] | caused by DataSourceValidationError.Filename: ["value length must be at least " '\x01' " bytes"]): name: "listener-8080"
address {
socket_address {
address: "0.0.0.0"
port_value: 61001
}
}
filter_chains {
tls_context {
common_tls_context {
tls_params {
cipher_suites: "[ECDHE-RSA-AES256-GCM-SHA384|ECDHE-RSA-AES128-GCM-SHA256]"
}
tls_certificates {
certificate_chain {
filename: "/etc/cf-instance-credentials/instance.crt"
}
private_key {
filename: "/etc/cf-instance-credentials/instance.key"
}
}
validation_context {
trusted_ca {
filename: ""
}
}
deprecated_v1 {
}
}
}
filters {
name: "envoy.tcp_proxy"
config {
fields {
key: "deprecated_v1"
value {
bool_value: true
}
}
fields {
key: "value"
value {
struct_value {
fields {
key: "route_config"
value {
struct_value {
fields {
key: "routes"
value {
list_value {
values {
struct_value {
fields {
key: "cluster"
value {
string_value: "0-service-cluster"
}
}
}
}
}
}
}
}
}
}
fields {
key: "stat_prefix"
value {
string_value: "ingress_tcp-9534127d-306e-49b5-5158-9688cf1cd33b"
}
}
}
}
}
}
deprecated_v1 {
type: "read"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment