Closed cxz66666 closed 1 year ago
使用 main
分支的最新代码无法复现此错误。
运行平台 Windows 11 x64,参数为 -username xxx -password xxx -disable-server-config
。程序正常运行。
在 ParseResourceLists
函数的此行
res, ok := ParseXml(&ResourceList, host, config.PathRlist, twfID)
设置断点,断点未触发,说明没有执行对 /por/rclist.csp
的请求。
补充问题: 网络环境为玉泉有线网,rvpn.zju.edu.cn解析出ip为10.3.1.170,可以复现出此问题,尝试切换热点,rvpn.zju.edu.cn解析ip为61.175.193.50,未复现此问题,或许是校方内网与公网部署的服务端有差异导致
补充问题:
经测试,ZJUWLAN、手机热点均可正常设置server为10.3.1.170
, 218.108.88.254
, 61.175.193.50
,但有线连接三者均出现上述问题,暂时判断为本地有线/校园有线网设置问题,不影响整体的使用,关闭问题
I try to set
disable-server-config
totrue
, but get fatal atcore.QueryIp:L108
After checking the code logic, I found the reason is DOESN'T do a request to
/por/rclist.csp
So there are two solutions:
disable-server-config
to false/por/rclist.csp
even setdisable-server-config
to true