From c6ef3326c7ece939fbf229a34d8e254e14c6240d Mon Sep 17 00:00:00 2001 From: Yudi Date: Tue, 4 Jun 2019 13:05:40 -0300 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index f5c88ec..e5cfed6 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -30,6 +30,14 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet `DiscordChatExporter.Cli.exe export -t -b -c ` +### Username is not in the sudoers file. This incident will be reported +Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot. + +### Mono command not found +If you're trying to execute Mono within a script on macOS, make sure you include the PATH variable. + +Adding `PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin` before the command should solve this. + ### Unhandled Exception ``` @@ -50,6 +58,20 @@ The command should be like: `DiscordChatExporter.Cli.exe export -t -c ` + +``` +Unhandled Exception: +System.Net.WebException: Error: TrustFailure ... Invalid certificate received from server. +... +``` +Try running cert-sync. + +Ubuntu/Debian: `cert-sync /etc/ssl/certs/ca-certificates.crt` + +Red Hat: `cert-sync --user /etc/pki/tls/certs/ca-bundle.crt` + +If it doesn't work, try mozroots: `mozroots --import --ask-remove` + ``` Unhandled Exception: System.MissingMethodException: Method 'System.Net.Logging.get_Http' not found. @@ -58,14 +80,6 @@ System.MissingMethodException: Method 'System.Net.Logging.get_Http' not found. Make sure mono is correctly installed if you're running [macOS](https://github.com/Tyrrrz/DiscordChatExporter/wiki/macOS-usage-instructions) or [Linux](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions). -### Username is not in the sudoers file. This incident will be reported -Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot. - -### Mono command not found -If you're trying to execute Mono within a script on macOS, make sure you include the PATH variable. - -Adding `PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin` before the command should solve this. - *** If the solution to your problem isn't here and it's not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), please [open a new issue](https://github.com/Tyrrrz/DiscordChatExporter/issues/new). \ No newline at end of file