Not entirely sure what happens there but retval lower is -17, which is invalid remote ip. Make sure your code correctly initializes the server address. vclEndptFromAddress you seem to be using is meant to work with Envoy addresses so double check the changes you’ve mead to it. Alternatively, just do what vcl test client does here [1].
Also, check that the libvppcom the app is linked against is as recent as the vpp you’re running. Regards, Florin [1] https://git.fd.io/vpp/tree/src/plugins/hs_apps/vcl/vcl_test_client.c#n895 > On May 31, 2021, at 11:11 AM, Sastry Sista <sastry.si...@gmail.com> wrote: > > [Edited Message Follows] > > Hi Florin, > Here is show app: > > vpp# show app > Index Name Namespace > 0 tls default > 1 app[shm] default > vpp# > > I am running BLOCKED MODE for now just to debug my issue and I see that its > hit at vcl_session_connected_handler with retval as -17 i.e mp->retval. > > (gdb) p *mp > $7 = {context = 0, retval = -17, handle = 0, server_rx_fifo = 0, > server_tx_fifo = 0, segment_handle = 0, ct_rx_fifo = 0, ct_tx_fifo = 0, > ct_segment_handle = 0, vpp_event_queue_address = 0, segment_size = 0, > segment_name_length = 0 '\000', segment_name = '\000' <repeats 63 times>, lcl > = { > ip = {{pad = {0, 0, 0}, ip4 = {data = "\000\000\000", data_u32 = 0, as_u8 > = "\000\000\000", as_u16 = {0, 0}, as_u32 = 0}}, ip6 = { > as_u8 = '\000' <repeats 15 times>, as_u16 = {0, 0, 0, 0, 0, 0, 0, 0}, > as_u32 = {0, 0, 0, 0}, as_u64 = {0, 0}, as_u128 = {0, 0}, as_uword = {0, > 0}}, as_u8 = '\000' <repeats 15 times>, as_u64 = {0, 0}}, port = 0, > is_ip4 = 0 '\000', sw_if_index = 0, fib_index = 0}} > > Is this mean that VCL sent CONNECT to vpp? But, I did not see > session_mq_connect_handler being hit. It can hit even if I have multi threads > right? > > With Regards > Sastry > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19514): https://lists.fd.io/g/vpp-dev/message/19514 Mute This Topic: https://lists.fd.io/mt/83043661/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-