From 80d9130af3d621632a097f232e4e32036e0a41a9 Mon Sep 17 00:00:00 2001 From: Eric Paulsen Date: Fri, 25 Jun 2021 11:02:29 -0500 Subject: [PATCH 1/4] add troubleshooting for 502 error --- guides/troubleshooting/502error.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 guides/troubleshooting/502error.md diff --git a/guides/troubleshooting/502error.md b/guides/troubleshooting/502error.md new file mode 100644 index 000000000..05072c5f0 --- /dev/null +++ b/guides/troubleshooting/502error.md @@ -0,0 +1,29 @@ +--- +title: "TypeError: Failed to fetch" +description: Learn how to resolve the TypeError +--- + +When using Coder, you may encounter the following error when loading a workspace: + +```console +Failed to fetch applications! +TypeError: Failed to fetch +``` + +## Why this happens + +This is a websocket error that occurs when network traffic attempts to access +the applications' endpoint. + +## Troubleshooting Steps + +- Ensure your Coder access URL is set to `https://your-coder-domain.com` + + 1. To find the access URL, navigate to **Admin** > **Infrastructure** > + **Access URL** + +- If not already done so, set your `envproxy.accessURL` values to `https://your-coder-domanin.com/proxy` +in the `values.yaml` file of your Coder Helm chart. + +If none of these steps resolve the issue, please [contact us](https://coder.com/contact) +for further support. From cc20d3d809efd09aecb881362cf5b955f32a2040 Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Fri, 25 Jun 2021 11:53:46 -0500 Subject: [PATCH 2/4] Edit text --- guides/troubleshooting/502error.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/guides/troubleshooting/502error.md b/guides/troubleshooting/502error.md index 05072c5f0..64eec6d56 100644 --- a/guides/troubleshooting/502error.md +++ b/guides/troubleshooting/502error.md @@ -1,9 +1,9 @@ --- title: "TypeError: Failed to fetch" -description: Learn how to resolve the TypeError +description: Learn how to resolve TypeError issues. --- -When using Coder, you may encounter the following error when loading a workspace: +When using Coder, you may encounter this error when loading a workspace: ```console Failed to fetch applications! @@ -12,18 +12,19 @@ TypeError: Failed to fetch ## Why this happens -This is a websocket error that occurs when network traffic attempts to access -the applications' endpoint. +This is a WebSocket error that occurs when network traffic attempts to access +the applications endpoint. ## Troubleshooting Steps -- Ensure your Coder access URL is set to `https://your-coder-domain.com` +- Ensure your Coder access URL is set to `https://your-coder-domain.com`. - 1. To find the access URL, navigate to **Admin** > **Infrastructure** > - **Access URL** + You can verify your access URL by going to **Admin** > **Infrastructure** > + **Access URL**. -- If not already done so, set your `envproxy.accessURL` values to `https://your-coder-domanin.com/proxy` -in the `values.yaml` file of your Coder Helm chart. +- Set `envproxy.accessURL` values to `https://your-coder-domanin.com/proxy` in + the `values.yaml` file of your Coder Helm chart. Review our guide on [updating + Helm charts](../admin/helm-charts.md) for more information on how to do this. -If none of these steps resolve the issue, please [contact us](https://coder.com/contact) -for further support. +If none of these steps resolve the issue, please [contact +us](https://coder.com/contact) for further support. From 1dccb8f6b3b820690066ff7c20a9ebb4b955f9f0 Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Fri, 25 Jun 2021 11:56:46 -0500 Subject: [PATCH 3/4] Update manifest --- manifest.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifest.json b/manifest.json index 97bf42005..cc764a7d7 100644 --- a/manifest.json +++ b/manifest.json @@ -363,6 +363,9 @@ }, { "path": "./guides/troubleshooting/docker-problems.md" + }, + { + "path": "./guides/troubleshooting/502error.md" } ] } From bda55c064525c275e9fc990c8f41bfac88a4a60c Mon Sep 17 00:00:00 2001 From: Katie Horne Date: Fri, 25 Jun 2021 12:01:20 -0500 Subject: [PATCH 4/4] Fix manifest --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 5fef69c3b..1f0ee451d 100644 --- a/manifest.json +++ b/manifest.json @@ -375,7 +375,7 @@ }, { "path": "./guides/troubleshooting/502error.md" - }, + } ] } ]