Skip to content

Commit

Permalink
docs: add troubleshooting page
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidapaulopt committed Dec 11, 2024
1 parent c1c1645 commit f8f7a7c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/content/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Changelog
prev: /docs/advanced
weight: 200
---

Expand Down
45 changes: 45 additions & 0 deletions docs/content/docs/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: Troubleshooting
prev: /docs/advanced
weight: 300
toc: false
---


{{% steps %}}

### http: proxy error: tls: failed to verify certificate: x509: certificate

The actual error is a TLS error. The most common cause is that the target has a self-signed certificate.

```yaml
tsdproxy.enable: true
tsdproxy.scheme: https
tsdproxy.tlsvalidate: false

```
### 2024/12/06 15:17:11 http: proxy error: dial tcp 172.18.0.1:8001: i/o timeout
This error is caused by the target not being reachable. It's a network error.
#### Cause: Firewall
Most likely the firewall is blocking the traffic. In case of UFW execute this command:
```bash
sudo ufw allow in from 172.17.0.0/16
```

#### Cause: Failed docker autodetection

Try to disable autodetection and define the port:

```yaml
labels:
tsdproxy.enable: "true"
tsdproxy.autodetect: "false"
tsdproxy.port: 8001
```
{{%/ steps %}}

0 comments on commit f8f7a7c

Please sign in to comment.