Closed codesenberg closed 1 year ago
Thanks! Still not getting the fix with go install github.com/codesenberg/bombardier@latest
I don't use nginx. Proxy is done with docker and in front of it sits a traefik
instance that handles all the SSL. Maybe that's the issue.
Thanks! Still not getting the fix with
go install github.com/codesenberg/bombardier@latest
That's because @latest
actually means:
(“Latest” is defined as the latest tagged stable (non-[prerelease](https://semver.org/#spec-item-9)) version,
or else the latest tagged prerelease version, or else the latest untagged version.)
from https://go.dev/blog/using-go-modules
For bombardier
latest tagged stable version is v1.2.6
, which doesn't contain the fix.
Instead, you probably want to run go install github.com/codesenberg/bombardier@master
, which will fetch whatever currently is in the master branch.
Confirmed it works. Thank you!
Previous discussion
Originally posted by @amir20 in https://github.com/codesenberg/bombardier/issues/93#issuecomment-1566235667
That's the issue. Both
curl
andhttp
are showing normal output.See below...
Ideally, I'd like to see what is causing the
3xx
requests but I haven't been able to figure it out.I am guessing something with SSL handshake.
Same errors with
--http2
and--http1
Originally posted by @codesenberg in https://github.com/codesenberg/bombardier/issues/93#issuecomment-1566249300
Nope. Actually, it's just 301 in case of this site. Not sure why would they redirect to the exact same location, but that's a different issue. In case you need further assistance file a separate issue, since this one is for the general feature discussion, not to troubleshoot oddness like the one you've encountered.
Originally posted by @amir20 in https://github.com/codesenberg/bombardier/issues/93#issuecomment-1567534552
Thanks. I am the owner of
https://www.clashleaders.com/
. I don't send any 301 redirects. But that's ok. I was just testing this tool.Resolution
I think this is something DigitalOcean (where I assume www.clashleaders.com is hosted) or your nginx (or some other HTTP server) is doing for you. It was caused by bombardier appending default port to the URLs used for requests sent, if one wasn't provided. This should be fixed in fcd960d. Example output using
master
: