Closed splawik21 closed 1 month ago
Adding "dashmate config set platform.gateway.admin.enabled true" solves the issue.
That was a workaround for the current version. Here is an actual fix https://github.com/dashpay/platform/pull/2132
Actually this is wrong. Cluster looks at admin so it won't work until admin is enabled. So yes, the only solution is enable admin and I would prefer if a user does it explicitly.
Logs....
[2024-09-16 12:45:32.137][6][info][main] [source/server/server.cc:432] envoy.http.header_validators: envoy.http.header_validators.envoy_default [2024-09-16 12:45:32.137][6][info][main] [source/server/server.cc:432] envoy.quic.connection_id_generator: envoy.quic.deterministic_connection_id_generator [2024-09-16 12:45:32.137][6][info][main] [source/server/server.cc:432] envoy.http.early_header_mutation: envoy.http.early_header_mutation.header_mutation [2024-09-16 12:45:32.137][6][info][main] [source/server/server.cc:432] envoy.retry_priorities: envoy.retry_priorities.previous_priorities [2024-09-16 12:45:32.137][6][info][main] [source/server/server.cc:432] envoy.regex_engines: envoy.regex_engines.google_re2 [2024-09-16 12:45:32.148][6][info][main] [source/server/server.cc:486] HTTP header map info: [2024-09-16 12:45:32.149][6][info][main] [source/server/server.cc:489] request header map: 664 bytes: :authority,:method,:path,:protocol,:scheme,accept,accept-encoding,access-control-request-headers,access-control-request-method,access-control-request-private-network,authentication,authorization,cache-control,cdn-loop,connection,content-encoding,content-length,content-type,expect,grpc-accept-encoding,grpc-timeout,if-match,if-modified-since,if-none-match,if-range,if-unmodified-since,keep-alive,origin,pragma,proxy-connection,proxy-status,referer,te,transfer-encoding,upgrade,user-agent,via,x-client-trace-id,x-envoy-attempt-count,x-envoy-decorator-operation,x-envoy-downstream-service-cluster,x-envoy-downstream-service-node,x-envoy-expected-rq-timeout-ms,x-envoy-external-address,x-envoy-force-trace,x-envoy-hedge-on-per-try-timeout,x-envoy-internal,x-envoy-ip-tags,x-envoy-is-timeout-retry,x-envoy-max-retries,x-envoy-original-path,x-envoy-original-url,x-envoy-retriable-header-names,x-envoy-retriable-status-codes,x-envoy-retry-grpc-on,x-envoy-retry-on,x-envoy-upstream-alt-stat-name,x-envoy-upstream-rq-per-try-timeout-ms,x-envoy-upstream-rq-timeout-alt-response,x-envoy-upstream-rq-timeout-ms,x-envoy-upstream-stream-duration-ms,x-forwarded-client-cert,x-forwarded-for,x-forwarded-host,x-forwarded-port,x-forwarded-proto,x-ot-span-context,x-request-id [2024-09-16 12:45:32.149][6][info][main] [source/server/server.cc:489] request trailer map: 120 bytes: [2024-09-16 12:45:32.149][6][info][main] [source/server/server.cc:489] response header map: 432 bytes: :status,access-control-allow-credentials,access-control-allow-headers,access-control-allow-methods,access-control-allow-origin,access-control-allow-private-network,access-control-expose-headers,access-control-max-age,age,cache-control,connection,content-encoding,content-length,content-type,date,etag,expires,grpc-message,grpc-status,keep-alive,last-modified,location,proxy-connection,proxy-status,server,transfer-encoding,upgrade,vary,via,x-envoy-attempt-count,x-envoy-decorator-operation,x-envoy-degraded,x-envoy-immediate-health-check-fail,x-envoy-ratelimited,x-envoy-upstream-canary,x-envoy-upstream-healthchecked-cluster,x-envoy-upstream-service-time,x-request-id [2024-09-16 12:45:32.149][6][info][main] [source/server/server.cc:489] response trailer map: 144 bytes: grpc-message,grpc-status [2024-09-16 12:45:32.160][6][info][main] [source/server/server.cc:861] runtime: {} [2024-09-16 12:45:32.160][6][info][main] [source/server/server.cc:721] No admin address given, so no admin HTTP server started. [2024-09-16 12:45:32.160][6][info][config] [source/server/configuration_impl.cc:168] loading tracing configuration [2024-09-16 12:45:32.160][6][info][config] [source/server/configuration_impl.cc:124] loading 0 static secret(s) [2024-09-16 12:45:32.160][6][info][config] [source/server/configuration_impl.cc:130] loading 5 cluster(s) [2024-09-16 12:45:32.165][6][info][config] [source/server/configuration_impl.cc:138] loading 2 listener(s) [2024-09-16 12:45:32.183][6][info][config] [source/server/configuration_impl.cc:168] loading tracing configuration [2024-09-16 12:45:32.183][6][info][config] [source/server/configuration_impl.cc:124] loading 0 static secret(s) [2024-09-16 12:45:32.183][6][info][config] [source/server/configuration_impl.cc:130] loading 5 cluster(s) [2024-09-16 12:45:32.192][6][info][config] [source/server/configuration_impl.cc:138] loading 2 listener(s) [2024-09-16 12:45:32.195][6][critical][main] [source/server/server.cc:414] error initializing config ' /etc/envoy/envoy.yaml': route: unknown cluster 'admin' [2024-09-16 12:45:32.196][6][info][main] [source/server/server.cc:1029] exiting