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

[nioEventLoopGroup-2-1] WARN org.cloudburstmc.netty.handler.codec.raknet.server.RakServerRateLimiter - [/192.168.1.209] Blocked because packet limit was reached null disconnected #503

Open
pattarom opened this issue Jun 14, 2024 · 2 comments

Comments

@pattarom
Copy link

pattarom commented Jun 14, 2024

What happened?

I run BedrockConnect in a container.
Sometimes I cannot connect and looking in the log I find this error:

[nioEventLoopGroup-2-1] WARN org.cloudburstmc.netty.handler.codec.raknet.server.RakServerRateLimiter - [/192.168.1.209] Blocked because packet limit was reached
null disconnected

For installing I use this docker composer configuration:
I try to set packet limit to extreme values, but issue often returns

To resume I must manually restart the container

version: "3.8"

services:
  bedrockconnect: 
    image: strausmann/minecraft-bedrock-connect:latest
    restart: always
    environment:
      MYSQL_HOST: "db"
      MYSQL_USER: "bedrock"
      MYSQL_PASS: "bedrock"
      MYSQL_DB: "bedrock"
      CUSTOM_SERVERS: "/config/serverlist.json"
      FEATURED_SERVERS: false
      USER_SERVERS: true
      PACKET_LIMIT: 2000
      offline_packet_limit: 50
      global_packet_limit: 150000
      #BRC_VERSION: 1.45
      
    ports:
      - 19132:19132/udp
    depends_on:
      - db
    volumes:
     #- bedrockconnect:/config
     - /home/michele/mcbedrockc-data:/config

  db: 
    image: mariadb:10.6
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=rootpwbedrock
      - MYSQL_PASSWORD=bedrock
      - MYSQL_USER=bedrock
      - MYSQL_DATABASE=bedrock
      - TZ=Europe/Berlin
      - PGID=1000
      - PUID=1000
    ports:
      - 3306:3306
    volumes:
      - bedrockconnect_database:/var/lib/mysql

volumes:
  bedrockconnect:
    driver: local
  bedrockconnect_database:
    driver: local

Expected Behaviour?

I can connect without issues.

Steps to reproduce.

No response

Screenshots/Videos

No response

Minecraft Bedrock Version

1.21.03 but issue was still present in earlier versions

Console

XBOX and Windows PC

Additional Context

No response

@Pugmatt
Copy link
Owner

Pugmatt commented Jun 14, 2024

You appear to be using a Docker image strausmann/minecraft-bedrock-connect:latest, which is not provided by this project

You would most likely need to adjust packet_limit, which I see you are attempting to, but looking at this source file from strausmann/minecraft-bedrock-connect, it is not passing in the packet_limit docker environment variable to the startup command https://github.com/strausmann/minecraft-bedrock-connect/blob/main/image/bedrock-entry.sh

Since this is a file outside of this project, you may need to submit an issue to the image creator here: https://github.com/strausmann/minecraft-bedrock-connect

In the meantime, I will consider looking into adding environment variable support by default, as I do see how that could be helpful in these cases.

@pattarom
Copy link
Author

Ok, I opened an issue to Strausmann.
Thank you for your support

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