best response confirmed by Mazhar1675 (Occasional Contributor)
This specific error does not seem related to the described issue.
Can you verify in the portal that you don't see 2 sensors with the same name, one is running and the older one is disconnected by any chance ?

If not, I suggest to open a support case where you can securely upload the sensor's full textual log for inspection. make sure to include workspace id and sensor machine name.