oha icon indicating copy to clipboard operation
oha copied to clipboard

Trying to run on `http://localhost:5173` fails

Open KieranP opened this issue 4 months ago • 3 comments

$ oha http://localhost:5173

Summary:
  Success rate:	0.00%
  Total:	3213833.0000 ns
  Slowest:	-inf ns
  Fastest:	inf ns
  Average:	NaN ns
  Requests/sec:	62230.9871

  Total data:	0 B
  Size/request:	NaN
  Size/sec:	0 B

Response time histogram:
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |
    NaN ns [0] |

Response time distribution:
  10.00% in NaN ns
  25.00% in NaN ns
  50.00% in NaN ns
  75.00% in NaN ns
  90.00% in NaN ns
  95.00% in NaN ns
  99.00% in NaN ns
  99.90% in NaN ns
  99.99% in NaN ns


Details (average, fastest, slowest):
  DNS+dialup:	NaN ns, inf ns, -inf ns
  DNS-lookup:	NaN ns, inf ns, -inf ns

Status code distribution:

Error distribution:
  [200] Connection refused (os error 61)

KieranP avatar Sep 06 '25 08:09 KieranP

do you have anything running on port 5173?

ikorason avatar Nov 10 '25 03:11 ikorason

@ikorason Yes, I have the vite server running via vite dev. I can access the URL through the browser just fine

KieranP avatar Nov 10 '25 04:11 KieranP

Could you check those commands?

curl http://localhost:5173
oha --debug http://localhost:5173

hatoo avatar Nov 10 '25 06:11 hatoo