envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
24.95k stars 4.8k forks source link

Error executing envoy-static #11684

Closed Ccaomei closed 4 years ago

Ccaomei commented 4 years ago

Hi, everybody. I compiled the executable called Envoy static on my own, but it got an error and the error is as follows: [2020-06-22 18:10:19.947][17024][info][main] [source/server/server.cc:255] initializing epoch 0 (hot restart version=11.104) [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:257] statically linked extensions: [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.health_checkers: envoy.health_checkers.redis [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.tracers: envoy.dynamic.ot, envoy.lightstep, envoy.tracers.datadog, envoy.tracers.dynamic_ot, envoy.tracers.lightstep, envoy.tracers.opencensus, envoy.tracers.xray, envoy.tracers.zipkin, envoy.zipkin [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] http_cache_factory: envoy.extensions.http.cache.simple [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.udp_listeners: raw_udp_listener [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.access_loggers: envoy.access_loggers.file, envoy.access_loggers.http_grpc, envoy.access_loggers.tcp_grpc, envoy.file_access_log, envoy.http_grpc_access_log, envoy.tcp_grpc_access_log [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.retry_priorities: envoy.retry_priorities.previous_priorities [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.dubbo_proxy.route_matchers: default [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.stats_sinks: envoy.dog_statsd, envoy.metrics_service, envoy.stat_sinks.dog_statsd, envoy.stat_sinks.hystrix, envoy.stat_sinks.metrics_service, envoy.stat_sinks.statsd, envoy.statsd [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.dubbo_proxy.protocols: dubbo [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.filters.network: envoy.client_ssl_auth, envoy.echo, envoy.ext_authz, envoy.filters.network.client_ssl_auth, envoy.filters.network.direct_response, envoy.filters.network.dubbo_proxy, envoy.filters.network.echo, envoy.filters.network.ext_authz, envoy.filters.network.http_connection_manager, envoy.filters.network.kafka_broker, envoy.filters.network.local_ratelimit, envoy.filters.network.mongo_proxy, envoy.filters.network.mysql_proxy, envoy.filters.network.ratelimit, envoy.filters.network.rbac, envoy.filters.network.redis_proxy, envoy.filters.network.sni_cluster, envoy.filters.network.tcp_proxy, envoy.filters.network.thrift_proxy, envoy.filters.network.zookeeper_proxy, envoy.http_connection_manager, envoy.mongo_proxy, envoy.ratelimit, envoy.redis_proxy, envoy.tcp_proxy [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.dubbo_proxy.serializers: dubbo.hessian2 [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.filters.listener: envoy.filters.listener.http_inspector, envoy.filters.listener.original_dst, envoy.filters.listener.original_src, envoy.filters.listener.proxy_protocol, envoy.filters.listener.tls_inspector, envoy.listener.http_inspector, envoy.listener.original_dst, envoy.listener.original_src, envoy.listener.proxy_protocol, envoy.listener.tls_inspector [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.thrift_proxy.protocols: auto, binary, binary/non-strict, compact, twitter [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.filters.http: envoy.buffer, envoy.cors, envoy.csrf, envoy.ext_authz, envoy.fault, envoy.filters.http.adaptive_concurrency, envoy.filters.http.aws_lambda, envoy.filters.http.aws_request_signing, envoy.filters.http.buffer, envoy.filters.http.cache, envoy.filters.http.cors, envoy.filters.http.csrf, envoy.filters.http.dynamic_forward_proxy, envoy.filters.http.dynamo, envoy.filters.http.ext_authz, envoy.filters.http.fault, envoy.filters.http.grpc_http1_bridge, envoy.filters.http.grpc_http1_reverse_bridge, envoy.filters.http.grpc_json_transcoder, envoy.filters.http.grpc_stats, envoy.filters.http.grpc_web, envoy.filters.http.gzip, envoy.filters.http.header_to_metadata, envoy.filters.http.health_check, envoy.filters.http.ip_tagging, envoy.filters.http.jwt_authn, envoy.filters.http.lua, envoy.filters.http.on_demand, envoy.filters.http.original_src, envoy.filters.http.ratelimit, envoy.filters.http.rbac, envoy.filters.http.router, envoy.filters.http.squash, envoy.filters.http.tap, envoy.grpc_http1_bridge, envoy.grpc_json_transcoder, envoy.grpc_web, envoy.gzip, envoy.health_check, envoy.http_dynamo_filter, envoy.ip_tagging, envoy.lua, envoy.rate_limit, envoy.router, envoy.squash [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.transport_sockets.upstream: envoy.transport_sockets.alts, envoy.transport_sockets.raw_buffer, envoy.transport_sockets.tap, envoy.transport_sockets.tls, raw_buffer, tls [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.grpc_credentials: envoy.grpc_credentials.aws_iam, envoy.grpc_credentials.default, envoy.grpc_credentials.file_based_metadata [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.resource_monitors: envoy.resource_monitors.fixed_heap, envoy.resource_monitors.injected_resource [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.resolvers: envoy.ip [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.thrift_proxy.filters: envoy.filters.thrift.rate_limit, envoy.filters.thrift.router [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.transport_sockets.downstream: envoy.transport_sockets.alts, envoy.transport_sockets.raw_buffer, envoy.transport_sockets.tap, envoy.transport_sockets.tls, raw_buffer, tls [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.clusters: envoy.cluster.eds, envoy.cluster.logical_dns, envoy.cluster.original_dst, envoy.cluster.static, envoy.cluster.strict_dns, envoy.clusters.aggregate, envoy.clusters.dynamic_forward_proxy, envoy.clusters.redis [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.retry_host_predicates: envoy.retry_host_predicates.omit_canary_hosts, envoy.retry_host_predicates.omit_host_metadata, envoy.retry_host_predicates.previous_hosts [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.thrift_proxy.transports: auto, framed, header, unframed [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.dubbo_proxy.filters: envoy.filters.dubbo.router [2020-06-22 18:10:19.948][17024][info][main] [source/server/server.cc:259] envoy.filters.udp_listener: envoy.filters.udp.dns_filter, envoy.filters.udp_listener.udp_proxy [2020-06-22 18:10:19.978][17024][critical][main] [source/server/server.cc:95] error initializing configuration './conf/test.yaml': compiled GIT SHA is invalid. Invalid build. [2020-06-22 18:10:19.978][17024][info][main] [source/server/server.cc:606] exiting compiled GIT SHA is invalid. Invalid build.

dio commented 4 years ago

How did you get the envoy source?

FWIW, you can override the version using (hence not throwing): https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/bootstrap/v3/bootstrap.proto.html?highlight=stats_server_version_override

Add that to your ./conf/test.yaml.

e.g.


stats_server_version_override: 1

admin:
  access_log_path: /tmp/admin_access.log
  address:
    socket_address: { address: 127.0.0.1, port_value: 9901 }
...
Ccaomei commented 4 years ago

How did you get the envoy source?

FWIW, you can override the version using (hence not throwing): https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/bootstrap/v3/bootstrap.proto.html?highlight=stats_server_version_override

Add that to your ./conf/test.yaml.

e.g.

stats_server_version_override: 1

admin:
  access_log_path: /tmp/admin_access.log
  address:
    socket_address: { address: 127.0.0.1, port_value: 9901 }
...

very nice,3Q

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.