2026-09-20 00:14:12,882 [53] ERROR ApiLog - 邮件发送异常cdo!接收地址kwaghade900@gmail.com ApiLognameSystem.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Mail.SmtpConnection.Flush() at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn) at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain) at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at MVCThinkrace.Common.MailUtility.SendMail(String Subject, String message, String mailAddress, Boolean isBodyHtml, EmailServerInfo info) in F:\NewWork\DX02_Web\MVCThinkrace.Common\MailUtility.cs:line 392 2026-09-20 00:20:10,054 [46] ERROR ApiLog - 邮件发送异常cdo!接收地址kwaghade900@gmail.com ApiLognameSystem.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Mail.SmtpConnection.Flush() at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn) at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain) at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at MVCThinkrace.Common.MailUtility.SendMail(String Subject, String message, String mailAddress, Boolean isBodyHtml, EmailServerInfo info) in F:\NewWork\DX02_Web\MVCThinkrace.Common\MailUtility.cs:line 392 2026-09-20 00:20:18,827 [50] ERROR ApiLog - 邮件发送异常cdo!接收地址kwaghade900@gmail.com ApiLognameSystem.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Mail.SmtpConnection.Flush() at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn) at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain) at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at MVCThinkrace.Common.MailUtility.SendMail(String Subject, String message, String mailAddress, Boolean isBodyHtml, EmailServerInfo info) in F:\NewWork\DX02_Web\MVCThinkrace.Common\MailUtility.cs:line 392 2026-09-20 09:39:24,091 [11] ERROR Database_Logic - IW读取数据库指令转换失败 指令编码:9017 指令内容1,0, Database_LogicnameSystem.ArgumentOutOfRangeException: 指定的参数已超出有效值的范围。 参数名: startIndex 在 System.String.Insert(Int32 startIndex, String value) 在 SendCommandAPI.LastSendCommandFormat.LastCmdFormatForIW.NewCmdValueFormat() 位置 F:\NewWork\DX02_Web\SendCommandAPI\LastSendCommandFormat\LastCmdFormatForIW.cs:行号 728 在 SendCommandAPI.LastSendCommandFormat.LastCmdFormatForIW.ReturnCmdValueFormatForAPP() 位置 F:\NewWork\DX02_Web\SendCommandAPI\LastSendCommandFormat\LastCmdFormatForIW.cs:行号 266 2026-09-20 09:39:28,088 [20] ERROR Database_Logic - IW读取数据库指令转换失败 指令编码:9017 指令内容1,0, Database_LogicnameSystem.ArgumentOutOfRangeException: 指定的参数已超出有效值的范围。 参数名: startIndex 在 System.String.Insert(Int32 startIndex, String value) 在 SendCommandAPI.LastSendCommandFormat.LastCmdFormatForIW.NewCmdValueFormat() 位置 F:\NewWork\DX02_Web\SendCommandAPI\LastSendCommandFormat\LastCmdFormatForIW.cs:行号 728 在 SendCommandAPI.LastSendCommandFormat.LastCmdFormatForIW.ReturnCmdValueFormatForAPP() 位置 F:\NewWork\DX02_Web\SendCommandAPI\LastSendCommandFormat\LastCmdFormatForIW.cs:行号 266 2026-09-20 09:39:43,580 [21] ERROR ApiLog - API接口异常请求:Device/AddDeviceAndUserGroup参数:{"DeviceId":73707,"RelationName":"","UserId":106687,"RelationPhone":"15669605323","Info":"","DeviceType":0,"Language":"zh-cn","TimeOffset":0.0,"AppId":"111"} UserAgent:Gtalkie/2 CFNetwork/1492.0.1 Darwin/23.3.0服务器时间:2026-09-20 09:39:43 请求Token:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJMb2dpbkluZm8iOnsiVXNlcklkIjoxMDY2ODcsIlVzZXJUeXBlIjowLCJBcHBJZCI6MTExLCJMb2dpbk5hbWUiOiI3MDUxNzMwNDNAcXEuY29tIiwiUmVnSWQiOm51bGwsIlRpbWVPZmZzZXQiOjguMH0sImV4cCI6MTc5MDA0MTE1OC4wfQ.EWWlopH5WZ-dXbaw-H97vP9oAoezgOhmodUPw-GXOoI ApiLognameSystem.ArgumentNullException: 值不能为 null。 参数名: requestUriString 在 System.Net.WebRequest.Create(String requestUriString) 在 MVCThinkrace.Common.Helper.HttpHelper.GetHtml(String url, String postData, HttpHelperMethod httpMethod, ContentType contentType, NameValueCollection headCollection, Int32 timeout) 位置 F:\NewWork\DX02_Web\MVCThinkrace.Common\Helper\HttpHelper.cs:行号 46 在 MVCThinkrace.Common.LangCacheHelper.GetValue(String key, String lng) 位置 F:\NewWork\DX02_Web\MVCThinkrace.Common\CacheHelper\LangCacheHelper.cs:行号 138 在 NewGPS2012.AppApi.Controllers.DeviceController.AddDeviceAndUserGroup(AddDeviceAndUserGroupModel model) 位置 F:\NewWork\DX02_Web\NewGPS2012.AppApi\Controllers\DeviceController.cs:行号 335 在 lambda_method(Closure , Object , Object[] ) 在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.b__2(Object instance, Object[] methodParameters) 在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ApiControllerActionInvoker.d__1.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ExceptionFilterResult.d__6.MoveNext() 2026-09-20 09:39:46,560 [9] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106687&sn=355287700020054 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 09:39:48,227 [12] ERROR ApiLog - API接口异常请求:Command/AppFunList参数:{"DeviceId":73707,"IsNewCmdFormat":1,"Language":"zh-cn","TimeOffset":0.0,"AppId":null} UserAgent:Gtalkie/2 CFNetwork/1492.0.1 Darwin/23.3.0服务器时间:2026-09-20 09:39:48 请求Token:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJMb2dpbkluZm8iOnsiVXNlcklkIjoxMDY2ODcsIlVzZXJUeXBlIjowLCJBcHBJZCI6MTExLCJMb2dpbk5hbWUiOiI3MDUxNzMwNDNAcXEuY29tIiwiUmVnSWQiOm51bGwsIlRpbWVPZmZzZXQiOjguMH0sImV4cCI6MTc5MDA0MTE1OC4wfQ.EWWlopH5WZ-dXbaw-H97vP9oAoezgOhmodUPw-GXOoI ApiLognameSystem.Data.SqlClient.SqlException (0x80131904): 违反了 PRIMARY KEY 约束“PK_DeviceCmdValue”。不能在对象“dbo.DeviceCmdValue”中插入重复键。重复键值为 (73707, 9978)。 语句已终止。 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) 在 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 在 NPoco.Database.ExecuteNonQueryHelper(DbCommand cmd) 在 NPoco.Database.Execute(String sql, CommandType commandType, Object[] args) 在 MVCThinkrace.DbAccess.DeviceNewLogic.InsertCmdValue(Int32 id, String value, String cmdcode) 位置 F:\NewWork\DX02_Web\MVCThinrace.Logic\DeviceNewLogic.cs:行号 1393 在 NewGPS2012.AppApi.Controllers.CommandController.<>c__DisplayClass1_0.b__0(AppSetCode t) 位置 F:\NewWork\DX02_Web\NewGPS2012.AppApi\Controllers\CommandController.cs:行号 481 在 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() 在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) 在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) 在 NewGPS2012.AppApi.Controllers.CommandController.AppFunList(DeviceCommandListModel model) 位置 F:\NewWork\DX02_Web\NewGPS2012.AppApi\Controllers\CommandController.cs:行号 273 在 lambda_method(Closure , Object , Object[] ) 在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.b__2(Object instance, Object[] methodParameters) 在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ApiControllerActionInvoker.d__1.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ExceptionFilterResult.d__6.MoveNext() ClientConnectionId:62189126-58eb-4fcd-988e-f7a6e800e857 Error Number:2627,State:1,Class:14 2026-09-20 09:41:01,118 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106687&sn=355287700021987 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 09:41:02,778 [8] ERROR ApiLog - API接口异常请求:Command/AppFunList参数:{"DeviceId":73708,"IsNewCmdFormat":1,"Language":"zh-cn","TimeOffset":0.0,"AppId":null} UserAgent:Gtalkie/2 CFNetwork/1492.0.1 Darwin/23.3.0服务器时间:2026-09-20 09:41:02 请求Token:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJMb2dpbkluZm8iOnsiVXNlcklkIjoxMDY2ODcsIlVzZXJUeXBlIjowLCJBcHBJZCI6MTExLCJMb2dpbk5hbWUiOiI3MDUxNzMwNDNAcXEuY29tIiwiUmVnSWQiOm51bGwsIlRpbWVPZmZzZXQiOjguMH0sImV4cCI6MTc5MDA0MTE1OC4wfQ.EWWlopH5WZ-dXbaw-H97vP9oAoezgOhmodUPw-GXOoI ApiLognameSystem.Data.SqlClient.SqlException (0x80131904): 违反了 PRIMARY KEY 约束“PK_DeviceCmdValue”。不能在对象“dbo.DeviceCmdValue”中插入重复键。重复键值为 (73708, 9978)。 语句已终止。 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) 在 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 在 NPoco.Database.ExecuteNonQueryHelper(DbCommand cmd) 在 NPoco.Database.Execute(String sql, CommandType commandType, Object[] args) 在 MVCThinkrace.DbAccess.DeviceNewLogic.InsertCmdValue(Int32 id, String value, String cmdcode) 位置 F:\NewWork\DX02_Web\MVCThinrace.Logic\DeviceNewLogic.cs:行号 1393 在 NewGPS2012.AppApi.Controllers.CommandController.<>c__DisplayClass1_0.b__0(AppSetCode t) 位置 F:\NewWork\DX02_Web\NewGPS2012.AppApi\Controllers\CommandController.cs:行号 481 在 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() 在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) 在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) 在 NewGPS2012.AppApi.Controllers.CommandController.AppFunList(DeviceCommandListModel model) 位置 F:\NewWork\DX02_Web\NewGPS2012.AppApi\Controllers\CommandController.cs:行号 273 在 lambda_method(Closure , Object , Object[] ) 在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.b__2(Object instance, Object[] methodParameters) 在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ApiControllerActionInvoker.d__1.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Web.Http.Controllers.ExceptionFilterResult.d__6.MoveNext() ClientConnectionId:94ffcce6-9f6a-4bfa-813a-a915b6cf471e Error Number:2627,State:1,Class:14 2026-09-20 10:03:44,164 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061705638 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:44,317 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132062033535 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:44,446 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061701801 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:44,577 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132062030705 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:44,710 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061696803 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:44,863 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061694279 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:44,998 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061695086 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:45,158 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061705273 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:45,304 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061698593 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 10:03:45,443 [7] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132062025143 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:23:59,126 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061705638 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:23:59,298 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132062033535 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:23:59,435 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061701801 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:23:59,586 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132062030705 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:23:59,740 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061696803 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:23:59,908 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061694279 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:24:00,042 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061695086 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:24:00,179 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061705273 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:24:00,309 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132061698593 result:{"code":402,"msg":"sn invalid"} ApiLogname2026-09-20 14:24:00,462 [10] ERROR ApiLog - url is:http://imei.ronghub.com/oem/bind postStr:userId=dx_rc_106932&sn=860132062025143 result:{"code":402,"msg":"sn invalid"} ApiLogname