找回密码
 立即注册

QQ登录

只需一步,快速开始

安子

初级会员

13

主题

48

帖子

257

积分

初级会员

积分
257

[已处理] 发布时错误

安子
初级会员   /  发表于:2024-7-24 14:22  /   查看:458  /  回复:1
100金币
本帖最后由 安子 于 2024-7-25 14:20 编辑












时间
14:18:38


日志类型
其他日志


@x
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: A. Path '', line 0, position 0.   at Newtonsoft.Json.JsonTextReader.ParseValue()   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value)   at Forguncy.KatanaMiddleware.HttpRequestExtension.b(HttpRequest A_0)   at Forguncy.KatanaMiddleware.HttpRequestExtension.GetRequestDataAsync(HttpRequest request)   at Forguncy.KatanaMiddleware.b.a(HttpContext A_0, Exception A_1)   at Forguncy.KatanaMiddleware.b.InvokeAsync(HttpContext context)   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)   at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events, IBackChannelLogoutService backChannelLogoutService)   at IdentityServer4.Hosting.MutualTlsEndpointMiddleware.Invoke(HttpContext context, IAuthenticationSchemeProvider schemes)   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)   at IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context)   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)   at Forguncy.UserService2.KatanaMiddleware.ManagementPageMiddleware.InvokeAsync(HttpContext context)   at CommonUtilities.LogHelper.HttplogMiddleware.Invoke(HttpContext httpContext)   at Microsoft.AspNetCore.Server.HttpSys.RequestContext`1.ExecuteAsync()   at Microsoft.AspNetCore.Server.HttpSys.RequestContext`1.ExecuteAsync()


EventId
[object Object]


SourceContext
Microsoft.AspNetCore.Server.HttpSys.HttpSysListener


RequestPath
/UserService/Publish/Publish


Message
ProcessRequestAsync


请求Id
8000002c-000c-ff00-b63f-84710c7967bb


附件: 您需要 登录 才可以下载或查看,没有帐号?立即注册

1 个回复

倒序浏览
Erik.Xue讲师达人认证 悬赏达人认证 活字格认证 Wyn认证
超级版主   /  发表于:2024-7-24 17:50:24
沙发
您好,这种报错不好判断具体的问题原因,最好收集下服务管理器日志上传这边具体看下~


一看就会,超有用活字格技能:四十五,错误日志收集功能
https://gcdn.grapecity.com.cn/showtopic-52854-1-1.html
(出处: 葡萄城开发者社区)


评分

参与人数 1满意度 +5 收起 理由
安子 + 5

查看全部评分

回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部