db1000n icon indicating copy to clipboard operation
db1000n copied to clipboard

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

Open wips opened this issue 3 years ago • 1 comments

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

  • Version: db1000n_0.8.7_darwin_amd64
  • Platform: MacOS
  • Subsystem: BigSur 11.6.7

wips avatar Jun 25 '22 19:06 wips

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

arriven avatar Jun 26 '22 06:06 arriven