-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
envoy VCL interface registered faild with Vpp #26085
Comments
@daiyl123 as per recommended config here could you try using the socket api, as opposed to the binary api, in vcl.conf? In particular, add As a side note, the vcl socket interface envoy builds statically links in vcl from vpp 22.02. If you want to change that, see here |
@florincoras @KfreeZ I tried according to your suggestion, but another problem occurred: vpp directly core dump, I change vcl.conf and vpp’s startup.conf; In addition, My version is envoy 1.21.6,The specified vpp version is 21.10 in repository_locations.bzl envoy core dump log: |
Note that you haven't switched As for vpp version, I'm not sure how well that would work. The current vcl socket interface, which relies on vpp 22.02, is known to work with with vpp latest (23.02), so I'd recommend trying that if everything else fails. |
@florincoras Sorry, I don't quite understand, I modified the configuration vcl.conf by referring to our official website I'm not sure whether I should use Configuration ”app-socket-api /var/run/vpp/app_ns_sockets/default“ or Configuration ”app-socket-api /var/run/vpp/api.sock“ I'm sorry, I don't understand this. I hope you can help me again If configuration ”app-socket-api /var/run/vpp/app_ns_sockets/default“ is used, an error will also be reported:
|
How to configure vcl.conf to not apply to the binary api api.sock You said that I was wrong to use configuration ”app-socket-api /var/run/vpp/api.sock“ |
I use vpp 23.02,The same error is reported,I suspect it is the problem of compiling vpp or vcl.conf
|
@florincoras |
|
Those libraries are built and statically linked into envoy as opposed to being dynamically linked. That is, unfortunately, you can't use .so files published by vpp project or that you manually built. |
@florincoras |
@YanLongDai go for it. Just for completeness, session layer in vpp can also be enable via cli, i.e., |
Signed-off-by: YanLongDai <dyl_wlc@163.com>
@florincoras What you said makes sense. PR has been submitted, please help to review #29022 |
…nvoyproxy#29022)" This reverts commit c50f885. Signed-off-by: Ryan Northey <ryan@synca.io>
Title: envoy 1.21.6 VCl can‘t work with vpp 21.10,I suspect there is a problem with the compilation process envoy,Please take a look , I need help, thank you
start envoy log:
vpp log:
vcl.conf :
**envoy proxy.yaml:**
Envoy Compile and run steps:
1、bazel build -c dbg --verbose_failures --verbose_explanations --config=clang //contrib/exe:envoy-static --sandbox_debug
2、start_envoy.sh:
3、VPP Compile and run separately,According to the official website
The text was updated successfully, but these errors were encountered: