You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Receiver encountered a transient error whereby Azure Storage could not be reached. The following exception was thrown:
UnhandledException: Microsoft.Azure.Storage.StorageException: No such host is known —> System.Net.Http.HttpRequestException: No such host is known —> System.Net.Sockets.SocketException: No such host is known
at System.Net.Http.ConnectHelper.ConnectAsync(Stringhost,Int32port,CancellationTokencancellationToken)
End of inner exception stack trace
at System.Net.Http.ConnectHelper.ConnectAsync(Stringhost,Int32port,CancellationTokencancellationToken) at System.Threading.Tasks.ValueTask1.get_Result()
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessagerequest,CancellationTokencancellationToken)
at System.Threading.Tasks.ValueTask1.get_Result()
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask1creationTask) at System.Threading.Tasks.ValueTask1.get_Result()
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessagerequest,BooleandoRequestAuth,CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessagerequest,CancellationTokencancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1senaTask,HttpRequestMessagerequest,CancellationTokenSourcects,BooleandisposeCts)
at Microsoft.Azure.Storage.Core.Executor.Executor.ExecuteAsync[T](RESTCommand`1cmd,IRetryPolicypolicy,OperationContextoperationContext,CancellationTokentoken)
End ofinner exception stack trace
at Microsoft.Azure.Storage.Blob.BlobWriteStreamBase.ThrowLastExceptionlfExists() at Microsoft.Azure.Storage.Blob.BlobWriteStream.FlushAsync(Cancel1ationTokentoken) at Microsoft.Azure.Storage.Blob.BlobWriteStream.CommitAsync()at Microsoft.Azure.Storage.Blob.BlobWriteStream.Dispose Boolean disposing)atSystem`10.Stream.Close()
at Microsoft.Azure.Storage.Blob.CloudAppendBlob.UploadFromStreamHelper(Streamsource, Nullable`1length,BooleancreateNew,AccessConditionaccessCondition,BlobRequestOptionsoptions,OperationContextoperationContext)
at Microsoft.Azure.Storage.Blob.CloudAppendBlob.AppendFromStream(Streamsource,AccessConditionaccessCondition,BlobRequestOptions options,OperationContextoperationContext)
at Microsoft.Azure.Storage.Blob.CloudAppendBlob.AppendFromByteArray(Byte[]buffer,Int32index,Int32count,AccessConditionaccessCondition,BlobRequestOptionsoptions,OperationContextoperationContext)
at Microsoft.Azure.Storage.Blob.CloudAppendBlob.AppendText(Stringcontent,Encodingencoding,AccessConditionaccessCondition,BlobRequestOptionsoptions,OperationContextoperationContext)
at Endjin.Ais.Receiver.StorageClient.AppendMessages(IList`1 messages)inC:\Ais.Net.Receiver\Solutions\Ais.Net.Receiver\StorageClient.cs:1ine 43
at Endjin.Ais.Receiver.Program.OnMessageReceived(IList`1messages)inC:\Ais.Net.Receiver\Solutions\Ais.Net.Receiver\Program.cs:line51atSystem.Reactive.AnonymousSafeObserver`1.OnNext(Tvalue)in D:\a\l\s\Rx.NET\Source\src\System.Reactive\AnonymousSafeObserver.cs:line 44
at System.Reactive.Subjects.Subject`1.OnNext(Tvalue)in D:\a\l\s\Rx.NET\Source\src\System.Reactive\Subjects\Subject.cs:line 148
at Endjin.Ais.Receiver.NmeaReceiver.RecieveAsync()in C:\Ais.Net.Receiver\Solutions\Ais.Net.Receiver\NmeaReceiver.cs:line 61
at Endiin.Ais.Receiver.Program.Main(String[]args)in C:\Ais.Net.Receiver\Solutions\Ais.Net.Receiver\Program.es:line 31
at Endjin.Ais.Receiver.Program.<Main>(String[]args)
Consider refactoring the code to use TPL Dataflow and either using a BufferBlock to hold incoming messages while trying to re-establish a connection with Azure Storage, or write messages to a local repository, which are then transmitted, in order, when the connection is re-established.
The text was updated successfully, but these errors were encountered:
The Receiver encountered a transient error whereby Azure Storage could not be reached. The following exception was thrown:
Consider refactoring the code to use TPL Dataflow and either using a BufferBlock to hold incoming messages while trying to re-establish a connection with Azure Storage, or write messages to a local repository, which are then transmitted, in order, when the connection is re-established.
The text was updated successfully, but these errors were encountered: