Fails to fetch defaultVersion.bookworm.txt
Bug Report
-
At what date and time did you most recently experience the problem? Nov 29, 1 AM CST
-
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use. Azure web apps
-
If your repo is publicly available please share its URL:
-
What happened? Refuses to deploy. I get this error: Error: System.AggregateException: Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies'
Nothing is at that url https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt
-
What did you expect or want to happen?
-
How can we reproduce it?
-
Do you have log output? Please include between the backticks:
2023-11-29T08:05:33.860Z - Updating submodules.
2023-11-29T08:05:34.965Z - Preparing deployment for commit id 'fd92faec-1'.
2023-11-29T08:05:35.196Z - PreDeployment: context.CleanOutputPath False
2023-11-29T08:05:35.277Z - PreDeployment: context.OutputPath /home/site/wwwroot
2023-11-29T08:05:35.386Z - Repository path is /tmp/zipdeploy/extracted
2023-11-29T08:05:35.487Z - Running oryx build...
2023-11-29T08:05:35.497Z - Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8dbf0b1f73c4826 -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log
2023-11-29T08:05:37.199Z - Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
2023-11-29T08:05:37.223Z - You can report issues at https://github.com/Microsoft/Oryx/issues
2023-11-29T08:05:37.346Z - Oryx Version: 0.2.20230829.1, Commit: 5bd3088141516cdbd815d62ada052654e91f0429, ReleaseTagName: 20230829.1
2023-11-29T08:05:37.393Z - Build Operation ID: a2427e4b84bb8500
2023-11-29T08:05:37.405Z - Repository Commit : fd92faec-1b0b-4823-a1ab-e2ccd5e18f04
2023-11-29T08:05:37.433Z - OS Type : bookworm
2023-11-29T08:05:37.443Z - Image Type : githubactions
2023-11-29T08:05:37.463Z - Detecting platforms...
2023-11-29T08:07:20.457Z - Error: Oops... An unexpected error has occurred.
2023-11-29T08:07:20.487Z - Error: System.AggregateException: Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies'
2023-11-29T08:07:20.495Z - System.AggregateException: One or more errors occurred. (A task was canceled.)
2023-11-29T08:07:20.502Z - ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
2023-11-29T08:07:20.510Z - at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
2023-11-29T08:07:20.518Z - at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2023-11-29T08:07:20.525Z - at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
2023-11-29T08:07:20.534Z - at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103
2023-11-29T08:07:20.543Z - at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 83
2023-11-29T08:07:20.566Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonSdkStorageVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonSdkStorageVersionProvider.cs:line 25
2023-11-29T08:07:20.592Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonVersionProvider.cs:line 38
2023-11-29T08:07:20.601Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.GetVersionUsingHierarchicalRules(String detectedVersion) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 707
2023-11-29T08:07:20.608Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 415
2023-11-29T08:07:20.618Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.Detect(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 145
2023-11-29T08:07:20.629Z - at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs:line 53
2023-11-29T08:07:20.637Z - at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 75
2023-11-29T08:07:20.644Z - at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63
2023-11-29T08:07:20.652Z - at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278
2023-11-29T08:07:20.663Z - at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87
2023-11-29T08:07:20.676Z - at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.<>c__DisplayClass25_0.<Export>b__1(BuildCommandProperty prop) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 169
2023-11-29T08:07:20.696Z - at System.CommandLine.Handler.<>c__DisplayClass13_0`1.<SetHandler>b__0(InvocationContext context)
2023-11-29T08:07:20.713Z - at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
2023-11-29T08:07:20.726Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:20.738Z - at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
2023-11-29T08:07:20.752Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
2023-11-29T08:07:20.760Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:20.767Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<BuildInvocationChain>b__0(InvocationContext invocationContext, Func`2 _)
2023-11-29T08:07:20.774Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:20.784Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
2023-11-29T08:07:20.797Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:20.806Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<UseParseErrorReporting>b__0(InvocationContext context, Func`2 next)
2023-11-29T08:07:20.814Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:20.822Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
2023-11-29T08:07:20.831Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:20.839Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<UseHelp>b__0(InvocationContext context, Func`2 next)
2023-11-29T08:07:20.847Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:20.866Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
2023-11-29T08:07:20.879Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:20.890Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<UseVersionOption>b__0(InvocationContext context, Func`2 next)
2023-11-29T08:07:20.898Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:20.907Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
2023-11-29T08:07:20.917Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:20.926Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<UseTypoCorrections>b__0(InvocationContext context, Func`2 next)
2023-11-29T08:07:20.934Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:20.952Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
2023-11-29T08:07:20.970Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:20.990Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseSuggestDirective>b__18_0(InvocationContext context, Func`2 next)
2023-11-29T08:07:21.004Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:21.026Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
2023-11-29T08:07:21.036Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:21.045Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<UseParseDirective>b__0(InvocationContext context, Func`2 next)
2023-11-29T08:07:21.057Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:21.068Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
2023-11-29T08:07:21.076Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:21.085Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<RegisterWithDotnetSuggest>b__5_0(InvocationContext context, Func`2 next)
2023-11-29T08:07:21.092Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:21.100Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseEnvironmentVariableDirective>b__6_0(InvocationContext context, Func`2 next)
2023-11-29T08:07:21.114Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:21.133Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
2023-11-29T08:07:21.147Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:21.154Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<UseExceptionHandler>b__0(InvocationContext context, Func`2 next)
2023-11-29T08:07:21.165Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
2023-11-29T08:07:21.174Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<CancelOnProcessTermination>b__1_0>d.MoveNext()
2023-11-29T08:07:21.186Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:21.199Z - at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<CancelOnProcessTermination>b__1_0(InvocationContext context, Func`2 next)
2023-11-29T08:07:21.207Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.215Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.224Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.232Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.241Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.255Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.262Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.270Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.277Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.284Z - at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
2023-11-29T08:07:21.296Z - at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)
2023-11-29T08:07:21.302Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:21.310Z - at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)
2023-11-29T08:07:21.319Z - at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(IConsole console)
2023-11-29T08:07:21.328Z - at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
2023-11-29T08:07:21.335Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:21.342Z - at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
2023-11-29T08:07:21.359Z - at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args) in /usr/oryx/src/BuildScriptGeneratorCli/Program.cs:line 51
2023-11-29T08:07:21.370Z - at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
2023-11-29T08:07:21.388Z - at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args)
2023-11-29T08:07:21.399Z - at Microsoft.Oryx.BuildScriptGeneratorCli.Program.<Main>(String[] args)
2023-11-29T08:07:21.407Z - --- End of stack trace from previous location ---
2023-11-29T08:07:21.424Z - --- End of inner exception stack trace ---
2023-11-29T08:07:21.433Z - at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2023-11-29T08:07:21.441Z - at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
2023-11-29T08:07:21.459Z - at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103
2023-11-29T08:07:21.473Z - at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 109
2023-11-29T08:07:21.496Z - at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 83
2023-11-29T08:07:21.505Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonSdkStorageVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonSdkStorageVersionProvider.cs:line 25
2023-11-29T08:07:21.514Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonVersionProvider.cs:line 38
2023-11-29T08:07:21.531Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.GetVersionUsingHierarchicalRules(String detectedVersion) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 707
2023-11-29T08:07:21.550Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 415
2023-11-29T08:07:21.568Z - at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.Detect(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 145
2023-11-29T08:07:21.592Z - at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs:line 53
2023-11-29T08:07:21.614Z - at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 75
2023-11-29T08:07:21.635Z - at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63
2023-11-29T08:07:21.662Z - at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278
2023-11-29T08:07:21.701Z - at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87
2023-11-29T08:07:21.742Z - Error: Oops... An unexpected error has occurred.\nError: System.AggregateException: Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies'\nSystem.AggregateException: One or more errors occurred. (A task was canceled.)\n ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.\n at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\n at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\n at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103\n at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 83\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonSdkStorageVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonSdkStorageVersionProvider.cs:line 25\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonVersionProvider.cs:line 38\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.GetVersionUsingHierarchicalRules(String detectedVersion) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 707\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 415\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.Detect(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 145\n at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs:line 53\n at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 75\n at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63\n at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278\n at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87\n at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.<>c__DisplayClass25_0.<Export>b__1(BuildCommandProperty prop) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 169\n at System.CommandLine.Handler.<>c__DisplayClass13_0`1.<SetHandler>b__0(InvocationContext context)\n at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<BuildInvocationChain>b__0(InvocationContext invocationContext, Func`2 _)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<UseParseErrorReporting>b__0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<UseHelp>b__0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<UseVersionOption>b__0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<UseTypoCorrections>b__0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseSuggestDirective>b__18_0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<UseParseDirective>b__0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<RegisterWithDotnetSuggest>b__5_0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseEnvironmentVariableDirective>b__6_0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<UseExceptionHandler>b__0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<CancelOnProcessTermination>b__1_0>d.MoveNext()\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<CancelOnProcessTermination>b__1_0(InvocationContext context, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)\n at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)\n at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(IConsole console)\n at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)\n at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args) in /usr/oryx/src/BuildScriptGeneratorCli/Program.cs:line 51\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args)\n at Microsoft.Oryx.BuildScriptGeneratorCli.Program.<Main>(String[] args)\n--- End of stack trace from previous location ---\n\n --- End of inner exception stack trace ---\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\n at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\n at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103\n at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 109\n at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 83\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonSdkStorageVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonSdkStorageVersionProvider.cs:line 25\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonVersionProvider.cs:line 38\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.GetVersionUsingHierarchicalRules(String detectedVersion) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 707\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 415\n at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.Detect(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 145\n at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs:line 53\n at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 75\n at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63\n at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278\n at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87\n/bin/bash -c "oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8dbf0b1f73c4826 -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log ; exit $PIPESTATUS "
2023-11-29T08:07:21.991Z - Generating summary of Oryx build
2023-11-29T08:07:22.103Z - Parsing the build logs
2023-11-29T08:07:22.186Z - Found 0 issue(s)
2023-11-29T08:07:22.375Z - Build Summary :
2023-11-29T08:07:22.462Z - ===============
2023-11-29T08:07:22.554Z - Errors (0)
2023-11-29T08:07:22.644Z - Warnings (0)
2023-11-29T08:07:23.533Z - Deployment Failed. deployer = GITHUB_ZIP_DEPLOY deploymentPath = ZipDeploy. Extract zip. Remote build.
This is the error from build-debug.log
2023-11-29 15:10:56.7665|ERROR|Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase|Exception caughtSystem.AggregateException: Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies'
System.AggregateException: One or more errors occurred. (A task was canceled.)
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 83
at Microsoft.Oryx.BuildScriptGenerator.Python.PythonSdkStorageVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonSdkStorageVersionProvider.cs:line 25
at Microsoft.Oryx.BuildScriptGenerator.Python.PythonVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Python/VersionProviders/PythonVersionProvider.cs:line 38
at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.GetVersionUsingHierarchicalRules(String detectedVersion) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 707
at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 415
at Microsoft.Oryx.BuildScriptGenerator.Python.PythonPlatform.Detect(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/Python/PythonPlatform.cs:line 145
at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs:line 53
at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 75
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278
at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.<>c__DisplayClass25_0.<Export>b__1(BuildCommandProperty prop) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 169
at System.CommandLine.Handler.<>c__DisplayClass13_0`1.<SetHandler>b__0(InvocationContext context)
at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<BuildInvocationChain>b__0(InvocationContext invocationContext, Func`2 _)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<UseParseErrorReporting>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<UseHelp>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<UseVersionOption>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<UseTypoCorrections>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseSuggestDirective>b__18_0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<UseParseDirective>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<RegisterWithDotnetSuggest>b__5_0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseEnvironmentVariableDirective>b__6_0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<UseExceptionHandler>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<CancelOnProcessTermination>b__1_0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<CancelOnProcessTermination>b__1_0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(IConsole console)
at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args) in /usr/oryx/src/BuildScriptGeneratorCli/Program.cs:line 51
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args)
at Microsoft.Oryx.BuildScriptGeneratorCli.Program.<Main>(String[] args)
--- End of stack trace from previous location ---
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103
Same story with NodeJS App Service. While the quoted docs say allow outbound access from the webapp to oryx-cdn.microsoft.io on port 443:
-
why is it not allowed by default when setup cannot succeed without it?
-
how to edit outbound config when there's no option to do so in networking tab?
-
when trying to resolve the issue, I created a Virtual Network where I was planning to add the outbound rules. To connect the network with App Service, I chose "not configured" from the 1st screenshot, then "Add virtual network integration" button that took me to network selection. However, both dropdowns: "virtual network" and "subnet" are empty.
It looks like a bug but in case it's by design: please, define better in the docs what steps need to be done to "allow outbound access from the webapp to oryx-cdn.microsoft.io on port 443" because it's not clear.
Edit:
to make it more interesting, the summary of deployment shows 0 errors with deployment failed status
cc @william-msft
I've started having the same issue as of today, no issues for months prior. However, mine is a NodeJS application so I find it strange that its doing version checks against python:
Error: System.AggregateException: Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies'
Same as @codylittle im facing the same issue for a node js app
Sorry for the slow reply. A fix was pushed to make https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt available. Could someone reproducing this issue please give it another try?
Hey @daniv-msft - running the same azure pipeline I now get:
Error: Platform 'python' version '3.8' is unsupported. Supported versions: /bin/bash -c "oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20 continued stacktrace
I'm quite confused why this is happening on a nodejs (works on LTS 18, but not LTS 20) webapp.
Thanks @codylittle! @cormacpayne, I remember that we changed the way we validate the runtime version recently. Do you think it could be related?
I will say—my issue only showed up after upgrading from 18 to 20. However, the bug disappeared about 12 hours after I originally reported it. I kept redeploying and eventually it "magically worked". I was making minor changes to the pipeline and that sort of thing, but I can't remember much, other than that it suddenly started working.
I am having the exact same issue right now... Would love if someone could properly isolate this. Can't seem to get it right.
@daniv-msft
The error is:
Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8dc0425e13990f8 -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues
Oryx Version: 0.2.20230829.1, Commit: 5bd3088141516cdbd815d62ada052654e91f0429, ReleaseTagName: 20230829.1
Build Operation ID: 2d89f07363dd467c
Repository Commit : 39eb000f-e9c2-4455-b9f3-782182de49bf
OS Type : bookworm
Image Type : githubactions
Detecting platforms...
Error: Oops... An unexpected error has occurred.
Error: System.AggregateException: Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/php/defaultVersion.bookworm.txt' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies'
System.AggregateException: One or more errors occurred. (A task was canceled.)
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 83
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpSdkStorageVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Php/VersionProviders/PhpSdkStorageVersionProvider.cs:line 25
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Php/VersionProviders/PhpVersionProvider.cs:line 37
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.<ResolveVersionsUsingHierarchicalRules>g__ResolvePhpVersion|28_0(String detectedVersion) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 369
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.ResolveVersionsUsingHierarchicalRules(PhpPlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 339
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 210
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.Detect(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 105
at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs:line 53
at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 75
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278
at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.<>c__DisplayClass25_0.<Export>b__1(BuildCommandProperty prop) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 169
at System.CommandLine.Handler.<>c__DisplayClass13_0`1.<SetHandler>b__0(InvocationContext context)
at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<BuildInvocationChain>b__0(InvocationContext invocationContext, Func`2 _)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<UseParseErrorReporting>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<UseHelp>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<UseVersionOption>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<UseTypoCorrections>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseSuggestDirective>b__18_0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<UseParseDirective>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<RegisterWithDotnetSuggest>b__5_0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseEnvironmentVariableDirective>b__6_0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<UseExceptionHandler>b__0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<CancelOnProcessTermination>b__1_0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<CancelOnProcessTermination>b__1_0(InvocationContext context, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(IConsole console)
at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args) in /usr/oryx/src/BuildScriptGeneratorCli/Program.cs:line 51
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args)
at Microsoft.Oryx.BuildScriptGeneratorCli.Program.<Main>(String[] args)
--- End of stack trace from previous location ---
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 109
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 83
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpSdkStorageVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Php/VersionProviders/PhpSdkStorageVersionProvider.cs:line 25
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Php/VersionProviders/PhpVersionProvider.cs:line 37
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.<ResolveVersionsUsingHierarchicalRules>g__ResolvePhpVersion|28_0(String detectedVersion) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 369
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.ResolveVersionsUsingHierarchicalRules(PhpPlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 339
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 210
at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.Detect(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 105
at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs:line 53
at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 75
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278
at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87
Note that I am not using VNET or App Environment, and that my networking config looks exactly like @ilonatommy 's
I'm having the same issue in here with a nodejs 20lts version. any1 knows how to solve this or its just a fix that we will have to wait?
5:00:31 PM portalpostulacionesdsr: Running oryx build...
5:00:31 PM portalpostulacionesdsr: Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8dc0bcd79022d3e -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log
5:00:33 PM portalpostulacionesdsr: Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
5:00:33 PM portalpostulacionesdsr: You can report issues at https://github.com/Microsoft/Oryx/issues
5:00:33 PM portalpostulacionesdsr: Oryx Version: 0.2.20230829.1, Commit: 5bd3088141516cdbd815d62ada052654e91f0429, ReleaseTagName: 20230829.1
5:00:33 PM portalpostulacionesdsr: Build Operation ID: bd8b65b5c84baa7a
5:00:33 PM portalpostulacionesdsr: Repository Commit : 55cde109-f589-4c35-a61d-2020cfe350ea
5:00:33 PM portalpostulacionesdsr: OS Type : bookworm
5:00:33 PM portalpostulacionesdsr: Image Type : githubactions
5:00:33 PM portalpostulacionesdsr: Detecting platforms...
5:02:19 PM portalpostulacionesdsr: Error: Oops... An unexpected error has occurred.
5:02:19 PM portalpostulacionesdsr: Error: System.AggregateException: Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/php/defaultVersion.bookworm.txt' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies'
5:02:19 PM portalpostulacionesdsr: System.AggregateException: One or more errors occurred. (A task was canceled.)
5:02:19 PM portalpostulacionesdsr: ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
5:02:20 PM portalpostulacionesdsr: at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
5:02:20 PM portalpostulacionesdsr: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
5:02:20 PM portalpostulacionesdsr: at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetDefaultVersion(String platformName, String sdkStorageBaseUrl) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 103
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName) in /usr/oryx/src/BuildScriptGenerator/SdkStorageVersionProviderBase.cs:line 83
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.Php.PhpSdkStorageVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Php/VersionProviders/PhpSdkStorageVersionProvider.cs:line 25
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.Php.PhpVersionProvider.GetVersionInfo() in /usr/oryx/src/BuildScriptGenerator/Php/VersionProviders/PhpVersionProvider.cs:line 37
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.<ResolveVersionsUsingHierarchicalRules>g__ResolvePhpVersion|28_0(String detectedVersion) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 369
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.ResolveVersionsUsingHierarchicalRules(PhpPlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 339
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 210
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.Php.PhpPlatform.Detect(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/Php/PhpPlatform.cs:line 105
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context) in /usr/oryx/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs:line 53
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 75
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87
5:02:20 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.<>c__DisplayClass25_0.<Export>b__1(BuildCommandProperty prop) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 169
5:02:20 PM portalpostulacionesdsr: at System.CommandLine.Handler.<>c__DisplayClass13_0`1.<SetHandler>b__0(InvocationContext context)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
5:02:21 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
5:02:21 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<BuildInvocationChain>b__0(InvocationContext invocationContext, Func`2 _)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
5:02:21 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<UseParseErrorReporting>b__0(InvocationContext context, Func`2 next)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
5:02:21 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<UseHelp>b__0(InvocationContext context, Func`2 next)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
5:02:21 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<UseVersionOption>b__0(InvocationContext context, Func`2 next)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
5:02:21 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<UseTypoCorrections>b__0(InvocationContext context, Func`2 next)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:21 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
5:02:21 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseSuggestDirective>b__18_0(InvocationContext context, Func`2 next)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
5:02:22 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<UseParseDirective>b__0(InvocationContext context, Func`2 next)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
5:02:22 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<RegisterWithDotnetSuggest>b__5_0(InvocationContext context, Func`2 next)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<UseEnvironmentVariableDirective>b__6_0(InvocationContext context, Func`2 next)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:22 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
5:02:22 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<UseExceptionHandler>b__0(InvocationContext context, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<CancelOnProcessTermination>b__1_0>d.MoveNext()
5:02:23 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<CancelOnProcessTermination>b__1_0(InvocationContext context, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.<BuildInvocationChain>b__2(InvocationContext ctx, Func`2 next)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)
5:02:23 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>g__FullInvocationChainAsync|2_0(InvocationContext context)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(IConsole console)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
5:02:23 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:23 PM portalpostulacionesdsr: at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
5:02:24 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args) in /usr/oryx/src/BuildScriptGeneratorCli/Program.cs:line 51
5:02:24 PM portalpostulacionesdsr: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
5:02:24 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGeneratorCli.Program.Main(String[] args)
5:02:24 PM portalpostulacionesdsr: at Microsoft.Oryx.BuildScriptGeneratorCli.Program.<Main>(String[] args)
5:02:36 PM portalpostulacionesdsr: Deployment failed
@GNSBENV It might not be the most convenient solution as builds take longer, but after experiencing many issues with building from code I found it's easiest to just pop a Dockerfile into the project and serve with nginx, something like
# Stage 1: Build the React application
FROM node:20-slim as build-stage
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Stage 2: Serve the application with Nginx
FROM nginx:alpine
COPY --from=build-stage /usr/src/app/build /usr/share/nginx/html
COPY nginxConfig/nginx.conf /etc/nginx/conf.d/default.conf #
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Then I just set up automated builds for the project repo in docker hub, got an access token and the webhook address from the webhooks tab, and set my Azure app with continuous deployment of that image.
You might need to configure nginx.conf to serve your app correctly
Thanks @cormacpayne for investigating this separately. This issue is trickier than initially expected. Long story short, this is very likely related to Node20 using a different base OS (Debian Bookworm) than Node 18 (Debian Bullseye). When building, if any files are present in the project (at the root level only? @cormacpayne could you please confirm?) that Oryx matches to another language (.py file for Python, etc.), Oryx will try to download the SDKs for this other language as well. If this other language is not available on Debian Bookworm, then the issue reproduces.
The best solution we have is to add support for these other languages on Bookworm as well, and we're working on that. Alternatively, if removing the other non-Node20 files is a possibility, that should be sufficient to remove the issue. I know that it's not a great workaround, so we're pushing to get the Bookworm images available ASAP.