arriven / db1000n

MIT License
1.17k stars 200 forks source link

ERROR: HostClient can't follow redirects to a different protocol, please use Client instead #557

Open wips opened 2 years ago

wips commented 2 years ago

Expected Behavior

No error?

Actual Behavior

2022/06/25 19:23:18.173639 runner.go:103: New config received, applying
2022/06/25 19:23:18.175056 http.go:145: Attacking https://www....
2022-06-25T22:23:18.175+0300    ERROR   runner/runner.go:187    error running job       {"name": "", "type": "http", "error": "HostClient can't follow redirects to a different protocol, please use Client instead"}
github.com/Arriven/db1000n/src/runner.(*Runner).runJobs.func1
        /home/runner/work/db1000n/db1000n/src/runner/runner.go:187
2022/06/25 19:23:18.175635 http.go:145: Attacking https://www....
2022-06-25T22:23:18.175+0300    ERROR   runner/runner.go:187    error running job       {"name": "", "type": "http", "error": "HostClient can't follow redirects to a different protocol, please use Client instead"}
github.com/Arriven/db1000n/src/runner.(*Runner).runJobs.func1
        /home/runner/work/db1000n/db1000n/src/runner/runner.go:187
2022/06/25 19:23:18.175895 http.go:145: Attacking https://www....

Steps to Reproduce the Problem

  1. Run with debug ./db1000n --debug 1> logs.txt 2>&1
  2. Observe logs

Specifications

arriven commented 2 years ago

One of the targets is misconfigured, doesn't affect others but let me take a look