Skip to content

Commit 66575d6

Browse files
Merge pull request #1935 from grafana/k6-studio/troubleshoot-502-bad-gateway
Add "502 error" to Troubleshoot section of k6 Studio
2 parents 9ffeabf + a8ab4bf commit 66575d6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

docs/sources/k6-studio/troubleshoot.md

+33
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,39 @@ After, if you have an application running on port 8000, you can make requests in
2222

2323
If you're on a Mac, make sure you're not running the k6 Studio application from the Downloads folder. If that's the case, close the app, move the application file to the Applications folder, and start the app again.
2424

25+
## "502 Bad Gateway" error
26+
27+
k6 Studio is unable to establish a connection with your network if your operating system is configured to use a proxy. In this case, additional configuration is needed.
28+
29+
### 1. Check if your network is using a proxy
30+
31+
#### Windows
32+
33+
- Open Settings > Network & Internet > Proxy
34+
- Check if "Automatic proxy setup" or "Manual proxy setup" are enabled
35+
36+
#### macOS
37+
38+
- Open System Settings > Network
39+
- Select your active network interface (e.g., Wi-Fi), then click Details
40+
- Go to the Proxies tab
41+
- Check if any proxies are enabled (HTTP, HTTPS, etc.)
42+
43+
#### Linux
44+
45+
- Open Settings > Network > Network Proxy
46+
- Check if the proxy is set to "Manual"
47+
48+
### 2. Configure k6 Studio to connect to your proxy
49+
50+
Once you've confirmed that your system is configured to use a proxy, configure k6 Studio:
51+
52+
- Open Settings > Proxy
53+
- Change "Proxy mode" to "upstream"
54+
- In "Server URL", use the same proxy and port being used by your system
55+
56+
Some proxies or HTTPS sites may require a certificate to establish a trusted connection. In this case, specify the certificate in the "Certificate path" field.
57+
2558
## Application logs
2659

2760
The application logs are saved in the following directory:

0 commit comments

Comments
 (0)