gospider icon indicating copy to clipboard operation
gospider copied to clipboard

Not works with proxy option when response is HTTP/2

Open klau5dev opened this issue 3 years ago • 0 comments

Hi!

There is a bug when using proxy option and the server response HTTP/2. The crawling is immediately fail, and the debug message was this.

I used gospider -s {{MY INPUT DOMAIN}} --depth 3 -v -t 50 -c 3 -o result --proxy http://127.0.0.1:8080 --debug command.

[0007] DEBUG Error request: {{MY INPUT DOMAIN}} - Status code: 0 - Error: Get "{{MY INPUT DOMAIN}}": net/http: HTTP/1.x transport connection broken: malformed HTTP version "HTTP/2"

I think it's because of some modules version.

klau5dev avatar May 01 '21 14:05 klau5dev