# Exception

CreatedDate: 2025-01-24 01:41:05.3454714
ExceptionText:
An error occurred while attempting to establish an SSL or TLS connection.

The server's SSL certificate could not be validated for the following reasons:
• The server certificate has the following errors:
  • 吊销功能无法检查证书是否吊销。
  • 由于吊销服务器已脱机，吊销功能无法检查吊销。
• An intermediate certificate has the following errors:
  • 吊销功能无法检查证书是否吊销。
  • 由于吊销服务器已脱机，吊销功能无法检查吊销。

StackTrace:
   at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
   at TightWiki.Email.WikiEmailSender.SendEmailAsync(String email, String subject, String htmlMessage) in E:\CodeDepository\2025毕业设计2.0\TightWiki\TightWiki.Email\WikiEmailSender.cs:line 44


ExceptionText: Value cannot be null. (Parameter 'value')
CreatedDate: 2025-01-24 01:42:15.4937672
Text:
IP Address: ::1,
 Request: /Identity/Account/Login?returnUrl=%2F,
 RouteValues: [page, /Account/Login],
[area, Identity],


StackTrace:
   at System.Text.Encodings.Web.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Text.Encodings.Web.TextEncoder.Encode(String value)
   at AspNetCoreGeneratedDocument.Areas_Identity_Pages_Account_Login.<ExecuteAsync>b__35_0() in E:\CodeDepository\2025毕业设计2.0\TightWiki\TightWiki\Areas\Identity\Pages\Account\Login.cshtml:line 39
   at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.GetChildContentAsync(Boolean useCachedResult, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output)
   at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count)
   at AspNetCoreGeneratedDocument.Areas_Identity_Pages_Account_Login.ExecuteAsync() in E:\CodeDepository\2025毕业设计2.0\TightWiki\TightWiki\Areas\Identity\Pages\Account\Login.cshtml:line 6
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at TightWiki.ExceptionHandlingMiddleware.InvokeAsync(HttpContext context) in E:\CodeDepository\2025毕业设计2.0\TightWiki\TightWiki\ExceptionHandlingMiddleware.cs:line 26


