Session are in the Network Config Error state when the system is unable to select which agent will send the measurement traffic to the other one.
This happens when the two agents are not on the same Network. Agents that can communication private IPs should be configured on the same Network. Learn how to associate Agents to Networks.
If they are not on the same Network, one agent must accept public incoming connections. This is explained in details in the Agent Connectivity Configuration article.