Hi Vijay, Probably the env variable VCL_CFG lower is the problem, it should be VCL_CONFIG. Could you try changing the name and check if that fixes the issue?
Regards, Florin > On Jan 9, 2021, at 11:57 AM, Vijay Kumar <vjkumar2...@gmail.com> wrote: > > Hi Florin, > > The socket name is matching in both vcl.conf and startup.conf, pls take a > look at the below two files attached: - > Let me know if any other config is missing or is wrong. > > vcl.conf > ================== > vcl { > rx-fifo-size 4000000 > tx-fifo-size 4000000 > app-scope-local > app-scope-global > api-socket-name /tmp/vpp-api.sock > } > > startup.conf > =================== > unix { > nodaemon > log /var/log/vpp/vpp.log > full-coredump > cli-listen /run/vpp/cli.sock > ### gid vpp > } > > session { evt_qs_memfd_seg } > socksvr { socket-name /tmp/vpp-api.sock} > > NOTE: - > ======= > I had exported the below two env variables also. > export VCL_CFG=/etc/vpp/vcl.conf > export LDP_PRELOAD=/usr/lib64/libvcl_ldpreload.so > > I have attached these two files (vcl.conf and startup.conf) for your > reference. > > Pls let me know if we are missing something or is something wrong > > Regards, > Vijay Kumar N > > On Sat, Jan 9, 2021 at 1:06 AM Florin Coras <fcoras.li...@gmail.com > <mailto:fcoras.li...@gmail.com>> wrote: > Hi Vijay, > > VCL is part of our CI infra (see src/vcl/test/test_vcl.py), i.e., it’s > constantly tested, so the issue is most probably configuration related. > > It looks like your vcl app (the server) cannot attach to vpp. Probably that's > because of a mismatch of socket files. So, if you use the binary api for > attachment, what socket files did you configure in vcl.conf and vpp’s > startup.conf? Alternatively, if you’re using the session layer’s socket api, > what path did you configure for app-socket-api in vcl.conf? > > Regards, > Florin > >> On Jan 8, 2021, at 10:48 AM, Vijay Kumar <vjkumar2...@gmail.com >> <mailto:vjkumar2...@gmail.com>> wrote: >> >> Hi, >> " >> vppcom_connect_to_vpp:492: vcl<98:0>: ERROR app (ldp-98-app) connect failed! >> vppcom_app_create:1200: vcl<98:0>: ERROR couldn't connect to VPP! >> " >> Is anyone aware of this error??? >> >> I am using VCL. This is integrated as a client in my new plugin of VPP >> process while the VCL is integrated in another process as VCL server. >> Whenever VPP is run, I am seeing the error as mentioned above. >> >> If anyone is familiar with this error, kindly revert. >> >> >> Regards, >> Vijay. >> >> >> > > <startup.conf><vcl.conf>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18501): https://lists.fd.io/g/vpp-dev/message/18501 Mute This Topic: https://lists.fd.io/mt/79531295/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-