Hello OPCUA Experts.
I am trying to learn OPCUA Pub Sub. I cloned the publisher example from github and tried to run on my linux Ubuntu 20.04 virtual machine.
After cloning the example I compiled and it compiled without any errors.
I tried to run the publisher with the command below :
./publish opc.udp://224.0.0.22
After this command, The Publisher is expected to publish the local time every 100 ms but it does not happen.
It continuosly gives error:
"Sending Network Message Failed"
Please find below the command prompt results:
[2021-02-10 21:15:41.328 (UTC+0100)] warn/server AccessControl: Unconfigured AccessControl. Users have all permissions.
[2021-02-10 21:15:41.328 (UTC+0100)] info/server AccessControl: Anonymous login is enabled
[2021-02-10 21:15:41.328 (UTC+0100)] warn/server Username/Password configured, but no encrypting SecurityPolicy. This can leak credentials on the network.
[2021-02-10 21:15:41.328 (UTC+0100)] warn/userland AcceptAll Certificate Verification. Any remote certificate will be accepted.
[2021-02-10 21:15:41.328 (UTC+0100)] info/userland PubSub channel requested
[2021-02-10 21:15:41.328 (UTC+0100)] info/network TCP network layer listening on opc.tcp://gaurav-VirtualBox:4840/
[2021-02-10 21:15:41.431 (UTC+0100)] warn/server PubSub Connection sending failed.
[2021-02-10 21:15:41.431 (UTC+0100)] error/server PubSub Publish: Could not send a NetworkMessage
[2021-02-10 21:15:41.528 (UTC+0100)] warn/server PubSub Connection sending failed.
[2021-02-10 21:15:41.528 (UTC+0100)] error/server PubSub Publish: Could not send a NetworkMessage
[2021-02-10 21:15:41.631 (UTC+0100)] warn/server PubSub Connection sending failed.
[2021-02-10 21:15:41.631 (UTC+0100)] error/server PubSub Publish: Could not send a NetworkMessage
[2021-02-10 21:15:41.729 (UTC+0100)] warn/server PubSub Connection sending failed.
[2021-02-10 21:15:41.729 (UTC+0100)] error/server PubSub Publish: Could not send a NetworkMessage
--> This mesages are published every 100 ms. and continues to appears until ctrl-c is pressed.
Kindly guide me regarding how to use the publisher example to see it's functioning
Cmake Options :
cmake -DUA_ENABLE_DISCOVERY_MULTICAST=ON -DUA_ENABLE_SUBSCRIPTIONS=ON -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_PUBSUB=ON ..
After debuging, below error is observed. Does anyone know how to resolve this problem ?

Any help in this regard is highly appreciated.
Thanks in Advance