First make sure you haven't changed the metric for the ethernet connection:
[https://www.tenforums.com/tutorials/92180-change-network-adapter-connection-priorities-windows-10-a.html
If you temporarily disable your wireless network adapter and connect via ethernet, do you still get the same error message? If yes, run the troubleshooter and report the Windows result or post a screenshot.