Skip to content

add troubleshooting for 502 error #437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions guides/troubleshooting/502error.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: "TypeError: Failed to fetch"
description: Learn how to resolve TypeError issues.
---

When using Coder, you may encounter this 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`.

You can verify your access URL by going to **Admin** > **Infrastructure** >
**Access URL**.

- 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.
3 changes: 3 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@
},
{
"path": "./guides/troubleshooting/inotify-watch-limits.md"
},
{
"path": "./guides/troubleshooting/502error.md"
}
]
}
Expand Down