{"record":{"id":"9a3ac14d949b4241","repo":"fish2018/pansou","slug":"pow-http-d","errorCode":null,"errorMessage":"获取PoW验证数据失败: HTTP %d","messagePattern":"获取PoW验证数据失败: HTTP (.+?)","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugin/gying/gying.go","lineNumber":1690,"sourceCode":"\treturn p.solveLegacyHashChallenge(scraper, requestURL, &challenge)\n}\n\nfunc (p *GyingPlugin) solveRemotePowChallenge(scraper *cloudscraper.Scraper, requestURL string) error {\n\tpowURL, err := p.buildPowURL(requestURL)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tif DebugLog {\n\t\tfmt.Printf(\"[Gying] Remote PoW Challenge命中: url=%s powURL=%s\\n\", requestURL, powURL)\n\t}\n\n\tbody, statusCode, _, err := p.requestWithChallengeRetry(scraper, http.MethodGet, powURL, \"\", \"\")\n\tif err != nil {\n\t\treturn fmt.Errorf(\"获取PoW验证数据失败: %w\", err)\n\t}\n\tif statusCode != http.StatusOK {\n\t\treturn fmt.Errorf(\"获取PoW验证数据失败: HTTP %d\", statusCode)\n\t}\n\n\tvar challenge ChallengePageData\n\tif err := json.Unmarshal(body, &challenge); err != nil {\n\t\treturn fmt.Errorf(\"解析PoW验证数据失败: %w\", err)\n\t}\n\tif challenge.N == \"\" || challenge.X == \"\" || challenge.T <= 0 {\n\t\treturn fmt.Errorf(\"PoW验证数据无效\")\n\t}\n\n\ty, err := p.computePowResult(&challenge)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tform := url.Values{}\n\tform.Set(\"y\", y)\n","sourceCodeStart":1672,"sourceCodeEnd":1708,"githubUrl":"https://github.com/fish2018/pansou/blob/beaa56133755a548ebc51b090b3816e2ae044aa6/plugin/gying/gying.go#L1672-L1708","documentation":"Status error in solveRemotePowChallenge (plugin/gying/gying.go:1690): the PoW endpoint responded but with a non-200 status, so no challenge payload can be trusted. Means the challenge endpoint refused the request (challenge changed, blocked, or wrong URL).","triggerScenarios":"Thrown at plugin/gying/gying.go:1690 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["检查请求是否缺少必要 Cookie 或头","验证站点是否更换了 PoW 端点路径","记录响应体以确认返回内容"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"beaa56133755a548ebc51b090b3816e2ae044aa6","analyzedAt":"2026-09-07T00:31:18.025Z","contentChangedAt":"2026-09-07T00:31:18.025Z","schemaVersion":2},"datasetVersion":"2026-09-15T23:17:13.987Z"}