You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/common/storage-explorer-troubleshooting.md
+98-6Lines changed: 98 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -284,20 +284,20 @@ If you want to preserve the connections that aren't corrupted, you can use the f
284
284
285
285
After going through all your connections, for all connections names that aren't added back, you must clear their corrupted data (if there is any) and add them back by using the standard steps in Storage Explorer:
286
286
287
-
# [Windows](#tab/Windows)
287
+
###[Windows](#tab/Windows)
288
288
289
289
1. On the **Start** menu, search for **Credential Manager** and open it.
290
290
2. Go to **Windows Credentials**.
291
291
3. Under **Generic Credentials**, look for entries that have the `<connection_type_key>/<corrupted_connection_name>` key (for example, `StorageExplorer_CustomConnections_Accounts_v1/account1`).
292
292
4. Delete these entries and re-add the connections.
293
293
294
-
# [macOS](#tab/macOS)
294
+
###[macOS](#tab/macOS)
295
295
296
296
1. Open Spotlight (Command+Spacebar) and search for **Keychain access**.
297
297
2. Look for entries that have the `<connection_type_key>/<corrupted_connection_name>` key (for example, `StorageExplorer_CustomConnections_Accounts_v1/account1`).
298
298
3. Delete these entries and re-add the connections.
299
299
300
-
# [Linux](#tab/Linux)
300
+
###[Linux](#tab/Linux)
301
301
302
302
Local credential management varies depending on the Linux distribution. If your Linux distribution doesn't provide a built-in GUI tool for local credential management, you can install a third-party tool to manage your local credentials. For example, you can use [Seahorse](https://wiki.gnome.org/Apps/Seahorse/), an open-source GUI tool for managing Linux local credentials.
303
303
@@ -351,7 +351,7 @@ Storage Explorer requires .NET Core to be installed on your system. We recommend
351
351
> [!NOTE]
352
352
> Storage Explorer version 1.7.0 and earlier require .NET Core 2.0. If you have a newer version of .NET Core installed, you'll have to [patch Storage Explorer](#patching-storage-explorer-for-newer-versions-of-net-core). If you're running Storage Explorer 1.8.0 or later, you need at least .NET Core 2.1.
353
353
354
-
# [Ubuntu 20.04](#tab/2004)
354
+
###[Ubuntu 20.04](#tab/2004)
355
355
356
356
1. Download the Storage Explorer .tar.gz file.
357
357
2. Install the [.NET Core Runtime](/dotnet/core/install/linux):
@@ -364,7 +364,7 @@ Storage Explorer requires .NET Core to be installed on your system. We recommend
364
364
sudo apt-get install -y dotnet-runtime-2.1
365
365
```
366
366
367
-
# [Ubuntu 18.04](#tab/1804)
367
+
###[Ubuntu 18.04](#tab/1804)
368
368
369
369
1. Download the Storage Explorer .tar.gz file.
370
370
2. Install the [.NET Core Runtime](/dotnet/core/install/linux):
@@ -377,7 +377,7 @@ Storage Explorer requires .NET Core to be installed on your system. We recommend
377
377
sudo apt-get install -y dotnet-runtime-2.1
378
378
```
379
379
380
-
# [Ubuntu 16.04](#tab/1604)
380
+
###[Ubuntu 16.04](#tab/1604)
381
381
382
382
1. Download the Storage Explorer .tar.gz file.
383
383
2. Install the [.NET Core Runtime](/dotnet/core/install/linux):
@@ -427,6 +427,98 @@ If the **Open In Explorer** button on the Azure portal doesn't work, make sure y
427
427
* Google Chrome
428
428
* Microsoft Internet Explorer
429
429
430
+
## Gathering logs
431
+
432
+
When you report an issue to GitHub, you may be asked to gather certain logs to help diagnose your issue.
433
+
434
+
### Storage Explorer logs
435
+
436
+
Starting with version 1.16.0, Storage Explorer logs various things to its own application logs. You can easily get to these logs by clicking on Help > Open Logs Directory. By default, Storage Explorer logs at a low level of verbosity. To change the verbosity level, add an environment variable with the name of `STG_EX_LOG_LEVEL`, and any of the following values:
437
+
-`silent`
438
+
-`critical`
439
+
-`error`
440
+
-`warning`
441
+
-`info` (default level)
442
+
-`verbose`
443
+
-`debug`
444
+
445
+
Logs are split into folders for each session of Storage Explorer that you run. For whatever log files you need to share, it is recommended to place them in a zip archive, with files from different sessions in different folders.
446
+
447
+
### Authentication logs
448
+
449
+
For issues related to sign-in or Storage Explorer's authentication library, you will most likely need to gather authentication logs. Authentication logs are stored at:
Generally, you can follow these steps to gather the logs:
454
+
455
+
1. Go to Settings > Sign-in > check Verbose Authentication Logging. If Storage Explorer is failing to launch due to an issue with its authentication library, this will be done for you.
456
+
2. Close Storage Explorer.
457
+
1. Optional/recommended: clear out existing logs from the `logs` folder. Doing this will reduce the amount of information you have to send us.
458
+
4. Open Storage Explorer and reproduce your issue
459
+
5. Close Storage Explorer
460
+
6. Zip the contents of the `log` folder.
461
+
462
+
### AzCopy logs
463
+
464
+
If you are having trouble transferring data, you may need to get the AzCopy logs. AzCopy logs can be found easily via two different methods:
465
+
- For failed transfers still in the Activity Log, click on "Go to AzCopy Log File"
466
+
- For transfers that failed in the past, go to the AzCopy logs folder. This folder can be found at:
467
+
- Windows: `C:\Users\<your username>\.azcopy`
468
+
- macOS and Linux `~/.azcopy
469
+
470
+
### Network logs
471
+
472
+
For some issues you will need to provide logs of the network calls made by Storage Explorer. On Windows, you can do this by using Fiddler.
473
+
474
+
> [!NOTE]
475
+
> Fiddler traces may contain passwords you entered/sent in your browser during the gathering of the trace. Make sure to read the instructions on how to sanitize a Fiddler trace. Do not upload Fiddler traces to GitHub. You will be told where you can securely send your Fiddler trace.
476
+
477
+
Part 1: Install and Configure Fiddler
478
+
479
+
1. Install Fiddler
480
+
2. Start Fiddler
481
+
3. Go to Tools > Options
482
+
4. Click on the HTTPS tab
483
+
5. Make sure Capture CONNECTs and Decrypt HTTPS traffic are checked
484
+
6. Click on the Actions button
485
+
7. Choose "Trust Root Certificate" and then "Yes" in the next dialog
486
+
8. Click on the Actions button again
487
+
9. Choose “Export Root Certificate to Desktop”
488
+
10. Go to your desktop
489
+
11. Find the FiddlerRoot.cer file
490
+
12. Double-click to open
491
+
13. Go to the "Details" tab
492
+
14. Click "Copy to File…"
493
+
15. In the export wizard choose the following options
494
+
- Base-64 encoded X.509
495
+
- For file name, Browse… to C:\Users\<your user dir>\AppData\Roaming\StorageExplorer\certs, and then you can save it as any file name
496
+
16. Close the certificate window
497
+
17. Start Storage Explorer
498
+
18. Go to Edit > Configure Proxy
499
+
19. In the dialog, choose "Use app proxy settings", and set the URL to http://localhost and the port to 8888
500
+
20. Click Ok
501
+
21. Restart Storage Explorer
502
+
22. You should start seeing network calls from a `storageexplorer:` process show up in Fiddler
503
+
504
+
Part 2: Reproduce the issue
505
+
1. Close all apps other than Fiddler
506
+
2. Clear the Fiddler log (X icon in the top left, near the View menu)
507
+
3. Optional/recommended: let Fiddler set for few minutes, if you see network calls appear, right-click on them and choose 'Filter Now' > 'Hide <processname>'
508
+
4. Start Storage Explorer
509
+
5. Reproduce the issue
510
+
6. Click File > Save > All Sessions…, save somewhere you won't forget
511
+
7. Close Fiddler and Storage Explorer
512
+
513
+
Part 3: Sanitize the Fiddler trace
514
+
1. Double-click on the fiddler trace (.saz file)
515
+
2. Press `ctrl`+`f`
516
+
3. In the dialog that appears, make sure the following options are set: Search = Requests and responses, Examine = Headers and bodies
517
+
4. Search for any passwords you used while collecting the fiddler trace, any entries that are highlighted, right-click and choose Remove > Selected sessions
518
+
5. If you definitely entered passwords into your browser while collecting the trace but you don't find any entries when using ctrl+f and you don't want to change your passwords/the passwords you used are used for other accounts, then feel free to just skip sending us the .saz file. Better to be safe than sorry. :)
519
+
6. Save the trace again with a new name
520
+
7. Optional: delete the original trace
521
+
430
522
## Next steps
431
523
432
524
If none of these solutions work for you, [open an issue in GitHub](https://github.com/Microsoft/AzureStorageExplorer/issues). You can also do this by selecting the **Report issue to GitHub** button in the lower-left corner.
0 commit comments