Here are some steps to the solution that I think worked out for me as a total.
• Restart your phone. Crucial I'd say after personal experience as the software wouldn't detect my airpods unless a restart was performed for some reason.
• Blow air at the holes of your charging case. It is said that dust may intervening with the airpods and the case connection.
• Take your airpods out of the case and put them back in. Repeat a few times. Possibly what stopped mine from blinking white light endlessly.
• Spam - press the button located on the case.
One of these steps should the least stop your case from blinking white light non-stop. A phone - restart is recommended after finishing all the steps.