App Service for LinuxのWebジョブ作成不可

WhiteNoise0000 0 評価のポイント
2024-12-12T09:44:04.4766667+00:00

App Service for LinuxのWebジョブ(preview)にて、ジョブ作成時にエラーが発生します。
1行echoするだけの簡易な.shでも失敗するのですが、ログストリームに出力されるエラーから原因がいまいち把握できません。
対処方法についてご存じの方がいたらご教示ください。

■概要
リージョン:Japan West
SKUとサイズ:Basic (B1) ※試用期間中
発行モデル:コード
ランタイムスタック:Java 21 SE

■環境変数
WEBSITES_ENABLE_APP_SERVICE_STORAGE:true

■キャプチャ
ユーザーの画像

ユーザーの画像

■エラーログ(ログストリームへの出力)

2024-12-12T09:38:02.3583922Z Exception Message : One or more errors occurred. (Connection refused (169.254.129.6:50555)) 2024-12-12T09:38:02.4256243Z Exception StackTrace : at System.Threading.Tasks.Task1.get_Result() 2024-12-12T09:38:02.4264669Z at Kudu.Services.Diagnostics.HttpRequestExtensions.ForwardToContainer(String route, HttpRequestMessage request) in /tmp/KuduLite/Kudu.Services/Diagnostics/HttpRequestExtensions.cs:line 59 2024-12-12T09:38:02.4264911Z at Kudu.Services.Jobs.JobsController.ForwardJobRequestToContainer(String route) in /tmp/KuduLite/Kudu.Services/Jobs/JobsController.cs:line 198 2024-12-12T09:38:02.4270094Z at Kudu.Services.Jobs.JobsController.CreateTriggeredJob(String jobName) in /tmp/KuduLite/Kudu.Services/Jobs/JobsController.cs:line 151 2024-12-12T09:38:02.4270247Z at lambda_method20(Closure , Object , Object[] ) 2024-12-12T09:38:02.4279038Z at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2024-12-12T09:38:02.4279211Z at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() 2024-12-12T09:38:02.4442178Z at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2024-12-12T09:38:02.4442544Z at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() 2024-12-12T09:38:02.4442562Z --- End of stack trace from previous location --- 2024-12-12T09:38:02.4442582Z at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) 2024-12-12T09:38:02.4442603Z at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2024-12-12T09:38:02.4442625Z at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() 2024-12-12T09:38:02.4442641Z --- End of stack trace from previous location --- 2024-12-12T09:38:02.4442664Z at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2024-12-12T09:38:02.4442683Z at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) 2024-12-12T09:38:02.4442702Z at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2024-12-12T09:38:02.4442796Z at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() 2024-12-12T09:38:02.4442811Z --- End of stack trace from previous location --- 2024-12-12T09:38:02.4442831Z at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) 2024-12-12T09:38:02.4442851Z at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) 2024-12-12T09:38:02.4442868Z at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) 2024-12-12T09:38:02.4442887Z at Kudu.Services.Web.Tracing.TraceMiddleware.Invoke(HttpContext context) in /tmp/KuduLite/Kudu.Services.Web/Tracing/TraceMiddleware.cs:line 111 2024-12-12T09:38:02.4662329Z fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1] 2024-12-12T09:38:02.4662823Z An unhandled exception has occurred while executing the request. 2024-12-12T09:38:02.4662850Z System.Net.Http.HttpRequestException: Connection refused (169.254.129.6:50555) 2024-12-12T09:38:02.4668547Z ---> System.Net.Sockets.SocketException (111): Connection refused 2024-12-12T09:38:02.4960629Z at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 ) 2024-12-12T09:38:02.5138049Z at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs , ValueTask , CancellationToken ) 2024-12-12T09:38:02.5155527Z at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String , Int32 , HttpRequestMessage , Boolean , CancellationToken ) 2024-12-12T09:38:02.5165505Z --- End of inner exception stack trace --- 2024-12-12T09:38:02.5170401Z at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String , Int32 , HttpRequestMessage , Boolean , CancellationToken ) 2024-12-12T09:38:02.5545565Z at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage , Boolean , CancellationToken ) 2024-12-12T09:38:02.5548526Z at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage , Boolean , CancellationToken ) 2024-12-12T09:38:02.5549465Z at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage ) 2024-12-12T09:38:02.5550173Z at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken ) 2024-12-12T09:38:02.5550783Z at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage , Boolean , CancellationToken ) 2024-12-12T09:38:02.5551328Z at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage , Boolean , Boolean , CancellationToken ) 2024-12-12T09:38:02.5552575Z at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage , Boolean , CancellationToken ) 2024-12-12T09:38:02.5553126Z at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage , Boolean , CancellationToken ) 2024-12-12T09:38:02.5553895Z at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage , HttpCompletionOption , CancellationTokenSource , Boolean , CancellationTokenSource , CancellationToken ) 2024-12-12T09:38:02.5554505Z at Kudu.Services.Web.Tracing.TraceMiddleware.Invoke(HttpContext context) in /tmp/KuduLite/Kudu.Services.Web/Tracing/TraceMiddleware.cs:line 111 2024-12-12T09:38:02.5555111Z at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) 2024-12-12T09:38:02.5555718Z at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

Azure
Azure
Microsoft が管理する世界のデータ センター ネットワークを介してアプリケーションとサービスを構築、配置、および管理するインフラストラクチャおよびクラウド コンピューティング プラットフォーム。
511 件の質問
0 件のコメント コメントはありません
{count} 件の投票

1 件の回答

並べ替え方法: 最も役に立つ
  1. WhiteNoise0000 0 評価のポイント
    2024-12-12T10:30:26.1466667+00:00

    下記ドキュメントを参考にFTPSで資材を手配置したところ、しばらく経過してWebJobとして認識された気配があります。これで正しいのでしょうか・・・
    →目的の動作を確認出来たら自己解決でクローズにしようと思います。

    https://github.com/projectkudu/kudu/wiki/WebJobs

    Copying files directly in their proper location You can deploy a WebJob by directly copying the files under the locations discussed above (i.e. ). This can be done either by FTP, WebDeploy, Kudu Console or git.wwwroot/app_data/jobs/...

    ユーザーの画像

    ユーザーの画像


お客様の回答

回答は、質問作成者が [承諾された回答] としてマークできます。これは、ユーザーが回答が作成者の問題を解決したことを知るのに役立ちます。