diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 1e1e0ab..2d81a54 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -26,6 +26,8 @@ export default defineConfig({ text: "Create your admin account", link: "/guides/create-admin-account", }, + + { text: "Troubleshooting", link: "/guides/server-troubleshooting" }, ], }, { diff --git a/docs/guides/client-troubleshooting.md b/docs/guides/client-troubleshooting.md index b1acc95..8a09244 100644 --- a/docs/guides/client-troubleshooting.md +++ b/docs/guides/client-troubleshooting.md @@ -1,8 +1,12 @@ # Troubleshooting ## I'm on Linux, with Nvidia proprietary drivers, and Drop won't launch + Add `WEBKIT_DISABLE_DMABUF_RENDERER=1` to the Drop .desktop file: 1. Open `/usr/share/applications/Drop\ Desktop\ Client.desktop` with your preferred editor 2. Add `WEBKIT_DISABLE_DMABUF_RENDERER=1` before `drop-app` on the `Exec=drop-app` line +## "Server's and client's time is out of sync..." + +The server and client must be within 30 seconds of each other for security reasons. Drop uses short-lived tokens to authenticate securely, and they are valid for those 30 seconds. If you are the server administrator, please ensure both your server and client have the correct time. If you are a user, please double check your own system before asking your admin. diff --git a/docs/guides/quickstart.md b/docs/guides/quickstart.md index e6069e4..4023be6 100644 --- a/docs/guides/quickstart.md +++ b/docs/guides/quickstart.md @@ -57,6 +57,10 @@ services: If you want to, you can generate a more secure PostgreSQL username & password. ::: +::: warning +For security reasons, the Drop server and client's times need to be within 30 seconds of each other, otherwise authorization will fail. +::: + Once your instance is running, [create your admin account](/guides/create-admin-account.md). ## Setting up a client diff --git a/docs/guides/server-troubleshooting.md b/docs/guides/server-troubleshooting.md new file mode 100644 index 0000000..64a80c8 --- /dev/null +++ b/docs/guides/server-troubleshooting.md @@ -0,0 +1 @@ +# Troubleshooting \ No newline at end of file