Skip to content
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

Tunnel stops on server restart #38

Open
Schuischta opened this issue Oct 5, 2024 · 6 comments
Open

Tunnel stops on server restart #38

Schuischta opened this issue Oct 5, 2024 · 6 comments

Comments

@Schuischta
Copy link

Hi, every time my server restarts, the tunnel stops working. I then have to go to the web UI and click 'Stop' and then 'Start' again for the tunnel to work.

@Zoobdude
Copy link
Contributor

Zoobdude commented Oct 5, 2024

Could you attach some logs after the restart?

@Schuischta
Copy link
Author

It seems to work as for now. If it happens again i will attach the logs.

@Schuischta
Copy link
Author

_cloudflared_web_logs.txt
It happend again. Here are the logs.

@WisdomSky
Copy link
Owner

WisdomSky commented Oct 9, 2024

@Schuischta

have you tried setting custom DNS server when running the container?

https://docs.docker.com/engine/network/#dns-services

If you are using docker compose, you can do it as such:

services:
  cloudflared:
    image: wisdomsky/cloudflared-web:latest
    dns:
      - 1.1.1.1
      - 8.8.8.8

@WisdomSky
Copy link
Owner

Also for security purpose, please refresh your connector token in cloudflare zerotrust dashboard and replace the one in your cloudflared-web instance as your current token is visible from the logs you attached.

@Schuischta
Copy link
Author

Thanks, i will try to set a custom DNS server, maybe thats the problem because i'm using my Homeserver as DNS server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants