microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
358 stars 27 forks source link

Failed to provision container app #72

Open SoucianceEqdamRashti opened 2 years ago

SoucianceEqdamRashti commented 2 years ago

Hello,

I have tried to deploy my container to an environment based on an image from my acr. That fails and the main message I get is this: Deployment failed. Correlation ID: 28704c6f-44c8-447f-aa73-787016e2f2f8. Failed to provision revision for container app 'containerappdemo3'. Error details: Code: 90714, ExtendedCode: 90714, Message: Error provisioning the container app. Container 'containerappdemo3' failed to start-up. Please check Log Analytics workspace for container logs..

When I look in log analytics this is what I see. I cannot really tell from the logs what has gone wrong. And no where in the portal is there is any good indication of why the container instance didn't provision. Note that the container itself is just a web api template for the weather forecast. Nothing more than that. I have tried to create the app from the az cli as well as the portal and the same issue occurs.

If I provision nginix from dockerhub that works fine. Would appreciately some hint on what has gone wrong. Thanks.

`

Go to Log Analytics and run query

TenantId | SourceSystem | MG | ManagementGroupName | TimeGenerated | Computer | RawData | Log_s | stacktrace_s | error_s | address_s | _timestamp_d | ContainerGroupId_g | RevisionName_s | caller_s | msg_s | ContainerId_s | Level | Kind_s | ContainerImage_s | logtag_s | ContainerGroupName_s | ContainerAppName_s | Stream_s | ContainerName_s | ts_d | EnvironmentName_s | Type | _ResourceId -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- 88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:09:30.135Z |   |   |   |   |   |   | 1641514169.14584 | 5f2ed75c-4c04-4876-b877-cd39dd0e7e1f | containerappdemo3--3w8yoe8 | probeshim/main.go:111 | server stopped successfully | 29a04a432f221b2f6177940f94c6522456f87821de9831b563c6bada4e3c871a | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo3--3w8yoe8-57c4b64d4c-mw2vt | containerappdemo3 | stderr | probe-shim | 1641514169.1456 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:09:30.135Z |   |   |   |   |   |   | 1641514169.14349 | 5f2ed75c-4c04-4876-b877-cd39dd0e7e1f | containerappdemo3--3w8yoe8 | probeshim/main.go:104 | server stopping | 29a04a432f221b2f6177940f94c6522456f87821de9831b563c6bada4e3c871a | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo3--3w8yoe8-57c4b64d4c-mw2vt | containerappdemo3 | stderr | probe-shim | 1641514169.14326 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:09:30.052Z |   |   |   |   |   |   | 1641514169.1509 | aa693da9-99ab-498b-80eb-030c23b4593b | containerappdemo3--3w8yoe8 | probeshim/main.go:111 | server stopped successfully | a513c1195c91629f123cde563da9492c6f37d0ab3d030ffe192447ba1a7e941b | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo3--3w8yoe8-7db569555-9fppw | containerappdemo3 | stderr | probe-shim | 1641514169.15067 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:09:30.052Z |   |   |   |   |   |   | 1641514169.14955 | aa693da9-99ab-498b-80eb-030c23b4593b | containerappdemo3--3w8yoe8 | probeshim/main.go:104 | server stopping | a513c1195c91629f123cde563da9492c6f37d0ab3d030ffe192447ba1a7e941b | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo3--3w8yoe8-7db569555-9fppw | containerappdemo3 | stderr | probe-shim | 1641514169.1494 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:05:44.423Z |   |   |   |   |   | :60077 | 1641513885.31101 | 5f2ed75c-4c04-4876-b877-cd39dd0e7e1f | containerappdemo3--3w8yoe8 | probeshim/main.go:95 | running ListenAndServe | 29a04a432f221b2f6177940f94c6522456f87821de9831b563c6bada4e3c871a | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo3--3w8yoe8-57c4b64d4c-mw2vt | containerappdemo3 | stderr | probe-shim | 1641513885.31082 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:05:44.423Z |   |   |   |   |   |   | 1641513885.31107 | 5f2ed75c-4c04-4876-b877-cd39dd0e7e1f | containerappdemo3--3w8yoe8 | probeshim/main.go:101 | server started | 29a04a432f221b2f6177940f94c6522456f87821de9831b563c6bada4e3c871a | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo3--3w8yoe8-57c4b64d4c-mw2vt | containerappdemo3 | stderr | probe-shim | 1641513885.31087 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:05:23.329Z |   |   |   |   |   | :60077 | 1641513884.84719 | aa693da9-99ab-498b-80eb-030c23b4593b | containerappdemo3--3w8yoe8 | probeshim/main.go:95 | running ListenAndServe | a513c1195c91629f123cde563da9492c6f37d0ab3d030ffe192447ba1a7e941b | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo3--3w8yoe8-7db569555-9fppw | containerappdemo3 | stderr | probe-shim | 1641513884.84653 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:05:23.329Z |   |   |   |   |   |   | 1641513884.84722 | aa693da9-99ab-498b-80eb-030c23b4593b | containerappdemo3--3w8yoe8 | probeshim/main.go:101 | server started | a513c1195c91629f123cde563da9492c6f37d0ab3d030ffe192447ba1a7e941b | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo3--3w8yoe8-7db569555-9fppw | containerappdemo3 | stderr | probe-shim | 1641513884.84709 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: worker process 33 exited with code 0 |   |   |   | 1641513681.26224 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: worker process 31 exited with code 0 |   |   |   | 1641513681.26223 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 31#31: exit |   |   |   | 1641513681.22533 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 32#32: gracefully shutting down |   |   |   | 1641513681.22532 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 34#34: gracefully shutting down |   |   |   | 1641513681.22535 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: signal 29 (SIGIO) received |   |   |   | 1641513681.26226 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: exit |   |   |   | 1641513681.26227 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: signal 17 (SIGCHLD) received from 34 |   |   |   | 1641513681.26227 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 34#34: exit |   |   |   | 1641513681.22537 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: signal 29 (SIGIO) received |   |   |   | 1641513681.26225 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 33#33: exiting |   |   |   | 1641513681.22534 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: signal 17 (SIGCHLD) received from 33 |   |   |   | 1641513681.26219 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 33#33: exit |   |   |   | 1641513681.22534 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: worker process 34 exited with code 0 |   |   |   | 1641513681.26227 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 34#34: exiting |   |   |   | 1641513681.22536 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: signal 3 (SIGQUIT) received, shutting down |   |   |   | 1641513681.22507 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 31#31: gracefully shutting down |   |   |   | 1641513681.2253 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 33#33: gracefully shutting down |   |   |   | 1641513681.22534 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 31#31: exiting |   |   |   | 1641513681.22531 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: worker process 32 exited with code 0 |   |   |   | 1641513681.26226 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 32#32: exit |   |   |   | 1641513681.22533 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 32#32: exiting |   |   |   | 1641513681.22532 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.196Z |   |   | 2022/01/07 00:01:21 [notice] 1#1: signal 17 (SIGCHLD) received from 32 |   |   |   | 1641513681.26225 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.151Z |   |   |   |   |   |   | 1641513681.22196 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 | probeshim/main.go:104 | server stopping | 25f21624c87f79aedae6e1c76752440e45a0d50af34bd6240b6fa29021728984 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | probe-shim | 1641513681.2218 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-07T00:01:22.151Z |   |   |   |   |   |   | 1641513681.22354 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 | probeshim/main.go:111 | server stopped successfully | 25f21624c87f79aedae6e1c76752440e45a0d50af34bd6240b6fa29021728984 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | probe-shim | 1641513681.2231 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 |   |   |   | 1641513482.98281 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:43 [error] 31#31: *13 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 10.250.1.109, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "sample-nginx.redstone-0260ecc5.northeurope.azurecontainerapps.io", referrer: "https://sample-nginx.redstone-0260ecc5.northeurope.azurecontainerapps.io/" |   |   |   | 1641513523.03957 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: OS: Linux 5.4.0-1064-azure |   |   |   | 1641513482.98281 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6) |   |   |   | 1641513482.9828 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: start worker process 31 |   |   |   | 1641513482.98283 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: using the "epoll" event method |   |   |   | 1641513482.98277 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: start worker process 34 |   |   |   | 1641513482.98284 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: start worker process 32 |   |   |   | 1641513482.98283 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: start worker process 33 |   |   |   | 1641513482.98284 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: start worker processes |   |   |   | 1641513482.98282 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.542Z |   |   | 2022/01/06 23:58:02 [notice] 1#1: nginx/1.21.5 |   |   |   | 1641513482.98279 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf |   |   |   | 1641513482.96416 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh |   |   |   | 1641513482.98297 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | 10.250.1.109 - - [06/Jan/2022:23:58:43 +0000] "GET /favicon.ico HTTP/1.1" 404 555 "https://sample-nginx.redstone-0260ecc5.northeurope.azurecontainerapps.io/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62" "84.216.63.156" |   |   |   | 1641513523.03956 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ |   |   |   | 1641513482.95669 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | /docker-entrypoint.sh: Configuration complete; ready for start up |   |   |   | 1641513482.98298 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration |   |   |   | 1641513482.95664 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh |   |   |   | 1641513482.95981 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh |   |   |   | 1641513482.97041 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | 10.250.1.109 - - [06/Jan/2022:23:58:42 +0000] "GET / HTTP/1.1" 200 615 "https://sandbox-28-20.reactblade.portal.azure.net/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62" "84.216.63.156" |   |   |   | 1641513522.84689 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.389Z |   |   | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf |   |   |   | 1641513482.97021 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 |   |   | ff5e27c7c6c98930c00ccf4f49178e19acee3f8ac60d97db2e71f8a637e58b39 |   | apps | docker.io/library/nginx:latest | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stdout | sample-nginx | null | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.169Z |   |   |   |   |   |   | 1641513483.148 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 | probeshim/main.go:101 | server started | 25f21624c87f79aedae6e1c76752440e45a0d50af34bd6240b6fa29021728984 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | probe-shim | 1641513483.14781 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:58:44.169Z |   |   |   |   |   | :60077 | 1641513483.14795 | 9d9ad5a4-7116-484d-b293-09365df7b808 | sample-nginx--vbostd8 | probeshim/main.go:95 | running ListenAndServe | 25f21624c87f79aedae6e1c76752440e45a0d50af34bd6240b6fa29021728984 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | sample-nginx--vbostd8-84f784cf45-7vmtp | sample-nginx | stderr | probe-shim | 1641513483.14777 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:57:08.54Z |   |   |   |   |   |   | 1641513427.07417 | 70b54f0f-ed3d-4690-b14d-a87652af7296 | containerappdemo1--ydzaewm | probeshim/main.go:111 | server stopped successfully | 586f8ef1f6808cb9e4ba525240d7986bbcba87208bd98ccf150822396ebfde02 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo1--ydzaewm-564fb9d5d7-wc5j5 | containerappdemo1 | stderr | probe-shim | 1641513427.07269 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:57:08.54Z |   |   |   |   |   |   | 1641513427.07217 | 70b54f0f-ed3d-4690-b14d-a87652af7296 | containerappdemo1--ydzaewm | probeshim/main.go:104 | server stopping | 586f8ef1f6808cb9e4ba525240d7986bbcba87208bd98ccf150822396ebfde02 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo1--ydzaewm-564fb9d5d7-wc5j5 | containerappdemo1 | stderr | probe-shim | 1641513427.07134 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:57:08.314Z |   |   |   |   |   |   | 1641513427.08419 | d1275917-af59-4c7f-983c-e005d1c90e09 | containerappdemo1--ydzaewm | probeshim/main.go:104 | server stopping | 8e706383fc2e45cc062bc7ea03a2495b2fc8be477cffc25fa414a2a6e19b3987 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo1--ydzaewm-6c5ddfdc65-q7qsv | containerappdemo1 | stderr | probe-shim | 1641513427.08388 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:57:08.314Z |   |   |   |   |   |   | 1641513427.08582 | d1275917-af59-4c7f-983c-e005d1c90e09 | containerappdemo1--ydzaewm | probeshim/main.go:111 | server stopped successfully | 8e706383fc2e45cc062bc7ea03a2495b2fc8be477cffc25fa414a2a6e19b3987 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo1--ydzaewm-6c5ddfdc65-q7qsv | containerappdemo1 | stderr | probe-shim | 1641513427.08522 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:55:09.082Z |   |   |   |   |   |   | 1641513308.66871 | 615deda7-1dfc-4b76-b89d-d4781cc8e0f0 | containerappdemo--n0cac2p | probeshim/main.go:111 | server stopped successfully | e81bf01b16812ef80481bee29dad26e0cf891369ad4d6fb844a4cc5c42458cce | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-768f9f7c5f-prvjw | containerappdemo | stderr | probe-shim | 1641513308.66852 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:55:09.082Z |   |   |   |   |   |   | 1641513308.66761 | 615deda7-1dfc-4b76-b89d-d4781cc8e0f0 | containerappdemo--n0cac2p | probeshim/main.go:104 | server stopping | e81bf01b16812ef80481bee29dad26e0cf891369ad4d6fb844a4cc5c42458cce | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-768f9f7c5f-prvjw | containerappdemo | stderr | probe-shim | 1641513308.66707 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:53:24.092Z |   |   |   |   |   |   | 1641513144.37699 | d1275917-af59-4c7f-983c-e005d1c90e09 | containerappdemo1--ydzaewm | probeshim/main.go:101 | server started | 8e706383fc2e45cc062bc7ea03a2495b2fc8be477cffc25fa414a2a6e19b3987 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo1--ydzaewm-6c5ddfdc65-q7qsv | containerappdemo1 | stderr | probe-shim | 1641513144.37687 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:53:24.092Z |   |   |   |   |   | :60077 | 1641513144.37696 | d1275917-af59-4c7f-983c-e005d1c90e09 | containerappdemo1--ydzaewm | probeshim/main.go:95 | running ListenAndServe | 8e706383fc2e45cc062bc7ea03a2495b2fc8be477cffc25fa414a2a6e19b3987 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo1--ydzaewm-6c5ddfdc65-q7qsv | containerappdemo1 | stderr | probe-shim | 1641513144.37681 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:52:44.237Z |   |   |   |   |   | :60077 | 1641513143.98573 | 70b54f0f-ed3d-4690-b14d-a87652af7296 | containerappdemo1--ydzaewm | probeshim/main.go:95 | running ListenAndServe | 586f8ef1f6808cb9e4ba525240d7986bbcba87208bd98ccf150822396ebfde02 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo1--ydzaewm-564fb9d5d7-wc5j5 | containerappdemo1 | stderr | probe-shim | 1641513143.98521 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:52:44.237Z |   |   |   |   |   |   | 1641513143.98723 | 70b54f0f-ed3d-4690-b14d-a87652af7296 | containerappdemo1--ydzaewm | probeshim/main.go:101 | server started | 586f8ef1f6808cb9e4ba525240d7986bbcba87208bd98ccf150822396ebfde02 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo1--ydzaewm-564fb9d5d7-wc5j5 | containerappdemo1 | stderr | probe-shim | 1641513143.98525 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:46:44.294Z |   |   |   |   |   | :60077 | 1641512785.55276 | 615deda7-1dfc-4b76-b89d-d4781cc8e0f0 | containerappdemo--n0cac2p | probeshim/main.go:95 | running ListenAndServe | e81bf01b16812ef80481bee29dad26e0cf891369ad4d6fb844a4cc5c42458cce | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-768f9f7c5f-prvjw | containerappdemo | stderr | probe-shim | 1641512785.55261 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:46:44.294Z |   |   |   |   |   |   | 1641512785.55279 | 615deda7-1dfc-4b76-b89d-d4781cc8e0f0 | containerappdemo--n0cac2p | probeshim/main.go:101 | server started | e81bf01b16812ef80481bee29dad26e0cf891369ad4d6fb844a4cc5c42458cce | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-768f9f7c5f-prvjw | containerappdemo | stderr | probe-shim | 1641512785.55264 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:40:08.486Z |   |   |   |   |   |   | 1641512407.62027 | ceb45393-e2f9-4e56-9b8d-df02225a7a5e | containerappdemo--n0cac2p | probeshim/main.go:111 | server stopped successfully | a4246ec441123b57dd2573bc9dbdaf3d75d412d4f83eeaf9e8282adb51bfa929 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5b8cb5bc96-xqstc | containerappdemo | stderr | probe-shim | 1641512407.61774 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:40:08.486Z |   |   |   |   |   |   | 1641512407.63081 | 0f02034a-7ac9-429f-ab11-a979de29dd6e | containerappdemo--n0cac2p | probeshim/main.go:111 | server stopped successfully | e05b10c0949e85fa949437c82caa707ea87c3b3a5268ab6a56312f0c038cda5c | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-768f9f7c5f-frtg4 | containerappdemo | stderr | probe-shim | 1641512407.6307 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:40:08.486Z |   |   |   |   |   |   | 1641512407.62957 | 0f02034a-7ac9-429f-ab11-a979de29dd6e | containerappdemo--n0cac2p | probeshim/main.go:104 | server stopping | e05b10c0949e85fa949437c82caa707ea87c3b3a5268ab6a56312f0c038cda5c | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-768f9f7c5f-frtg4 | containerappdemo | stderr | probe-shim | 1641512407.62943 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:40:08.486Z |   |   |   |   |   |   | 1641512407.62017 | ceb45393-e2f9-4e56-9b8d-df02225a7a5e | containerappdemo--n0cac2p | probeshim/main.go:104 | server stopping | a4246ec441123b57dd2573bc9dbdaf3d75d412d4f83eeaf9e8282adb51bfa929 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5b8cb5bc96-xqstc | containerappdemo | stderr | probe-shim | 1641512407.61642 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:36:23.291Z |   |   |   |   |   | :60077 | 1641512178.75697 | 0f02034a-7ac9-429f-ab11-a979de29dd6e | containerappdemo--n0cac2p | probeshim/main.go:95 | running ListenAndServe | e05b10c0949e85fa949437c82caa707ea87c3b3a5268ab6a56312f0c038cda5c | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-768f9f7c5f-frtg4 | containerappdemo | stderr | probe-shim | 1641512178.75683 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:36:23.291Z |   |   |   |   |   |   | 1641512178.75699 | 0f02034a-7ac9-429f-ab11-a979de29dd6e | containerappdemo--n0cac2p | probeshim/main.go:101 | server started | e05b10c0949e85fa949437c82caa707ea87c3b3a5268ab6a56312f0c038cda5c | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-768f9f7c5f-frtg4 | containerappdemo | stderr | probe-shim | 1641512178.75688 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:32:31.26Z |   |   |   | main.handleProbe /__w/k4apps/k4apps/cmd/probeshim/main.go:60 main.main.func1 /__w/k4apps/k4apps/cmd/probeshim/main.go:89 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2046 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2878 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:1929 | dial tcp [::1]:49153: connect: connection refused |   | 1641511949.97292 | ceb45393-e2f9-4e56-9b8d-df02225a7a5e | containerappdemo--n0cac2p | probeshim/main.go:60 | error connecting to tcp address | a4246ec441123b57dd2573bc9dbdaf3d75d412d4f83eeaf9e8282adb51bfa929 | error | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5b8cb5bc96-xqstc | containerappdemo | stderr | probe-shim | 1641511949.97267 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:31:44.189Z |   |   |   |   |   |   | 1641511855.79054 | ceb45393-e2f9-4e56-9b8d-df02225a7a5e | containerappdemo--n0cac2p | probeshim/main.go:101 | server started | a4246ec441123b57dd2573bc9dbdaf3d75d412d4f83eeaf9e8282adb51bfa929 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5b8cb5bc96-xqstc | containerappdemo | stderr | probe-shim | 1641511855.79034 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:31:44.189Z |   |   |   |   |   | :60077 | 1641511855.79049 | ceb45393-e2f9-4e56-9b8d-df02225a7a5e | containerappdemo--n0cac2p | probeshim/main.go:95 | running ListenAndServe | a4246ec441123b57dd2573bc9dbdaf3d75d412d4f83eeaf9e8282adb51bfa929 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5b8cb5bc96-xqstc | containerappdemo | stderr | probe-shim | 1641511855.79028 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:26:37.153Z |   |   |   |   |   |   | 1641511596.42779 | 619895b7-8687-42a3-a285-cd2a13455b77 | containerappdemo--n0cac2p | probeshim/main.go:111 | server stopped successfully | 8dd9ee155ee684fd49f334749fbb2bf855c8f1be26388ab561f8330e8d10dc67 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5c744cdbb7-9rmhl | containerappdemo | stderr | probe-shim | 1641511596.42755 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:26:37.153Z |   |   |   |   |   |   | 1641511596.42537 | 619895b7-8687-42a3-a285-cd2a13455b77 | containerappdemo--n0cac2p | probeshim/main.go:104 | server stopping | 8dd9ee155ee684fd49f334749fbb2bf855c8f1be26388ab561f8330e8d10dc67 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5c744cdbb7-9rmhl | containerappdemo | stderr | probe-shim | 1641511596.42522 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:25:37.178Z |   |   |   |   |   |   | 1641511536.30749 | 49f25f38-9429-42d8-9ae9-60cec7ee65ef | containerappdemo--n0cac2p | probeshim/main.go:104 | server stopping | 4a7d72c2dee86db4dc7581e92fd4e58eb4e341041798929250c412528b3d0e71 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-9c4cff954-kdrlv | containerappdemo | stderr | probe-shim | 1641511536.30585 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:25:37.178Z |   |   |   |   |   |   | 1641511536.30752 | 49f25f38-9429-42d8-9ae9-60cec7ee65ef | containerappdemo--n0cac2p | probeshim/main.go:111 | server stopped successfully | 4a7d72c2dee86db4dc7581e92fd4e58eb4e341041798929250c412528b3d0e71 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-9c4cff954-kdrlv | containerappdemo | stderr | probe-shim | 1641511536.30603 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:23:24.12Z |   |   |   |   |   |   | 1641511120.97675 | a271af71-cffa-46b3-a60d-dec1cecdf4ec | containerappdemo--1a2trao | probeshim/main.go:104 | server stopping | 339f114a67c60faf82baee63ae8f5e40afe4ec53b6977e11e324292cf0e13f30 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--1a2trao-865b77cc77-mrlhf | containerappdemo | stderr | probe-shim | 1641511120.97527 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:23:24.12Z |   |   |   |   |   |   | 1641511120.97683 | a271af71-cffa-46b3-a60d-dec1cecdf4ec | containerappdemo--1a2trao | probeshim/main.go:111 | server stopped successfully | 339f114a67c60faf82baee63ae8f5e40afe4ec53b6977e11e324292cf0e13f30 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--1a2trao-865b77cc77-mrlhf | containerappdemo | stderr | probe-shim | 1641511120.97657 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:22:44.176Z |   |   |   |   |   | :60077 | 1641511310.4992 | 49f25f38-9429-42d8-9ae9-60cec7ee65ef | containerappdemo--n0cac2p | probeshim/main.go:95 | running ListenAndServe | 4a7d72c2dee86db4dc7581e92fd4e58eb4e341041798929250c412528b3d0e71 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-9c4cff954-kdrlv | containerappdemo | stderr | probe-shim | 1641511310.49899 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:22:44.176Z |   |   |   |   |   |   | 1641511310.49924 | 49f25f38-9429-42d8-9ae9-60cec7ee65ef | containerappdemo--n0cac2p | probeshim/main.go:101 | server started | 4a7d72c2dee86db4dc7581e92fd4e58eb4e341041798929250c412528b3d0e71 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-9c4cff954-kdrlv | containerappdemo | stderr | probe-shim | 1641511310.49906 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:22:24.941Z |   |   |   |   |   |   | 1641511312.0769 | 619895b7-8687-42a3-a285-cd2a13455b77 | containerappdemo--n0cac2p | probeshim/main.go:101 | server started | 8dd9ee155ee684fd49f334749fbb2bf855c8f1be26388ab561f8330e8d10dc67 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5c744cdbb7-9rmhl | containerappdemo | stderr | probe-shim | 1641511312.07679 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:22:24.941Z |   |   |   |   |   | :60077 | 1641511312.07688 | 619895b7-8687-42a3-a285-cd2a13455b77 | containerappdemo--n0cac2p | probeshim/main.go:95 | running ListenAndServe | 8dd9ee155ee684fd49f334749fbb2bf855c8f1be26388ab561f8330e8d10dc67 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--n0cac2p-5c744cdbb7-9rmhl | containerappdemo | stderr | probe-shim | 1641511312.07674 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:20:07.5Z |   |   |   |   |   |   | 1641510907.91955 | a271af71-cffa-46b3-a60d-dec1cecdf4ec | containerappdemo--1a2trao | probeshim/main.go:101 | server started | 339f114a67c60faf82baee63ae8f5e40afe4ec53b6977e11e324292cf0e13f30 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--1a2trao-865b77cc77-mrlhf | containerappdemo | stderr | probe-shim | 1641510907.91941 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:20:07.5Z |   |   |   |   |   | :60077 | 1641510907.91952 | a271af71-cffa-46b3-a60d-dec1cecdf4ec | containerappdemo--1a2trao | probeshim/main.go:95 | running ListenAndServe | 339f114a67c60faf82baee63ae8f5e40afe4ec53b6977e11e324292cf0e13f30 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--1a2trao-865b77cc77-mrlhf | containerappdemo | stderr | probe-shim | 1641510907.91937 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:19:28.743Z |   |   |   |   |   |   | 1641510910.2369 | f42f57f1-34bb-4688-8ed9-019c2936e11b | containerappdemo--1a2trao | probeshim/main.go:101 | server started | 022fe4025860743140a130a1c2faf0a494228e1735a9386cb991f85c0d7ff276 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--1a2trao-547977cb98-4fzxg | containerappdemo | stderr | probe-shim | 1641510910.23675 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:19:28.743Z |   |   |   |   |   | :60077 | 1641510910.23687 | f42f57f1-34bb-4688-8ed9-019c2936e11b | containerappdemo--1a2trao | probeshim/main.go:95 | running ListenAndServe | 022fe4025860743140a130a1c2faf0a494228e1735a9386cb991f85c0d7ff276 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--1a2trao-547977cb98-4fzxg | containerappdemo | stderr | probe-shim | 1641510910.23671 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:18:41.142Z |   |   |   |   |   |   | 1641511120.95968 | f42f57f1-34bb-4688-8ed9-019c2936e11b | containerappdemo--1a2trao | probeshim/main.go:104 | server stopping | 022fe4025860743140a130a1c2faf0a494228e1735a9386cb991f85c0d7ff276 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--1a2trao-547977cb98-4fzxg | containerappdemo | stderr | probe-shim | 1641511120.95918 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |   88bb726e-51cc-4b3e-a805-51dcbfe553ea | RestAPI |   |   | 2022-01-06T23:18:41.142Z |   |   |   |   |   |   | 1641511120.96348 | f42f57f1-34bb-4688-8ed9-019c2936e11b | containerappdemo--1a2trao | probeshim/main.go:111 | server stopped successfully | 022fe4025860743140a130a1c2faf0a494228e1735a9386cb991f85c0d7ff276 | info | apps | mcr.microsoft.com/k8se/probe-shim:main-216e3b3 | F | containerappdemo--1a2trao-547977cb98-4fzxg | containerappdemo | stderr | probe-shim | 1641511120.96149 | redstone-0260ecc5 | ContainerAppConsoleLogs_CL |  

`

inuvano-labs commented 2 years ago

Can you double check your deployment? In the above log the only registries I see in "ContainerImage_s" are:

I would expect to see your ACR there?

kendallroden commented 2 years ago

@SoucianceEqdamRashti hi there! What is the application doing? Are you making use of TCP? We are still working on the TCP support in Container Apps, based on the logs it looks like that could be the case. Let me know!

SoucianceEqdamRashti commented 2 years ago

@kendallroden , the application isn't doing anything special. I just cloned the sotnet 6 webapi template with docker support and then tried to deploy it to azure container apps.

I think I know what the issue is but strange that is does not appear in the logs. I checked the box for https support. Running it in vs studio worked since it generates and accepte the self signed cert. But I didnt so it when running the container manually in the dockerfile. So I suspect that is the issue. But I would expect thatto be seen in the server logs..instead just error that the container does not start.

kevinruder commented 2 years ago

I had the same error @SoucianceEqdamRashti when trying to deploy my python FastAPI application.

Found this in log analytics:

msg_s :

  | error connecting to tcp address

error_s:

  | dial tcp [::1]:80: connect: connection refused

@kendallroden could this be related to the TCP support which you mentioned?

SoucianceEqdamRashti commented 2 years ago

I have tried to now deploy a container app (dotnet 6) with and without https and same issue.

If I run it locally with docker compose then it works fine.

It would be nice if there was a tutorial that went through the steps of pushing a asp.net core web api with and without https to container apps just to see if there is something missing in my steps nor not.

SoucianceEqdamRashti commented 2 years ago

Here is another example: https://my-container-app8.wonderfulsand-400d92f5.northeurope.azurecontainerapps.io/swagger/index.html I deployed it via the cli and get back a fqdn. But the response back is just 404 on any path.

I ran: az containerapp create --name my-container-app8 --resource-group $RESOURCE_GROUP --image $CONTAINER_IMAGE_NAME --environment $CONTAINERAPPS_ENVIRONMENT --registry-login-server $REGISTRY_LOGIN_SERVER --registry-username $REGISTRY_USERNAME --registry-password $REGISTRY_PASSWORD --target-port 80 --ingress 'external' --query configuration.ingress.fqdn

All it does is login to my ACR and pulls the image..

inuvano-labs commented 2 years ago

@SoucianceEqdamRashti I'm running a web app in the same region (albeit on different port to you) and works fine for me.

What does the logs for the container show under the LA workspace? Perhaps something is failing on startup?

inuvano-labs commented 2 years ago

I had the same error @SoucianceEqdamRashti when trying to deploy my python FastAPI application.

Found this in log analytics:

msg_s :

  | error connecting to tcp address

error_s:

  | dial tcp [::1]:80: connect: connection refused

@kendallroden could this be related to the TCP support which you mentioned?

are you seeing this from the probe-shim container or the application container in the LA workspace? I seem numerous connection refused errors, but I think this is just down to liveness/readiness probing.

JeroenvdBurg commented 2 years ago

be sure to set the port you expose in the docker container to the same port on your ingress settings. In my case port 3000

image

ffrankozz commented 2 years ago

I have the same issue I think. I am deploying through the portal. I have provisioned a resource group in N. Europe. I can deploy a web api whose image is in docker hub However, I cannot deploy a simple blazor app whose image is also in docker hub. I have created the image via Visual Studio code. Container app is created but during deployment phase I get conflict error. When looked into the logs: I read: "error connecting to tcp address" I then spotted from querying the logs that it is complaining about being "unable to start Kestrel server". Unable to start Kestrel. |
System.Net.Sockets.SocketException (13): Permission denied

Any idea why this my be happening for Blazor app?

timoknapp commented 2 years ago

I had the same error @SoucianceEqdamRashti when trying to deploy my python FastAPI application. Found this in log analytics: msg_s : | error connecting to tcp address error_s: | dial tcp [::1]:80: connect: connection refused @kendallroden could this be related to the TCP support which you mentioned?

are you seeing this from the probe-shim container or the application container in the LA workspace? I seem numerous connection refused errors, but I think this is just down to liveness/readiness probing.

I see the exact same issue in my logs when starting one of my containers (https://github.com/microsoft/azure-container-apps/issues/118). The errors are always thrown by the "probe-shim" complaining about not being able to create a TCP connection (dial tcp [::1]:8080: connect: connection refused). While looking at my logs I can clearly see that my application (Spring Boot) is still in the startup phase while "probe-shim" is already complaining about not being able to establish a connection.

So my best guess is actually that the initialDelaySeconds (see K8s docs) config for the readiness/liveness probes is not configured ideally within the underlying K8s environment of Container Apps.

I tested it also with a Go-based container and in here it works out just fine. So I assume that this issue only occurs with 'non lightweight' applications which need more time while starting.

I guess this could be fixed by allowing custom probe configuraton, as described in (#118)

@kendallroden Are you referring to TCP support for readiness/liveness probes or do you mean allowing TCP connections within Container Apps in general?

mrentier commented 1 year ago

I am seeing a very similar issue. Took the standard weather API and deployed it with following bicep:

resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
  name: logAnalyticsWorkspaceName
  location: location
  properties: any({
    retentionInDays: 30   
    features: {
      searchVersion: 1
    }
    sku: {
      name: 'PerGB2018'
    }
  })
}

resource applicationInsights 'Microsoft.Insights/components@2020-02-02' = {
  name: appInsightsName
  location: location
  kind: 'web'
  properties: {
    Application_Type: 'web'
    WorkspaceResourceId: logAnalyticsWorkspace.id
  }
}

resource containerAppsEnvironment 'Microsoft.App/managedEnvironments@2022-03-01' = {
  name: containerAppsEnvironmentName
  location: location
  properties: {    
    appLogsConfiguration: {
      destination: 'log-analytics'
      logAnalyticsConfiguration: {
        customerId: logAnalyticsWorkspace.properties.customerId
        sharedKey: logAnalyticsWorkspace.listKeys().primarySharedKey
      }
    }
  }
}

and module:

param location string
param uniqueSeed string
@description('The name of the containerApp to be created.')
param appName string  = 'weather-api-${uniqueString(uniqueSeed)}'
param containerAppsEnvironmentId string
param registryServer string
param registry string
param containerRegistryUsername string
@secure()
param containerRegistryPassword string

var containerRegistryPasswordRef = 'container-registry-password'

resource containerApp 'Microsoft.App/containerApps@2022-03-01' = {
  name: appName
  location: location
  properties: {
    managedEnvironmentId: containerAppsEnvironmentId
    template: {     
      containers: [
        {
          name: 'weatherforecast-api'
          image: '${registryServer}/${registry}/weatherforecast.api:dev'
          resources: {
            cpu: '0.5'
            memory: '1Gi'
          }       
          probes: [
          {
            type: 'liveness'
            initialDelaySeconds: 15
            periodSeconds: 15
            failureThreshold: 3
            successThreshold: 1
            httpGet: {
              port: 80
            }
          }              
          {
            type: 'readiness'
            initialDelaySeconds: 15
            failureThreshold: 25
            periodSeconds: 5
            successThreshold: 1
            timeoutSeconds: 5
            httpGet: {
              port: 80
            }
          }
          {
            type: 'startup'
            initialDelaySeconds: 15
            failureThreshold: 25
            periodSeconds: 5
            successThreshold: 1
            timeoutSeconds: 5
            httpGet: {
            port: 80
          }
        }]   
      }]
      scale: {
        minReplicas: 1
        maxReplicas: 5
        rules: [
            {
            name: 'http-rule'
            http: {
              metadata: {
                concurrentRequests: '50'
              }
            }
            }
          ]
      }
    }
    configuration: { 
     secrets: [
        {
          name: containerRegistryPasswordRef
          value: containerRegistryPassword
        }     
      ]        
      registries: [
        {
          server: registryServer
          username: containerRegistryUsername
          passwordSecretRef: containerRegistryPasswordRef
        }
      ]     
      activeRevisionsMode: 'single'
      dapr: {
        enabled: false
        //appId: 'weatherforecast-api'
        //appPort: 80
      }
      ingress: {
        external: true
        targetPort: 80
      }
    }
  }
}

The container is never provisioned. Only error I am seeing in the logs is the probes timing out.

edgarhuichen commented 7 months ago

I have got a similar issue. I have a FastAPI-based container app that accepts HTTP requests, processes some data, and returns a response. My app is running a consumption plan with HTTP scaling rules. When a new replica is created, it can't start the app instance with this error: azure container apps readiness probe failed: connection refused. As a result, the request times out.