When you try to connect to a SQL database, the login request first goes to the logical master database to confirm your credentials. If the master database is not available, the connection to your database may take longer or time out.
In your case, look like master database is not available and could be backend issue. Which region is your server hosted?
As mentioned by Alberto, you can open a support case and share the case number if possible.
Thank you!