Hi,

I’m trying to get Apache Traffic Server to use the TCP implementation in VPP. I 
was able to run the socket_test.sh and successfully test iperf3+LD_PRELOAD, 
however when it comes to connect Apache Traffic Server I have the following 
outputs:

ATS output:
vppcom_app_create:1958: [22942] configured debug level (0) from VCL_DEBUG!

[22942] vcom_init...done!

[22942] vcom_constructor...done!
traffic_server: using root directory '/opt/ts'
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 
0x21100f180, sid 2: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 
0x20100c180, sid 3: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 
0xffffffff, sid 4: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 
0x21101b180, sid 5: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 
0x221020180, sid 6: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 
0x20100c180, sid 7: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 0x0, sid 
8: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 0x0, sid 
9: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 0x0, sid 
10: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 0x0, sid 
11: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 0x0, sid 
12: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 0x0, sid 
13: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 0x0, sid 
18: connect failed! Session failed to connect (-115)
vl_api_connect_session_reply_t_handler:795: [22942] ERROR: vpp handle 0x0, sid 
18: connect failed! Session failed to connect (-115)
[22942] accept4: in the beginning... '0000'='0034', '0x7fbcbdd96e0c', 
'0x7fbcbdd96cdc', '80800'
[22942] accept4: in the beginning... '0000'='0027', '0x7fbcbdb88e0c', 
'0x7fbcbdb88cdc', '80800'
vl_api_bind_sock_reply_t_handler:943: [22942] ERROR: vpp handle 0x8dffffff, sid 
23: bind failed: Invalid value #2 (-8)


VPP output:

vpp# 0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_connect: connect failed
0: vnet_bind: bind failed

Everything run on the same host (no containers) and I am using vpp 
v18.01-rc0~541-ga3a6ec6~b3481 installed from deb.
To run ATS, I adjusted the scripts created by socket_test.sh and I invoke ATS 
with the following command:

# 
LD_PRELOAD=/home/alberto/vcl/vpp/build-root/install-vpp-native/vpp/lib64/libvcl_ldpreload.so.0.0.0
 /opt/ts/bin/traffic_server

Any hint, help?

Thank you,
Alberto


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to