I did another test and it is trying to download the URL using WebClient c#. this fails, however, if I do it under the same URL outside of IIS it goes down fine. however, it still cannot be downloaded within IIS. This is a Windows Container running on Azure and has been running for over 1 year now with no problems.
C:\app\vf>type c:\Windows\Temp\vf_iis-2022-11-04.log
19:43:49 1-Python.Runtime.Runtime.PythonDLL: python39
19:43:50 2-init MapSignalR
19:43:50 3-Provider AZURE
19:43:52 1-Jwt, init SigningKeys
. . .
The remote server returned an error: (400) Bad Request.
19:44:12 1-Jwt, init SigningKeys
19:44:13 error Jwt: One or more errors occurred.
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VFCloudWebFront.JwtAuthModule.DownSignKeys()
https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
19:44:13 fail check download https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
The remote server returned an error: (400) Bad Request.
C:\app\vf>time
The current time is: 19:45:08.92
Enter the new time:
C:\app\vf>curl https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
{"token_endpoint":"https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token
. . .
C:\app\vf>type c:\Windows\Temp\vf_iis-2022-11-04.log
19:43:49 1-Python.Runtime.Runtime.PythonDLL: python39
19:43:50 2-init MapSignalR
19:43:50 3-Provider AZURE
19:43:52 1-Jwt, init SigningKeys
. . .
The remote server returned an error: (400) Bad Request.
19:44:12 1-Jwt, init SigningKeys
19:44:12 error Jwt: One or more errors occurred.
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VFCloudWebFront.JwtAuthModule.DownSignKeys()
https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
19:44:12 fail check download https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
. . .
19:45:33 error Jwt: One or more errors occurred.
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VFCloudWebFront.JwtAuthModule.DownSignKeys()
https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
19:45:33 fail check download https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
The remote server returned an error: (400) Bad Request.
. . .
19:45:39 error Jwt: One or more errors occurred.
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VFCloudWebFront.JwtAuthModule.DownSignKeys()
https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
19:45:39 fail check download https://login.microsoftonline.com/87e92c59-3863-486a-b08d-92b00cfe7264/v2.0/.well-known/openid-configuration
The remote server returned an error: (400) Bad Request.