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

beta 14 installer...https works greatly, but udp does not work for me #210

Open
Mitch187 opened this issue Feb 16, 2025 · 5 comments
Open

Comments

@Mitch187
Copy link

Hi,

i have installed the version beta 14 installer and with https and lets encrypt it works perfekt. Thank you.

After that, i want to customize a minecraft server via udp...

I have done this:
https://docs.fossorial.io/Getting%20Started/tcp-udp

Here are my traefik and gerbil config:
`Gerbil:
ports:

  • 19132:19132/udp

Traefik:
entryPoints:
udp-19132:
address: ":19132/udp"`

After i start the traefik container, my https://pangolin.mydomain.com does not work anymore. My newt Container say this:
ERROR: 2025/02/16 02:08:09 Failed to connect: failed to get token: failed to request new token: Post "https://pangolin.mydomain.com/api/v1/auth/newt/get-token": dial tcp 193.31.24.59:443: connect: connection refused. Retrying in 10s...

the docker container is on the same container as docker, too. Here ist the stack:
`version: '3.8'
services:
minecraftbedrock:
image: itzg/minecraft-bedrock-server:latest
container_name: Minecraft-Bedrock
hostname: minecraftbedrock
network_mode: bridge
environment:
- EULA=TRUE
volumes:
- data:/data
ports:
- 19132:19132/udp
restart: unless-stopped

volumes:
data:`

@oschwartz10612
Copy link
Member

It might be that your stack is not starting properly because of a config issue. Are you able to see the pangolin web page when you are getting the newt error?

Do you see any errors in the logs?

Could you post your full traefik config and docker file? You can censor what you need to.

@Mitch187
Copy link
Author

Mitch187 commented Feb 16, 2025

It might be that your stack is not starting properly because of a config issue. Are you able to see the pangolin web page when you are getting the newt error?

Do you see any errors in the logs?

Could you post your full traefik config and docker file? You can censor what you need to.

Thank you for your speedly answer. The pangolin Webpage does not work, since the change in the traffik file. I added my configuration in a zip file: Link

Here is my container log from traffik:
{"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:35:41Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:35:42Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:35:42Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:35:43Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:35:45Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:35:47Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:35:50Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:35:57Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:36:10Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:36:36Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:37:28Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:38:28Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:39:29Z","message":"Command error"} {"level":"error","error":"command traefik error: field not found, node: udp-19132","time":"2025-02-16T02:40:29Z","message":"Command error"}

Hope this is what you mean.

@oschwartz10612
Copy link
Member

You have incorrect indenting for your udp entrypoint. It needs to move left one tab. See below:

entryPoints:
  web:
    address: ":80"
  websecure:
    address: ":443"
    transport:
      respondingTimeouts:
        readTimeout: "30m"
    http:
      tls:
        certResolver: "letsencrypt"
  udp-19132:
    address: ":19132/udp"

Try to fix this then restart the stack.

@Mitch187
Copy link
Author

Hi,

that ist the main problem, Thank you for solving this. Now, the container starts and pangolin web page is online.

Bit i can't connect to the minecraft server from outside. Not really outsite (i came from the lan, that i can connect to the mincecraft server from my pc). Here is my Pangolin Config:
https://imgur.com/a/WXkmFBX

i add a dns with minecraft.mydomain.com (A Record) to the IP of the outside Pangolin server, like the https that works greadly.

@Lokowitz
Copy link

Did you open the new upd port in the firewall in front of your pangolin installation?

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