Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法更新在线配置 #3430

Open
hjm2007 opened this issue Aug 21, 2023 · 1 comment
Open

无法更新在线配置 #3430

hjm2007 opened this issue Aug 21, 2023 · 1 comment

Comments

@hjm2007
Copy link

hjm2007 commented Aug 21, 2023

简要描述问题

环境

  • Shadowsocks客户端版本:4.4.1.0
  • 操作系统版本:Windows 10 64位
  • .NET版本:未知

操作步骤

点击"在线配置"-"更新"更新在线配置

期望的结果

更新在线配置成功

实际结果

弹出提示"更新失败,请查看日志获取更多信息"(在V2rayN更新正常)

配置文件和日志文件(请隐去敏感信息)

2023-08-21 14:48:39.0860|WARN|Shadowsocks.Controller.ShadowsocksController|Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: c. Path '', line 0, position 0.
在 Newtonsoft.Json.JsonTextReader.ParseValue()
在 Newtonsoft.Json.JsonTextReader.Read()
在 Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
在 Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
在 Shadowsocks.Controller.Service.OnlineConfigResolverEx.GetServers(String json)
在 Shadowsocks.Controller.Service.OnlineConfigResolver.d__0.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Shadowsocks.Controller.ShadowsocksController.d__109.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Shadowsocks.Controller.ShadowsocksController.d__110.MoveNext()

@chenshaoju
Copy link
Collaborator

看起来是格式不对,如果你或你的服务商使用的是非SIP008规范的格式,可能不会被兼容:https://shadowsocks.org/doc/sip008.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants