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

Can't connect to server #4

Open
Redcom1988 opened this issue May 30, 2024 · 2 comments
Open

Can't connect to server #4

Redcom1988 opened this issue May 30, 2024 · 2 comments

Comments

@Redcom1988
Copy link

Redcom1988 commented May 30, 2024

Server loads normally without any issues regarding NGROK and Cloudflare but upon client connect, it just returns "Connection Refused: No further information" or "java.net.SocketException: Connection reset". No mentions of anyone trying to connect in the server logs.

Docker compose file:

version: "3.8"
services:
  minecraft-server:
    image: florianbreuker/docker-ncfs-minecraft-server
    build:
      context: .
      dockerfile: Dockerfile
    deploy:
      resources:
        limits:
          cpus: "6.0"
          memory: "6G"  
        reservations:
          cpus: "4.0"
          memory: "2G"
    container_name: minecraft-server
    tty: true
    stdin_open: true
    environment:
      - NGROK_AUTH_TOKEN=[authtoken] # ngrok auth token
      #  If you have a Cloudflare Domain
      - CLOUDFLARE_AUTH_EMAIL=[authemail] # Cloudflare account E-Mail
      - CLOUDFLARE_API_KEY=[apikey] # Cloudflare Global API Key
      - CLOUDFLARE_ZONE_ID=[zoneid] # Cloudflare Zone ID
      - CLOUDFLARE_CNAME_RECORD=minecraft.[domain].com # Cloudflare CNAME Domain
      - CLOUDFLARE_SRV_RECORD=[domain].com # Cloudflare SRV Domain (for your connection)
      - VERSION=1.20.1
      - INIT_MEMORY=6G
      - MAX_MEMORY=6G
      - EULA=true
      - USE_AIKAR_FLAGS=true

    volumes:
      - mcdata:/data:Z

volumes:
  mcdata:

Client Logs:
[Render thread/ERROR] [minecraft/ServerStatusPinger]: Can't ping [serversrvrecord].com: Disconnected

There weren't any issues yesterday

@MyShlongIsLongAT
Copy link
Owner

Hi @Redcom1988,

Did you use a subdomain for your SRV-record, as advised in the README?

Regards

@Redcom1988
Copy link
Author

Everything was configured exactly like the readme, it was working just fine until recently and nothing has been changed. Currently, my only speculation is just the free ngrok limited outbound data transfer bandwidth

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

2 participants