请尝试以下步骤:
-
检查你的环境。 a. 确保 Qoder 已更新到最新版本。 b. 确认你的操作系统和系统架构支持 Qoder。
-
测试网络连接。
a. 在终端运行以下命令以检查连通性。如果收到 pong,表示网络已连接。否则,请检查防火墙,或请你的 IT 管理员将以下域名加入白名单。
curl https://{hosts}/algo/api/v1/ping
// 您可以将 {hosts} 替换为以下任一选项:
1. api1.qoder.sh
2. api2.qoder.sh
3. api3.qoder.sh
b. 如需使用代理,请按以下格式设置代理地址:
http(s)://用户名:密码@代理服务器地址:端口
c. 清理 DNS 缓存:
-
Windows:
ipconfig /flushdns。 -
macOS:
sudo killall -HUP mDNSResponder。
- 清理本地缓存。a. 结束 Qoder 进程。b. 删除
.Qoder目录:
-
Windows:
-
C:\Users\[username]\.Qoder -
C:\Users\Username\AppData\Local\Programs\Qoder\
-
Windows:
C:\Users\[username]\.Qoder
C:\Users\Username\AppData\Local\Programs\Qoder\
macOS:
/Applications/Qoder.app
c. 重启 Qoder。
-
如果问题仍然存在,手动启动:a. 前往目录:
.Qoder/bin/x.x.x/CPU_architecture_64_system/Windows:C:\Users\Username\AppData\Local\Programs\Qoder\resources\app\resources\bin$version`CPU_architecture_64_system`\Qoder.exe Mac:/Applications/Qoder.app/Contents/Resources/app/resources\bin$versionCPU_ahicture_64_system\Qoderb. 运行:
Qoder.exe start 或 Qoder startc. 再次尝试登录。
在尝试解决问题的过程中,AI给我一个反馈。
openssl s_client -connect api1.qoder.sh:443 -servername api1.qoder.sh -tlsextdebug -status
Connecting to 8.212.120.142
CONNECTED(00000003)
write:errno=104
no peer certificate available
No client certificate CA names sent
Negotiated TLS1.3 group:
SSL handshake has read 0 bytes and written 1555 bytes
Verification: OK
New, (NONE), Cipher is (NONE)
Protocol: TLSv1.3
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
我中间有一个月没有使用qoder
“目标服务器(qoder.sh服务端)在一个月内升级了其安全策略,禁用了你的客户端(服务器上的 openssl/ curl库)所支持的某些老旧、不安全的 TLS 加密套件、协议版本或特定算法。”AI的回复。结合qoder刚刚更新的情况,会不会是这个原因?你之前让我尝试的方法都尝试过。
在网络连通性测试上,服务器显示“curl: (35) Recv failure: Connection reset by peer”,本地正常返回pong。看来是防火墙的问题。