Why does my iMessage keep saying signing in but it doesn't sign in?

It says to sign into iMessage. And I put my iCloud stuff into it. It says signing in for a long time and goes back to not signing in. It does this repeatedly.
Never had this issue.
Try disabling iMessage, restarting the device and enabling iMessage.

Original thread: https://forums.imore.com/threads/why-does-my-imessage-keep-saying-signing-in-but-it-doesnt-sign-in.373609/