microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
363 stars 29 forks source link

Cannot connect/read logs of a working Container App #1299

Open CezaryKlus opened 6 days ago

CezaryKlus commented 6 days ago

This issue is a:

Issue description

  1. Cannot connect to a working Container App:

    • From Portal image
    • From console The command failed with an unexpected error. Here is the traceback: Handshake status 401 Unauthorized Traceback (most recent call last): File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 666, in execute File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 733, in _run_jobs_serially File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 703, in _run_job File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 336, in __call__ File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/containerapp/custom.py", line 3525, in containerapp_ssh File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/containerapp/_ssh_utils.py", line 61, in __init__ File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\websocket/_core.py", line 253, in connect File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\websocket/_handshake.py", line 57, in handshake File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\websocket/_handshake.py", line 148, in _get_resp_headers websocket._exceptions.WebSocketBadStatusException: Handshake status 401 Unauthorized
  2. Cannot read log stream in Portal of another working (all green) Container App, neither Console nor System image

  3. az logout/login performed. Refreshed credentials in Azure Portal. Didn't help

  4. Redeploying all the apps (creating new revisions) in the Azure Container App environment didn't help.

This affects the whole environment in West Europe

admsallai commented 6 days ago

I have the same issue

v-vish commented 6 days ago

@CezaryKlus Hi...We have just replicated this from our end and it worked for us. Could you please retest and confirm.

microsoft-github-policy-service[bot] commented 2 days ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.