Failed to connect to ubus

Recently ported to OpenWrt 21.02.. My application is throwing this error. I am not sure why ubus is failing and I don't have a clear idea of how to debug this / where to check for fixing this issue. Please help me resolve this.