TWSD-971 - Cloud Azure: Unable to login to the azure cloud for the first time
Review Request #1010 — Created Aug. 13, 2025 and submitted
| Information | |
|---|---|
| shuinvy | |
| APV10 | |
| rel_apv_10_7 | |
| TWSD-971 | |
| Reviewers | |
| jasonchang, kevin.poh, timlai, weikai | |
Show information when use login to azure is time out.
I add login timeout hint to the CLI "cloud az login".
The text is: "Login attempt timed out. Please try 'cloud az login' to setup account again.".
There is an issue in original mechanism.
The variable "count" doesn't be set to zero, so the second part for wating "/tmp/login_response.txt" file will cause failed.I changed the timeout mechanism: Total process to read files only takes 60-65 seconds.
If the first file will wait 60 seconds, I will let it wait 5 seconds for second.The Usr Model is for reference of my changes.
Originally, there is nothing output if it is timeout.
The red diagram part is what I changed.Another file is for example of showing timeout message.
