Not able to run envoy after build is successful.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- cpp
- 领域
- build-system
调研方向
使用 git submodule update --init 和 bazel build //http-filter-example:envoy 重现报告的构建,然后使用 front-envoy.yaml 运行生成的 envoy 二进制文件。首先检查 http-filter-example 入口点和报告的 macOS 链接器错误。当二进制文件使用提供的配置启动且没有 dyld 符号错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I am trying to run envoy with the custom http filter present in http-filter-example folder.
Repo : https://github.com/envoyproxy/envoy-filter-example/tree/master/http-filter-example
Steps followed.
- Cloned the repo
- build using
git submodule update --init
bazel build //http-filter-example:envoy
Build was successful. After build was successful, envoy binary was generated inside http-filter-example ---- bazel bin folder.
Now I am trying to run envoy file front-envoy.yaml using sample filter.
front-envoy.yaml
static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 10000}
filter_chains:
- filters:
- name: envoy.http_connection_manager
config:
use_remote_address: true
stat_prefix: ingress_http
codec_type: AUTO
route_config:
name: remote_api
virtual_hosts:
- name: api
domains:
- "*"
routes:
- match:
prefix: "/"
route:
cluster: api
http_filters:
- name: sample
typed_config:
"@type": type.googleapis.com/sample.Decoder
key: via
val: sample-filter
- name: envoy.router
typed_config: {}
clusters:
- name: api
connect_timeout: 1s
type: strict_dns
lb_policy: round_robin
hosts:
- socket_address:
address: localhost
port_value: 8000
- name: rate_limit_cluster
type: strict_dns
connect_timeout: 0.25s
lb_policy: round_robin
http2_protocol_options: {}
hosts:
- socket_address:
address: localhost
port_value: 8081
But while running ./envoy --config-path front-envoy.yaml command I am getting below error:
dyld: Symbol not found: _program_invocation_name
Referenced from: /private/var/tmp/_bazel_prince.kumar/77a930df3acbb1cb74b82e11b4381bd4/execroot/envoy_filter_example/bazel-out/darwin-fastbuild/bin/http-filter-example/./envoy
Expected in: flat namespace
in /private/var/tmp/_bazel_prince.kumar/77a930df3acbb1cb74b82e11b4381bd4/execroot/envoy_filter_example/bazel-out/darwin-fastbuild/bin/http-filter-example/./envoy
I tried installing Xcode10 and followed steps
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Still getting same issue.
Mac OS :Mojave, 10.14.6
Xcode version : 10
Bazel version: bazel 3.4.1
- 主要语言
- C++
- 星标
- 361
- 派生
- 220
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
envoyproxy/envoy-filter-example 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 42/100
envoyproxy/envoy-filter-example#203 · 4 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 20/100
envoyproxy/envoy-filter-example#178 · 1 个 reaction ·
-
Startup failure未关闭
难度 4/5 3-5 天 新手友好度 25/100
-
难度 1/5 1 小时以内 新手友好度 38/100
envoyproxy/envoy-filter-example#164 · 1 条评论 ·
查看 envoyproxy/envoy-filter-example 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
least_squares returns a nonfinite objective for an invalid initial residual可能已有人在做 @sylvesterkaczmarek 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
google-deepmind/mujoco#4023 ·
维护者通常 11 天内回复
-
bug triage
难度 2/5 1-3 小时 新手友好度 78/100
envoyproxy/envoy#49711 ·
维护者通常 1 天内回复
-
bug triage
难度 2/5 1-3 小时 新手友好度 66/100
secondlife/viewer#6820 ·
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 1/5 1 小时以内 新手友好度 83/100
维护者通常 1 天内回复