-
Notifications
You must be signed in to change notification settings - Fork 921
Description
I'm using squid v3.5.20 as a forward proxy, and nghttpx v1.14.0 as a frontend to provide HTTP/2 proxy.
Everything runs right in the past months until today when I was trying to download any free JPG or HDR sample from http://www.cgskies.com/ ( ONLY ON THIS WEBSITE ), the chrome failed with a network error.
If chrome connects to squid http proxy port ( by SwitchyOmega ) directly without nghttpx, there is no problem at all.
But when chrome connects to nghttpx HTTP/2 proxy port ( by SwitchyOmega ), which backend is squid http proxy port, the download fails. But there are no other problems found until now except this website.
So it's obviously there should be something wrong with nghttpx internal. But I cannot figure it out.
There is no error about this failed downloading in nghttpx errorlog-file.
This is the nghttpx access log about the downloading in nghttpx accesslog-file:
11.22.33.44 - - [06/Sep/2016:14:56:47 +0800] "GET http://www.cgskies.com/sample.php?id=117&filetype=jpg&code=edaaca26028afc8fe7a9958977507fd7 HTTP/2" 200 874432 "http://www.cgskies.com/sky.php?sky=117&type=cirrus&hdronly=&sortby=rating&page=1&pagesize=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2850.0 Safari/537.36"
Squid works on default port 3128.
This is my nghttpx configs:
daemon=yes
http2-proxy=yes
private-key-file=/usr/etc/certs/foobar_com.key
certificate-file=/usr/etc/certs/foobar_com.crt
frontend=0.0.0.0,443
backend=127.0.0.1,3128
accesslog-file=/var/log/nghttpx/access.log
errorlog-file=/var/log/nghttpx/error.log