Unable to Add Apple ID to Xcode

When I try to add my Apple ID to Xcode I get this about a minute later:

The request timed out. — Try signing in again or contact Apple Developer Support to resolve account access issues.

I have contacted support but I want to see if other solutions pop up, especially since there is a long holiday weekend now.

This has been a recurring issue over about a year. I can't find any trend in how to re-produce it or how to fix it. I was in touch with Apple Support a few months ago but the problem resolved itself when we were looking into it. I have a paid Developer account and 2FA (I think it's required anyway).

In the past I would sometimes get a -1005 error but this time I am only get the error quoted above.

Unable to Add Apple ID to Xcode
 
 
Q