Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

System.AggregateException: One or more errors occurred. (no replies)

$
0
0
I use MySql.Data 8.3.0 version for NET 8.0.

I call asynchronous methods but I don't use async void only async Task. But my try-catches do not work, I get this error in AppDomain.CurrentDomain.UnhandledException event handler:

System.AggregateException: One or more errors occurred. (Authentication to host '142.132.202.107' failed. (I/O error occurred.))
---> System.AggregateException: Authentication to host '142.132.202.107' failed. (I/O error occurred.)
---> System.IO.IOException: I/O error occurred.
--- End of inner exception stack trace ---
at MySql.Data.Common.Ssl.<StartSSLAsync>b__10_1()
at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
--- End of inner exception stack trace ---
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Also, I'm disappointed because my code is missing in the stack trace. I don't understand - it may be a bug or not that I don't handle Exception into my catch block.

Viewing all articles
Browse latest Browse all 1447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>