koalabearguo / php-proxy

php proxy based on GoAgent protocal,Implemented by golang
GNU General Public License v3.0
123 stars 53 forks source link

请问出现403的情况怎么排错和解决呢? #18

Closed Evilran closed 1 year ago

Evilran commented 1 year ago
2023/02/15 11:41:06 config.go:103: Php-Proxy version:v2.1.5
2023/02/15 11:41:06 config.go:105: Go version:go1.19.3
2023/02/15 11:41:06 config.go:167: Load config from /xxx/php-proxy/bin/php-proxy.json
2023/02/15 11:41:06 config.go:134: Autoproxy not enabled
2023/02/15 11:41:06 config.go:139: Http3 not enabled
2023/02/15 11:41:06 config.go:142: php Fetch server:https://xxx.com/server/proxy.php
2023/02/15 11:41:06 config.go:145: Forward Proxy not enabled
2023/02/15 11:41:06 proxy.go:91: Using internal Php-Proxy CA file
2023/02/15 11:41:06 proxy.go:117: HTTP Proxy Listening on 127.0.0.1:8081
2023/02/15 11:41:14 request.go:76: PHP GET https://baidu.com/ HTTP/1.1
2023/02/15 11:41:14 request.go:76: PHP GET https://baidu.com/favicon.ico HTTP/1.1
2023/02/15 11:41:14 request.go:76: PHP GET https://eclick.baidu.com/rs.jpg?type=parentMonitor&mes=SyntaxError%3A%20%22%5Bobject%20Object%5D%22%20is%20not%20valid%20JSON%0A%20%20%20%20at%20JSON.parse%20(%3Canonymous%3E)%0A%20%20%20%20at%20u%20(https%3A%2F%2Fzxgghn.25ku.com%2Fyvwavwp.js%3A1%3A4796) HTTP/1.1
2023/02/15 11:41:15 request.go:76: PHP GET https://eclick.baidu.com/rs.jpg?type=parentMonitor&mes=SyntaxError%3A%20%22%5Bobject%20Object%5D%22%20is%20not%20valid%20JSON%0A%20%20%20%20at%20JSON.parse%20(%3Canonymous%3E)%0A%20%20%20%20at%20u%20(https%3A%2F%2Fzxgghn.25ku.com%2Fyvwavwp.js%3A1%3A4796) HTTP/1.1
2023/02/15 11:41:15 request.go:76: PHP GET https://eclick.baidu.com/rs.jpg?type=parentMonitor&mes=SyntaxError%3A%20%22%5Bobject%20Object%5D%22%20is%20not%20valid%20JSON%0A%20%20%20%20at%20JSON.parse%20(%3Canonymous%3E)%0A%20%20%20%20at%20u%20(https%3A%2F%2Fzxgghn.25ku.com%2Fyvwavwp.js%3A1%3A4796) HTTP/1.1
2023/02/15 11:41:15 request.go:76: PHP GET https://eclick.baidu.com/rs.jpg?type=parentMonitor&mes=SyntaxError%3A%20%22%5Bobject%20Object%5D%22%20is%20not%20valid%20JSON%0A%20%20%20%20at%20JSON.parse%20(%3Canonymous%3E)%0A%20%20%20%20at%20u%20(https%3A%2F%2Fzxgghn.25ku.com%2Fyvwavwp.js%3A1%3A4796) HTTP/1.1
Evilran commented 1 year ago

image

koalabearguo commented 1 year ago

看起来是你的web服务商限制的,就是litespeed server,正常百度都是可以打开的

Evilran commented 1 year ago

我看了一下 litespeed 好像无法关掉,但是插件的缓存只针对 wp 应用,好像暂时也没有好的解决办法了,我换个空间提供商再试试,感谢!