What Grafana version and what operating system are you using?
MacOS, k6 v0.46.0 ((devel), go1.21.0, darwin/arm64)
What are you trying to achieve?
Run k6 scripts
How are you trying to achieve it?
installing k6 and go
What happened?
Was working earlier and suddenly getting network is unreachable
in all urls I provide
What did you expect to happen?
Run normally
Can you copy/paste the configuration(s) that you are having problems with?
k6 run k6-script.js
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
WARN[0000] Request Failed error="Get \"https://test-api.k6.io/public/crocodiles/\": dial tcp 3.230.251.180:443: connect: network is unreachable"
INFO[0000] {"remote_ip":"","remote_port":0,"url":"removed*,"status":0,"status_text":"","proto":"","headers":{},"cookies":{},"body":null,"timings":{"duration":0,"blocked":0,"looking_up":0,"connecting":0,"tls_handshaking":0,"sending":0,"waiting":0,"receiving":0},"tls_version":"","tls_cipher_suite":"","ocsp":{"produced_at":0,"this_update":0,"next_update":0,"revoked_at":0,"revocation_reason":"","status":""},"error":"dial: unknown errno 51 error with msg `network is unreachable`","error_code":1213,"request":{"method":"GET","url":"removed*","headers":{"User-Agent":["k6/0.46.0 (*removed)"]},"body":"","cookies":{}}} source=console
Did you follow any online instructions? If so, what is the URL?
go install go.k6.io/xk6/cmd/xk6@latest
oleiade
September 8, 2023, 8:49am
3
Hi @karendianne
Welcome to the forum
By the looks of it, it does look like the k6
test API might have been inaccessible to your script for a while.
Assuming this hasn’t been resolved organically, could you provide us with a test script reproducing the issue you’re observing? I also see that you seem to be using xk6, if so, which extensions are you trying to use?
That would be helpful in providing us with enough information to find out how to get your script back to a working state.
Thank you