-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81711a6
commit 8800da4
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,32 @@ | ||
--- | ||
title: 'Troubleshooting' | ||
description: 'Common issues and how to fix them' | ||
description: 'Common issues with k6 Studio and how to fix them' | ||
weight: 600 | ||
--- | ||
|
||
# Troubleshooting | ||
|
||
This section details common issues with k6 Studio and how to fix them. | ||
|
||
## `localhost` requests are not being recorded | ||
|
||
The proxy doesn't capture traffic when sent directly to `localhost`. To fix that, you can assign a hostname to it and make requests through that name. To do that, modify the hosts file on your system. For example, you can add the following line to your hosts file: | ||
|
||
``` | ||
127.0.0.1 myapp | ||
``` | ||
|
||
After, if you have an application running on port 8000, you can make requests in your browser at `myapp:8000`. | ||
|
||
## "Proxy failed to start" error | ||
|
||
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. | ||
|
||
## Application logs | ||
|
||
The application logs are saved in the following directory: | ||
|
||
- On macOS: ~/Library/Logs/k6 Studio/k6-studio.log | ||
- On Windows: %USERPROFILE%\AppData\Roaming\k6 Studio\logs\k6-studio.log | ||
|
||
If have any issues with k6 Studio, include a tail of your log file when [opening an issue on GitHub](https://github.com/grafana/k6-studio). |