Open zhangyc310 opened 7 years ago
Hi,
Thanks for the kind words.
Can you try running the proxy with Verbose = true?
On Fri, Dec 2, 2016 at 8:51 AM, zhangyc310 notifications@github.com wrote:
Hi, goproxy is very good ,I love this soft. I test it in many case, and find that many time it return 500 error, some time it works well ,but some time make me can't use . Client send request to goproxy_server , use wireshark capture the packet ,it seem that ,goproxy_server do not send request to the real server and direct return 500. the server is www.artilib.cn.
How Can I deug the process and find out the real problem? my go compiler is 1.7.3
GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GORACE="" GOROOT="/usr/local/Cellar/go/1.7.3/libexec"
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/elazarl/goproxy/issues/200, or mute the thread https://github.com/notifications/unsubscribe-auth/AAP4ov3LCeeKrC_HPosf84gQoJHM589Wks5rD7_1gaJpZM4LCQMx .
Hi, Thanks for you reply. I run it again with the Verbose info. It seemd that the resp got EOF.
2017/02/15 23:44:00 [102] INFO: Got request /dzi1/20160911/20160911211731xn61ekHH_files/13/5_5.jpg www.artlib.cn GET http://www.artlib.cn/dzi1/20160911/20160911211731xn61ekHH_files/13/5_5.jpg
2017/02/15 23:44:00 goproxy:resp is here:%!(EXTRA string=http://www.artlib.cn/dzi1/20160911/20160911211731xn61ekHH_files/13/5_5.jpg)
2017/02/15 23:44:00 [102] INFO: Sending request GET http://www.artlib.cn/dzi1/20160911/20160911211731xn61ekHH_files/13/5_5.jpg
2017/02/15 23:44:00 goproxy:resp is error:%!(EXTRA string=http://www.artlib.cn/dzi1/20160911/20160911211731xn61ekHH_files/13/5_5.jpg, string=EOF)
2017/02/15 23:44:00 [102] INFO: error read response http://www.artlib.cn/dzi1/20160911/20160911211731xn61ekHH_files/13/5_5.jpg EOF:
2017/02/15 23:44:00 goproxy:resp is nil and err:%!(EXTRA string=http://www.artlib.cn/dzi1/20160911/20160911211731xn61ekHH_files/13/5_5.jpg, string=EOF)
some time there is http: server closed idle connection
instead of the EOF
.
wait for your reply.
the error url some times may work fine, some time works error.
Hi, goproxy is very good ,I love this soft. I test it in many case, and find that many time it return 500 error, some time it works well ,but some time make me can't use . Client send request to goproxy_server , use wireshark capture the packet ,it seem that ,goproxy_server do not send request to the real server and direct return 500. the server is www.artilib.cn.
How Can I deug the process and find out the real problem? my go compiler is 1.7.3