Troubleshooting
Troubleshooting
How to troubleshoot TSDProxy
Global
- Verify your tsdproxy.yaml file. Configuration files are Case sensitive. Verify your files
Docker provider
- Verify if you added the label with tsdproxy.enable=true
- Force use of the port adding tsdproxy.container_port=xxx to the container
- If your container is using https add tsdproxy.scheme=“https” to your container
- If case of self certificates also add tsdproxy.tlsvalidate=false
- Check if your firewall isn’t blocking the traffic
- Add your container to the same TSDProxy docker network
- Disable autodetection with tsdproxy.autodetect=“false” in your container
- Verify if your case isn’t in the next Common errors
- Still having problems? Send a Bug report
Proxies List provider
- Configuration files are case sensitive. Verify your files
Common Errors
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.
tsdproxy.enable: true
tsdproxy.scheme: https
tsdproxy.tlsvalidate: false
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. If using UFW, execute this command:
sudo ufw allow in from 172.17.0.0/16
Cause: Failed docker autodetection
Try to disable autodetection and define the port:
labels:
tsdproxy.enable: "true"
tsdproxy.autodetect: "false"
tsdproxy.container_port: 8001
Funnel doesn’t work
Cause: Funnel not enabled
Visit https://tailscale.com/kb/1223/funnel#funnel-node-attribute to enable Funnel in ACL
Cause: Using tags with Funnel
If using tags, edit the attribute to include your tag(s), e.g.:
"nodeAttrs": [
{
"target": ["autogroup:member", "tag:server"],
"attr": ["funnel"],
},
],
Last updated on