Still erroneous "Check your internet connection" message
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
This is a continuation of the closed issue #16310. When running `az --version`, the message "Unable to check if your CLI is up-to-date. Check your internet connection." is shown but the internet connection is there. Details below.
### Related command
az --version
### Errors
azure-cli 2.64.0
core 2.64.0
telemetry 1.1.0
Extensions:
account 0.2.5
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\REDACTED\.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Unable to check if your CLI is up-to-date. Check your internet connection.
### Issue script & Debug output
cli.knack.cli: Command arguments: ['--version', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
urllib3.connectionpool: Starting new HTTPS connection (1): raw.githubusercontent.com:443
cli.azure.cli.core.util: Connectivity problem detected.
cli.azure.cli.core.util: ('Connection aborted.', ConnectionResetError(10054, "Connessione in corso interrotta forzatamente dall'host remoto", None, 10054, None))
cli.azure.cli.core.util: Connectivity check: 0.05696279997937381 sec
azure-cli 2.64.0
core 2.64.0
telemetry 1.1.0
Extensions:
account 0.2.5
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\REDACTED\.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
cli.azure.cli.core.util: Unable to check if your CLI is up-to-date. Check your internet connection.
cli.knack.cli: Event: Cli.PostExecute []
cli.__main__: Command ran in 0.593 seconds (init: 0.169, invoke: 0.424)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3484 in cache file under C:\Users\REDACTED\.azure\telemetry\20240905123822482
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\REDACTED\.azure C:\Users\REDACTED\.azure\telemetry\20240905123822482"
telemetry.process: Return from creating process 15236
telemetry.main: Finish creating telemetry upload process.
### Expected behavior
The message on internet connection should not appear. If a newer version is available it should be printed.
### Environment Summary
azure-cli 2.64.0
core 2.64.0
telemetry 1.1.0
Extensions:
account 0.2.5
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\REDACTED\.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.