called `Result::unwrap()` on an `Err` value: "SendError(..)"
oha http://localhost:4000 -n 1000000 -c 350
:921:45: at src/client.rs
called Result::unwrap() on an Err value: "SendError(..)"
panicked at src/client.rs:921:45:
called Result::unwrap() on an Err value: "SendError(..)"
env: macOS 14.6.1 (23G93) CPU M1 8 cores brew --version Homebrew 4.3.17
Could you provide oha's version?
Because I don't have an Arm Mac, I tested on an Intel Mac but the error didn't occur.
How frequently does this error happen in your environment?
oha's
oha --version oha 1.4.6
Hi, I am not sure if this is related. But I had to pass --ipv6 flag to have oha working toward my vite app running on port 5173 running on latest macOS. Without flag I got error [200] Connection refused (os error 61).
@Kennytian Does this problem still occur for you with oha 1.10.0?
When I start a dummy server I get no errors on Apple Silicon with your command line.
When the connection isn't possible, I see the normal output plus
Error distribution:
[1000000] Connection refused (os error 111)
so no panic.