文章目录
1.故障描述
使用OVZ小鸡运行ASF挂卡程序,初始化阶段出现以下错误代码:
2022-02-10 22:59:28|ArchiSteamFarm-18242|WARN|ASF|RegisterBots() System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
—> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: PartialChain
随后账户循环出现断开连接和重连提示,例如:
2022-02-10 23:22:57|ArchiSteamFarm-28686|INFO|ID|OnDisconnected() Disconnected from Steam!
2022-02-10 23:22:57|ArchiSteamFarm-28686|INFO|ID|OnDisconnected() Reconnecting...
2.原因:
最终排查故障原因是ca-certificates组件版本过旧或缺失,系统无法有效建立HTTPS连接。
3.解决方法:
重新安装 ca-certificates
apt-get update #更新apt库 apt-get install ca-certificates #重新安装ca-certificates
感謝分享,找了很久終於發現解決問題的方式