Azure'da dağıtılmış webjobs var ve daha önce çalışmıştık ancak en son dağıtımımızdan sonra, webjobs'larımızın "Azure Storage Exception" a attığı sorunları yaşıyoruz.Azure Web Jobs Atar Azure Storage 404 Bulunamadı
[03/25/2016 01:38:26 > 5f45b8: SYS INFO] Status changed to Initializing
[03/25/2016 01:38:40 > 5f45b8: SYS INFO] Run script 'ListNet.JobController.exe' with script host - 'WindowsScriptHost'
[03/25/2016 01:38:40 > 5f45b8: SYS INFO] Status changed to Running
[03/25/2016 01:38:41 > 5f45b8: INFO] Found the following functions:
[03/25/2016 01:38:41 > 5f45b8: INFO] ListNet.JobController.Functions.ManualTrigger
[03/25/2016 01:38:41 > 5f45b8: INFO] Executing: 'Functions.ManualTrigger' because This was function was programmatically called via the host APIs.
[03/25/2016 01:41:12 > 5f45b8: ERR ]
[03/25/2016 01:41:12 > 5f45b8: ERR ] Unhandled Exception: Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException[T](HttpStatusCode expectedStatusCode, HttpStatusCode actualStatusCode, T retVal, StorageCommandBase`1 cmd, Exception ex)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.WindowsAzure.Storage.Blob.CloudBlobSharedImpl.<DeleteBlobImpl>b__1b(RESTCommand`1 cmd, HttpWebResponse resp, Exception ex, OperationContext ctx)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse[T](IAsyncResult getResponseResult)
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of inner exception stack trace ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndExecuteAsync[T](IAsyncResult result)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.EndDelete(IAsyncResult asyncResult)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.<>c__DisplayClass4.<CreateCallbackVoid>b__3(IAsyncResult ar)
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of stack trace from previous location where exception was thrown ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.Azure.WebJobs.Host.Protocols.PersistentQueueWriter`1.<DeleteAsync>d__6.MoveNext()
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of stack trace from previous location where exception was thrown ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.Azure.WebJobs.Host.Loggers.CompositeFunctionInstanceLogger.<DeleteLogFunctionStartedAsync>d__e.MoveNext()
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of stack trace from previous location where exception was thrown ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<TryExecuteAsync>d__1.MoveNext()
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of stack trace from previous location where exception was thrown ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.HeartbeatFunctionExecutor.<TryExecuteAsync>d__0.MoveNext()
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of stack trace from previous location where exception was thrown ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.AbortListenerFunctionExecutor.<TryExecuteAsync>d__0.MoveNext()
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of stack trace from previous location where exception was thrown ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.ShutdownFunctionExecutor.<TryExecuteAsync>d__0.MoveNext()
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of stack trace from previous location where exception was thrown ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.Azure.WebJobs.JobHost.<CallAsyncCore>d__7.MoveNext()
[03/25/2016 01:41:12 > 5f45b8: ERR ] --- End of stack trace from previous location where exception was thrown ---
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at Microsoft.Azure.WebJobs.JobHost.Call(MethodInfo method)
[03/25/2016 01:41:12 > 5f45b8: ERR ] at ListNet.JobController.Program.Main()
[03/25/2016 01:41:12 > 5f45b8: SYS INFO] Status changed to Failed
[03/25/2016 01:41:12 > 5f45b8: SYS ERR ] Job failed due to exit code -532462766
Bu benzer sorunu araştırdık ama zaten benim masmavi depolama bu kaplar vardır:
Azure Web Job-The remote server returned 404
http://i.stack.imgur.com/HkCab.png
Notlar
- kullandığım manuel tetik
- Varsayılan bir web işi oluşturup başarıyla çalıştırıyorum
"AzureWebJobsStorage" depolama bağlantı dizesi doğru ve Web Uygulaması'nın portal uygulama ayarlarında beklenmedik bir şey tarafından geçersiz kılınmıyor mu? –
AzureStorageConnection dizesi doğru. AzureWebJob Yapılandırmamdaki bağlantı dizesi, app.config 'daki bağlantı dizgisi ile aynıdır, bu bağlantı dizesini masmavi web işinin Configure (Yapılandır) sekmesinden kaldırmalı mıyım? –
Şimdi, yapılandırma dizesindeki bağlantı dizesini kaldırdığımda çalışır. –