#waterfall-github

1 messages ยท Page 2 of 1

buoyant shoreBOT
buoyant shoreBOT
#
[19:51:04 ERROR]: [/188.69.209.5:52564|vegetafan] <-> DownstreamBridge <-> [s2] - encountered exception
io.netty.handler.codec.CorruptedFrameException: Empty Packet!
at net.md_5.bungee.protocol.Varint21FrameDecoder.decode(Varint21FrameDecoder.java:44) ~[server.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:1f16030:286]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) ~[server.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:1f16030:286]
...
buoyant shoreBOT
#

I get this a lot in my logs, and its all the same IP.

[10:58:03] [Netty Worker IO Thread #0/WARN]: Error whilst handling query packet from /195.201.249.154:60159
java.lang.IllegalStateException: No session!
	at net.md_5.bungee.query.QueryHandler.handleMessage(QueryHandler.java:99) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:1f16030:286]
	at net.md_5.bungee.query.QueryHandler.channelRead0(QueryHandler.java:60) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:1f16030:286...
#

I have been having issues with people randomly getting kicked from the servers I have under waterfall with:
internal Exeption: java.net.socketException: connection reset
looking up the bungee logs:
I have redacted username and IP:

[13:14:08] [Netty Worker IO Thread #4/INFO]: [/5.66.777.8:51170] <-> InitialHandler is pinging
[13:14:08] [Netty Worker IO Thread #6/INFO]: [/5.66.777.8:51171] <-> InitialHandler has connected
[13:14:09] [Netty Worker IO Thread #6/INFO]: [Usernameredact...
buoyant shoreBOT
buoyant shoreBOT
#

Connection reset means that the connection was improperly closed by a remote node, not by waterfall; Sounds like either something is sending info to clients which is causing them to kill or there is an issue with your network in general, overall I can't see a waterfall issue here given the generic nature of the issue, we'd need more info to confirm that an issue exists with waterfall

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Hello,
currently our bungeecord is crashed after my research with the help of wrong packets. The crash is so that the proxy is not reachable for about one minute and is then reachable again. Here's the exception:
`io.netty.handler.codec.DecoderException: java.lang.RuntimeException: VarInt too big
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98) ~[bungee.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:c0c84ca:287]
at io.netty.channel.AbstractChann...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

This is getting ridiculous now, my last ticket got closed without even looking into this.
This is happening to a LOT of my users.
I have had my server for 6 years and this has just started happening out of the blue, I am the server owner and its happened to me after playing for about 60 mins in a stable internet connection, I know I haven't had this issue before, its Bungee/Waterfall issue.

Searching for the word "WARN" in my latest bungee log brings back 1152 results... This isn't ...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

What's the purpose of this commit? Does it lower cpu or memory consumption? If so, do you have some some tests that shows this?

Reduces array creation caused by invoking events via reflection, since java.lang.Method.invoke(...) creates new array on each invocation, this commit replaces it with direct MethodAccessor's, and array is created only once.

Will provide tests maybe tomorrow, cuz I'm a bit tired rn

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

[10:30:21 ERROR]: Exception in thread "main" java.lang.NoClassDefFoundError: org/jline/terminal/Terminal$MouseTracking
[10:30:21 ERROR]: at org.jline.reader.impl.LineReaderImpl.doCleanup(LineReaderImpl.java:2345)
[10:30:21 ERROR]: at org.jline.reader.impl.LineReaderImpl.cleanup(LineReaderImpl.java:2332)
[10:30:21 ERROR]: at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:626)
[10:30:21 ERROR]: at org.jline.reader.impl.LineReaderImpl.readLi...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Any updates on this?

Even if you have a million entries, assuming the overhead is as high as 64 bytes per entry (way more than it actually is), that's only 64MB of RAM.

I don't see why this change is necessary, and sorting the set each time an entry is added is horrible for performance.

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Hello!
I am having trouble connecting to my Thermos server.
My current network is:
Server 1 : Travertine #105
Server 2: Paper-1.12.2-b1618
Server 3: Thermos build 58

With modpack 1.7.10 I can enter server 2 without problems, but when entering server 3 (thermos) my client crashes.
Client crash: https://pastebin.com/raw/YG0RzTji

Log Travertine: https://pastebin.com/raw/hShKkpwB
Log Paper: https://pastebin.com/raw/kjeEiQbW
Log Thermos: https://pastebin.com/raw/uXDBUERQ

buoyant shoreBOT
buoyant shoreBOT
#

Does connecting directly with a forced host help? Have you tried disabling
entity metadata rewiring in waterfall.yml? Ultimately, forge and bungee in
general are a bit of a sticky topic in which it's mostly down to mods to
handle bungee properly, shamefully, many don't and won't work with bungee
at all as stuff occurs which they don't expect

On Mon, 22 Jul 2019, 22:45 HeberonYT, notifications@github.com wrote:

Hello!
I am having trouble connecting to my Thermos server.
My current ne...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

ยฟShould the LOST_CONNECTION message be sent by waterfall after a player disconnects by his own from a server? I thought that it would only be sent if the player loses the connection unexpectedly.

Here is the case, I have a lobby-kick plugin, and it's configured to detect the lost_connection message that I have. When a player disconnects from the whole server, that message is sent and the plugin detects it and tries to send the player to the lobby. It causes "the Unexpected packet received ...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

@electronicboy
Thanks for your answer.
This is the configuration of my waterfall.yml

use_netty_dns_resolver: true disable_entity_metadata_rewrite: true disable_modern_tab_limiter: true log_initial_handler_connections: true throttling: tab_complete: 1000 game_version: '' allow_empty_packets: false

I have also tried to remove all mods from the server and client and only leave thermos installed, but crashing is still present on the client.
The only thing I need to try is t...

buoyant shoreBOT
#

kpmyon] <-> DownstreamBridge <-> [shengcun] - encountered exception
java.lang.IllegalArgumentException: Unknown meta type 14: Using mods? refer to disable_entity_metadata_rewrite in waterfall.yml
at net.md_5.bungee.entitymap.EntityMap.rewriteMetaVarInt(EntityMap.java:283) ~[waterfall-289.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:eb6cf93:289]
at net.md_5.bungee.entitymap.EntityMap.rewriteMetaVarInt(EntityMap.java:135) ~[waterfall-289.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT...

buoyant shoreBOT
#

@electronicboy The plugin is set to listen for the message "lost_connection=[Proxy] Lost connection to server."

They are disconnecting clicking disconnect, as I tried it myself.

I don't have a clear log, but I tried to see what happens in the console

`
[23:26:20] [Netty Worker IO Thread #16/INFO]: [/|AlexReq] -> UpstreamBridge has disconnected

[23:26:20] [Netty Worker IO Thread #16/INFO]: [/|AlexReq] <-> DownstreamBridge <-> [murder] has disconnected

[23:26:20] [Netty Worker I...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Provided is the error when a user is trying to join 02.08 13:13:53 [Server] WARN [io.netty.util.concurrent.AbstractEventExecutor]: A task raised an exception. Task: net.md_5.bungee.connection.InitialHandler$6$1@4238b77f
02.08 13:13:53 [Server] INFO java.lang.IllegalStateException: Default server not defined
02.08 13:13:53 [Server] INFO at com.google.common.base.Preconditions.checkState(Preconditions.java:444) ~[waterfall-290.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:c3d67e5:290]
02.08 13:1...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Half of player were kicked after the error.

Waterfall-290
PaperSpigot 1.14.4

Error log:
06.08 22:18:30 [Server] WARN No client connected for pending server!
06.08 22:18:30 [Server] INFO 0d0100
06.08 22:18:31 [Server] WARN No client connected for pending server!
06.08 22:18:31 [Server] INFO 0d0100
06.08 22:18:31 [Server] WARN No client connected for pending server!
06.08 22:18:31 [Server] INFO 0d0100

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

^ Bungee requires that packets are registered in order to be able to "intercept" them, otherwise, they're just passed straight through. Ultimately, the client was never really intended to be used like this, you could test if the disable entity metadata in waterfall.yml provides a nicer transfer experience given that it forces more client state to be in a "we're joining a server" vs "we're switching dimension", or try to control what the client is sent more as above

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

MC:1.12.2
Forge:14.23.5.2838
SpongeForge:1.12.2-2825-7.1.6

As long as the player gets the potion effect, he will be kicked out.

Waterfull show that bad packet ID, are mods in use!? Did not read all bytes from packet class net.md_5.bungee.protocol.packet.EntityEffect 79 Protocol GAME Direction TO_CLIENT

There are many potion effects in mods which I install in my server.Will this have any impact?

buoyant shoreBOT
buoyant shoreBOT
#

You have a mod which is modifying the contents of the potions packet, waterfall cares about this in order to fix a race condition with forge, which makes this a fun one to solve; Would really need to know what these mods are doing to the packet in order to determine a proper fix

I have the same problem and same error logs with slashblade and tinkersconstruct
slashblade : when the player is using a sa, he's kicked out
tinkersconstruct๏ผšwhen the player triggers some special effects of ce...

buoyant shoreBOT
buoyant shoreBOT
#

Waterfall improved the ServerKickEvent to cover more cases, (#39), this is great because it lets plugins capture certain situations easier than vs bungee, however;

Specifically, the LOST_CONNECTION cause is generic and fired should the client disconnect from the client, leading to a specific edge case which plugins do not expect: The client has disconnected from the server

I guess this opens a question of what is the best way to go for this:

  1. Move lost connection to its own event, ...
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Last couple weeks has been really rough for my server because players are randomly getting kicked. First I checked every Spigot instances but there was no issue. BungeeCord is getting unresponsive for ~10 seconds and then half of the players in the server getting kicked.

It happens almost every 5 to 15 minutes. So it's making the gameplay so painful and players stops playing the server.

I tried to profile it with YourKit. Here is a YourKit snapshot:
https://www.dropbox.com/s/sazf3tcuv...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Ill leave some screenshots, so the waterfall server boots up (first screenshot) and gives the message "2019-08-21 18:02:13,625 main WARN Advanced terminal features are not available in this environment". However after that, the server keeps with the startup procedure and says listening on 192.168.0.4:25565, meaning i could usually join the server.
CMD prompt. When i go to join the server ...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

This is but a small change to the existing module (cmd-server) that would make a server list message more configurable. There are a lot of servers (including my own) that still use this module to provide an easy way to change servers. While the module itself is really small and fast, it wasn't offering a full way to change the server list message, until now. With this PR accepted people will be able to fully customize the message (including message after the end of the list and possibility to...

buoyant shoreBOT
buoyant shoreBOT
#

Hi, I have a couple of changes and additions that I think would benefit server owners regarding tab-completion with waterfall.

  • A similar setting to default Spigot's send-namespaced. This would disable any of the <plugin name>:<command> commands listed in tab completion, and only show the <command> part. This could be helpful if you want to hide the plugins you're using.
  • A way to hide every player's name by typing nothing and pressing tab. Currently if you run plugins such as Bun...
buoyant shoreBOT
#

These suggestions aren't applicable to the proxy;

  1. Waterfall/bungee do not send namespaced commands, nor do I believe it's the proxies place to interfere with commands sent by the server itself

  2. This is client sided, the completion itself is derived from the player info which is displayed in tab, only way for it to not be displayed would be for it to not have been sent to the client/removed from tab

  3. This configuration option changes the response of the bukkit API to suggest pl...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

i still see
[17:51:04] [Netty Worker IO Thread #60/ERROR]: [/79.45.96.127:53816|Killator] <-> DownstreamBridge <-> [hub-1] - encountered exception
java.lang.IllegalArgumentException: Team 718eb already exists in this scoreboard
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:191) ~[waterfall.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:c3d67e5:290]
at net.md_5.bungee.api.score.Scoreboard.addTeam(Scoreboard.java:73) ~[waterfall.jar:git:Waterfall-Bootstrap:1.14-SNAP...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Our Waterfall recently had problems decoding var ints. It was possible that an attacker could send bytes all matching 0x80 bitmask. The cosequence is that it costs really much cpu time.

Old Code: `public static int readVarIntOLD(final ByteBuf input, final int maxBytes) {
int out = 0;
int bytes = 0;
byte in;
do {
in = input.readByte();
out |= (in & 0x7F) << bytes++ * 7;
if (bytes > maxBytes) {
throw new RuntimeExcep...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#
[PaperMC/Waterfall] New branch created: illegal\-packets
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Hello, i have a network tha averages 200-260 players sometimes waterfall kicks around half the players off the network. (kicks like 20% from each server). This has started happening since we added more servers to the network and we got more players.

At first I thought it was due to the CPU's load. So i bought a new dedi and i moved my bungeecord there. Issue wasnt fixed, then i thought it was ram, from 4gb i changed it to 2gbs because i thought that it may have been too much. Then i chang...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

if disable_entity_metadata_rewrite in waterfall.yml set true , then my Tap plugins doesn't work.
if disable_entity_metadata_rewrite in waterfall.yml set fales , then Some of my servers will be unconnected from time to time.
encountered exception java.lang.IllegalArgumentException: Unknown meta type 14: Using mods? refer to disable_entity_metadata_rewrite in waterfall.yml

Both SkyFactory4 with Mohist and EnigTech with Catserver.

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Sorry for the late response, i was on vacation.

@Janmm14 Your completly right, even from the logic perspective it's identical.

We had profiled our waterfall fork and found out, that there was much time spent in the readVarInt method. So I looked online for a solution and found this code.I seem to just have copy & pasted it, created an issue without analysing it properly. I just wanted to fix it before vacation.
The "old code" is actually from our fork, so it has nothing to do with th...

buoyant shoreBOT
buoyant shoreBOT
#

[23:36:18 ERROR]: [/192.168.2.1:50013|YouTube0099] <-> DownstreamBridge <-> [Hub-1] - encountered exception
io.netty.handler.codec.DecoderException: Error decoding packet unknown with contents:

at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:69) ~[Travertine.jar:git:Travertine-Bootstrap:1.13-SNAPSHOT:56099f3:67]
at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:13) ~[Travertine.jar:git:Travertine-Bootstrap:1.13-SNAPSHOT:56099f3:67]
at...
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

hmm
My main server is 1.8.8 spigot.
I am making a custom nick plugin so I made a sign gui like hypixel for getting user input for custom nickname.
I found this: https://www.spigotmc.org/threads/sign-gui-for-user-input.104394/page-2#post-1162152
and I used the API.

//
for(WrappedChatComponent chat : packet.getLines()) {
Bukkit.getConsoleSender().sendMessage(StringEscapeUtils.unescapeJavaScript(chat.getJson()));
}
\
About this section, If I send a messages, players got ki...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Latest jessica client's feature ".figure" crashes bungeecord quite fast (no errors, it just restarts), if there are at least 2 players online.
That feature sends item packets containing shulkerboxes that have books with oversized pages (too long and too many) inside. Seems like a workaround on the now already fixed oversized book exploit.

I think this should be prevented directly on waterfall, because only bungeecord crashes, while the spigot server is fine.

I was able to block this o...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Once again, you would need to speak to plug-in authors to try to mitigate
this;

On Sun, 3 Nov 2019, 16:31 JHarris12345, notifications@github.com wrote:

@electronicboy https://github.com/electronicboy How do I prevent
plugins from creating the same team names on my different servers?

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/PaperMC/Waterfall/issues/318?email_source=notifications&email_token=AA...

#

If this is your suggested fix for the proxy, it would require additional
overheads to remap teams, would also create some potential oddball handling
if bungee plugins come into play

The ultimate fix is going to be to figure how to handle the server switch
better, my current thought is to just queue scoreboard packets and flush
them through, it is it's own set of headaches and mess, but the only other
alternative is to leave this solely on server/plug-in devs

On Sun, 3 Nov 2019, 08:05 Mystif...

#

Try disabling entity metadata rewriting in waterfall.yml

On Sun, 3 Nov 2019, 13:30 Mark Vainomaa, notifications@github.com wrote:

Please provide your Waterfall configuration (waterfall.yml) and the list
of installed plugins (to rule out other issues). Do you also have
IP/profile forwarding enabled (ip_forward in config.yml)?

โ€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/PaperMC/Waterf...

buoyant shoreBOT
#

Try disabling entity metadata rewriting in waterfall.yml

thanks. i tried but didn't solve.

Please provide your Waterfall configuration (waterfall.yml) and the list of installed plugins

use_netty_dns_resolver: true
disable_modern_tab_limiter: true
log_initial_handler_connections: true
throttling:
  tab_complete: 1000
game_version: ''
disable_entity_metadata_rewrite: true
connection_throttle_limit: 3
online_mode: false
log_commands: false
network_compres...
#

As this mod seems to be closed source, then try to contact with the mod creator about this issue.

On 3. Nov 2019, at 23:12, Jecvay Liu notifications@github.com wrote:

Try disabling entity metadata rewriting in waterfall.yml

thanks. i tried but didn't solve.

Please provide your Waterfall configuration (waterfall.yml) and the list of installed plugins

use_netty_dns_resolver: true
disable_modern_tab_limiter: true
log_initial_handler_connections: true
throttling:
...

buoyant shoreBOT
#

@electronicboy would intercepting the inbound Scoreboard Send work? Compare the previous scoreboard name with the latter and if they match; mutate the name by a character or so and send that packet instead? If I'm correct team/scoreboard packets don't require a scoreboard name they just latch on to the clients current scoreboard and if the client thinks it has a new scoreboard now; the team in theory won't pre exist? Would obviously need to confirm it wasn't the same server sending the Send S...

buoyant shoreBOT
#

The client only has a singular scoreboard, teams are shared across all instances; This issue is also not down to the client, this is pretty much 100% a flaw in bungees server connection process; The new target server sends itโ€™s scoreboard data before the proxy has cleaned up the scoreboard on the client, rewriting team names just adds additional complexity, bloat and overheads in the proxy

On 5 Nov 2019, at 11:34, Mystiflow notifications@github.com wrote:

@electronicboy <https://git...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

We have no clear overview about those exploits. Personally I don't want to run or download cheat clients on my personal computer (nor do I have decent sandboxing around) to get the grasp what those exploits actually do - I am not fond of running untrusted code near my personal data what I can get from even less trusted webpages.

If someone wants to help then sure, PaperMC IRC and Discord guild are there for a reason. Provide enough information and someone of us will look into it.

buoyant shoreBOT
buoyant shoreBOT
#

Another exploit "nullping" adds to the many that can crash bungee, and there's little to no effort on their part to fix these upstream instead of having to deal with them with some obscure plugin or fork.

There is little to no effort to do proper bug reports upstream apparantly.

Create an issue on bungeecord repository, provide the cheat client, say the command which crashes your bungee and I'm sure someone (maybe me) would decompile the client then and provide details on ...

#

I've yet to see this in a capacity to crash the proxy outside of just
making it flood exceptions, in part, this is somewhat unfixable given the
nature of a server softwares goal, the fix is Ultimately going to be to try
to optimize how errors are basically handled in the proxy to make them
being thrown less of a performance hit

On Wed, 20 Nov 2019, 17:26 Janmm14, notifications@github.com wrote:

Another exploit "nullping" adds to the many that can crash bungee, and
there's little to no...

buoyant shoreBOT
buoyant shoreBOT
#

ๆˆ‘็š„ๆœๅŠกๅ™จไธŠไนŸๆœ‰ๅŒๆ ท็š„้—ฎ้ข˜๏ผŒๅชๆœ‰ๅœจๆ›ดๆขๆœๅŠกๅ™จๅŽๆ‰ไผšๅ‘็”Ÿ๏ผŒๅผ€ๅง‹ๆ—ถๅœจๅคงๅŽ…็œ‹่ตทๆฅ่ฟ˜ไธ้”™ใ€‚
https://cdn.discordapp.com/attachments/641968803508518913/644205135756656701/unknown.png

I am the same.

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#
[PaperMC/Waterfall] New branch created: feature/ConnectionInitEvent
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

So, I've had this issue with many other forks of Bungee and with BungeeCord itself. I just want to know why 1.7.10 players are kicked when 1.8 players connect to the server.

Logs:

[21:27:16] [Netty Worker IO Thread #0/INFO]: [/104.174.5.181:53259] InitialHandler is pinging
[21:27:16] [Netty Worker IO Thread #1/INFO]: [/104.174.5.181:53260] InitialHandler has connected
[21:27:17] [Netty Worker IO Thread #1/INFO]: [SubTheSandwichV2|/104.174.5.181:53260] ServerConnector [lobby] has co...

buoyant shoreBOT
#
[PaperMC/Travertine] New branch created: unsupported
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#
[PaperMC/Waterfall] branch deleted: feature/ConnectionInitEvent
buoyant shoreBOT
#

Wut

On Mon, 16 Dec 2019, 17:16 meerpaluten, notifications@github.com wrote:

If the Server is in onlinemode, and a player joined who is cracked. Then
not trigger the ProLoginEvent. Pls patch it. Not Trigger!

โ€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/PaperMC/Waterfall/issues/437?email_source=notifications&email_token=AAJMAZH4N2MQRNG6KDOXXKTQY6ZWLA5CNFSM4J3NG5E2YY3PNVWWK3TUL52HS4DFUVEX...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Hi! I've came across an issue with my Waterfall setup.
My users aren't able to connect, as they get kicked:

Error occurred while contacting login servers, are they down?

(Nope, the login servers aren't down)
We get this error if we disconnect from the Lobby once, then try to join again. I have to restart both Waterfall and the Lobby to fix it.
Waterfall prints this exception in console, below 'error authenticating USER with minecraft.net': [Link to Hastebin](https://hastebin.com/fi...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Hi, can u help me? I have this error.

[20:36:30] [Netty Worker IO Thread #15/ERROR]: [/188.75.186.162:50102] InitialHandler - encountered exception
io.netty.handler.codec.DecoderException: Error decoding packet class Handshake with contents:
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 00 ...

buoyant shoreBOT
#

i see you added ConnectionInitEvent to waterfall, i would suggest an improvement
when you use Waterfall behind HAProxy, this event become quite useless as the ip the event see is the ip of the HAProxy server. So if you want to implement a connection throttler, or a macanism that prevents layer 7 flood (eg: handshake error flood) based on the connection IP, you can't. (not a good idea to ban your load-balancer's IP)

So, in case of proxy-protocol enabled, i think an other event should be ...

buoyant shoreBOT
#

Hey,

I have following problem:
If I join my server everything is okay, but if I try to join another server that is in another version (1.15.1)
following exception occurres:

Waterdfall (latest version):

encountered exception: net.md_5.bungee.util.QuietException: Unexpected packet received during server login process!
1b8f017b227472616e736c617465223a

Server I will join (also latest version):
lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

if you have fail2ban installed, try this

add to: /etc/fail2ban/jail.conf
[bungee] enabled = true port = 25565 filter = bungee logpath = /replace/with/path/to/bungee/logs/latest.log maxretry = 5 findtime = 60 bantime = 600

make file: /etc/fail2ban/filter.d/bungee.conf
`# bungee configuration file
#/etc/fail2ban/filter.d/bungee.conf

[Definition]

Option: failregex

Notes.: regex to match the connection handler messages in the logfile. The

host...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

When join server,Client will show:

disconnected with: The server you were previously on went down, you have been connected to a fallback server

And I watch Console,it show:

bad packet ID, are mods in use!? Did not read all bytes from packet class net.md_5.bungee.protocol.packet.EntityEffect 79 Protocol GAME Direction TO_CLIENT

What happen it?

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

image
` +-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 26 00 00 00 68 01 00 00 00 00 08 d8 c7 c1 1b 2e |&...h...........|
|00000010| 54 34 f4 04 66 6c 61 74 06 00 01 |T4..flat... |
+--------+-------------...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Whenever trying to setup Waterfall with a forge 1.15.2 server (also tried with 1.14.4 and 1.15.1) I seem to get the below message displaying in the console and within Minecraft.

[Siriuo|/127.0.0.1:63010] ServerConnector [lobby] - encountered exception: net.md_5.bungee.util.QuietException: Unexpected packet received during server login process!
1bc7017b227472616e736c617465223a

No plugins/mods on either side just fresh installations of both.

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#
[PaperMC/Waterfall] New branch created: pending\-upstream
buoyant shoreBOT
buoyant shoreBOT
#

This causes the build to fail when using upstream's new profile "dest" with the following command:

mvn -P dist package

[WARNING] Javadoc Warnings
[WARNING] C:\Users\artut\Documents\Projects\Minecraft\Waterfall\Waterfall-Proxy\api\src\main\java\net\md_5\bungee\api\scheduler\TaskScheduler.java:93: warning - Parameter "plugin" is documented more than once.
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

I have updated Waterfall to the lastest commit yesterday, and today my average player latency graph shows constant ping increase and a lot of random spikes.

image

My plugin calculates the ping average based on ProxiedPlayer::getPing to generate this graph. It is affecting my three Waterfall instances. I have about 600 players playing on each one.

Is there anyone being affected b...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Maybe you could try to revert that change to confirm that it's the issue?

I'm gonna do that. I'll post the results in the next hours.

Previous bungee versions would stop keepalives wrongly if they arrive after the next keepalive was already sent (by default ping 1000+). I think the added spikes could in theory be that it just got accurate now and your server sending keepalives more frequent or sth. along those lines.

Something I noticied is that there are no players reporting...

buoyant shoreBOT
buoyant shoreBOT
#
  • I don't have anything sending keepalive packets afaik.
  • I do run ViaVersion on all my spigot servers.
  • I noticied that sometimes the average ping is above 1.4 seconds during the spikes.

I'm gonna try to figure out a way to bring more detailed informations here. Unfortunally the tests are being done on a production environment and I can't restart it as frequently as needed. I'll try.

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

When you use HAProxy in front of your Waterfall/BungeeCord, the IP who init
the connection is the IP of the HAProxy server, not the IP of the Minecraft
Client.

Le sam. 22 fรฉvr. 2020 ร  07:43, MrIvanPlays notifications@github.com a
รฉcrit :

Wrong. The IP the event see is the player's real IP. The event is called
at very early stage, even before the HAProxyMessage is received and decoded.

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Hello,

Since few years now, bots attacks are rly common on Minecraft.

We've nice antibots to prevent that happening, but there's something who antibots don't handle, it's the logs. Some plugins are having errors when there's too many connections & cancelled connections. And then they're flooding the logs and it start to lag Waterfall.

My idea is to add an option to rate-limit the logs to prevent these lags.

buoyant shoreBOT
buoyant shoreBOT
#

Similarly to #350

I have an issue using the 4.1.0 Release Version of SkyFactory 4 (Forge 2838), and Waterfall build 323.

When disable_entity_metadata_rewrite is true, players are not able to see each other at all. When disable_entity_metadata_rewrite is false, players are able to see each other, but are periodically kicked due to the Unknown Meta Type.

I am also able to reproduce this issue using Forge 2838, no Mods, and pure Vanilla 1.12.2.

My config files follow:

config.yml:...

buoyant shoreBOT
buoyant shoreBOT
#

Hello:
I am getting this error when I load my WaterFall server.

[21:41:22 ERROR]: Exception in thread "main" java.lang.IllegalStateException: Timer already cancelled.
[21:41:22 ERROR]:       at java.util.Timer.sched(Timer.java:397)
[21:41:22 ERROR]:       at java.util.Timer.scheduleAtFixedRate(Timer.java:328)
[21:41:22 ERROR]:       at net.md_5.bungee.BungeeCord.start(BungeeCord.java:290)
[21:41:22 ERROR]:       at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:6...
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

I did quite a bit more digging into this and it's actually might be a bit more simple than I think people are realizing.

The error experienced in #449 is a Disconnect packet caused by the server lacking IP Forwarding support. A 1.14+ modded client can connect to a modded server in Vanilla mode just fine it's when you start involving mods you have trouble.

17:06:42 [INFO] Packet ID: 27
17:06:42 [INFO] Text?: {"translate":"disconnect.genericReason","with":["Internal Exception: io.ne...
#

In the case of the new FML protocol you won't be worrying about phases or race conditions for the FML Handshake it's all being done over the Vanilla LoginPayloadRequest and Responses they are blocking operations and are forced to happen in order.

Your really only needing to track the vanilla transition between LOGIN and PLAY as these payloads need to ALL complete during LOGIN.

#

I've yet to get around to looking over the new protocol, still on the mend from my health issues, sloowly getting there, needless to say, stuff like this is on the back burner

The issue is really reimplementing the login stuff, that all has to be handled by the proxy given the nature of how this all works, not really expecting any issues, it just boils down to getting the time/motivation/energy/brain-juice to do it

#

I fully understand hence why I've be trying to do as much as the leg work as possible and will continue to do so to try and reduce some of the workload.

This issue is a very significant blockade to our innovation and keeping our players a safe and happy with new content is of the utmost priority. Without this we can't provide them the experience they expect.

With everyone moving on we just want to be able to keep up, wish you the best hope to see you find the time, motivation and energy...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Is there a way I can hook into Waterfall to

  1. Query how many players are on a certain server (or a certain subset of servers)?
  2. Tell AWS to create the appropriate new server for a specific gamemode and map?
  3. Tell Waterfall that that new server exists?

The usecase is as follows:

Say my server has various different gamemodes, such as hg, uhc, bedwars, etc. Some of those gamemodes may have templates for specific maps (hg-jungle, bedwars-city) while some may not (just `uhc...

buoyant shoreBOT
#

Is there a better way to dynamically manage servers with Waterfall
Yes, the servers list in waterfall is mutable, allowing you to add/remove servers as your heard desires

  1. "yes", bungee provides API for pinging servers, not to mention the players list that the proxy itself maintains (however, proxies list is local to the proxy)
  2. I would imagine that there are java APIs available for that
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Unfortunately after much discussion modern Forge support currently is not possible with the current climate.

There is no packet currently available to reset the client back into a LOGIN state and without that server switching will never be possible.

While initial logins could be done by having Bungee wait for a Login Success or Join Game packet before sending a login success to the client and moving on to Play this will likely cause lots of confusion.

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

As the "corrupted frame" and bad "packet id" excptions where shortened to one line, i wonder if it is possible to do the same thing for the "Cannot request protocol" exception because it can be used to spam the console and lag the server.

Sample Exception:
`[21:04:52 ERROR]: [/192.254.99.49:35795] InitialHandler - encountered exception
java.lang.IllegalArgumentException: Cannot request protocol 49
at net.md_5.bungee.connection.InitialHandler.handle(InitialHandler.java:354) ~[Wa...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Honestly, quite stumped. I've never had this in Java before, so I have no clue where this is supposed to be reported, but compiling Waterfall just dies when using OpenJ9 Java 14 from AdoptOpenJDK (I use https://aur.archlinux.org/packages/jdk14-openj9-bin/).

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Waterfall-Super                                                    [pom]...
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Hello, our antibot stopped working with the latest release of your Travertine. Here is the pastebin info:

[04:02:40] [main/WARN]: Exception encountered when loading plugin: AntiBotDeluxe
java.lang.IllegalAccessError: tried to access class net.md_5.bungee.api.plugin.PluginClassloader from class de.fusion.antibotdeluxe.bungee.AntiBotDeluxe
	at de.fusion.antibotdeluxe.bungee.AntiBotDeluxe.onEnable(AntiBotDeluxe.java:180) ~[?:?]
	at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(...
buoyant shoreBOT
#

Hi can you add the options for remove the prefix in the /alert command by waterfall proxy?
\u00a7h
In game i can use &h before all text for remove the prefix, but in the messages.properties file of Waterfall.jar i can't set the code \u00a7h
so is possible set the code &h for remove the prefix in /alert ?
Thank

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

I am basically getting my console spammed with this. Server is completely timed out while this is happening.

[20:01:58] [Netty Worker IO Thread #2/ERROR]: [/X.X.X.X:46611]  InitialHandler - encountered exception
java.lang.IllegalArgumentException: Cannot request protocol 99
	at net.md_5.bungee.connection.InitialHandler.handle(InitialHandler.java:354) ~[waterfall-319.jar:git:Waterfall-Bootstrap:1.15-SNAPSHOT:ea7863f:319]
	at net.md_5.bungee.protocol.packet.Handshake.handle(Handshake...
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Create/ Remove Servers, ForcedHosts, Change MOTD

Waterfall exposes API for the former, the others can already be done by a plugin;
Not really sure that there is much interest in designing commands for this, etc

Create/ Remove Groups, Permissions and change group of the user

The mechanism built into bungeecord is trivial and flawed, I do not consider the built in mechanism as being suitable for production servers as-is, use a permissions plugin which is actually designed to be ro...

#

Create/ Remove Servers, ForcedHosts, Change MOTD

Waterfall exposes API for the former, the others can already be done by a plugin;
Not really sure that there is much interest in designing commands for this, etc

Create/ Remove Groups, Permissions and change group of the user

The mechanism built into bungeecord is trivial and flawed, I do not consider the built in mechanism as being suitable for production servers as-is, use a permissions plugin which is actually d...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

When the force default server option is marked as true, waterfall only shows the players connected to the lobby, when a player leaves the lobby for another specific server the ping and the value of their connection is not displayed, thus, if there are 100 players on the rankup server and 1 in the lobby on the server motd still in the multiplayer tab of the user's laucher will mark the total of 1 player connected to the server, while there are 101 players in total. when deactivating the fo...

#

When the force default server option is marked as true, waterfall only shows the players connected to the lobby, when a player leaves the lobby for another specific server the ping and the value of their connection is not displayed, thus, if there are 100 players on the rankup server and 1 in the lobby on the server motd still in the multiplayer tab of the user's laucher will mark the total of 1 player connected to the server, while there are 101 players in total. when deactivating the fo...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

I am unsure if this is an issue with vanilla or Waterfall or it is easily patched. The server is running behind a firewall that requires all requests go through an HTTP proxy. I added the following Java flags:

-Dhttp.proxyHost=my.proxy.com -Dhttp.proxyPort=3128 -Dhttps.proxyHost=my.proxy.com -Dhttps.proxyPort=3128 -Dhttp.nonProxyHosts="localhost|127.*|[::1]"

Some HTTP requests are honored through the firewall and others are not (many from plugins doing version checks). I assume th...

#

This is down to netty, bungee, and by extension waterfall, don't appear to
actually handle proxies in the connection to mojangs auth servers

On Thu, 9 Apr 2020, 03:21 Perry Naseck, notifications@github.com wrote:

This is an enterprise environment where unfortunately only the HTTP proxy
is available. I could adapt the HTTP proxy to a SOCKS proxy locally, but
that is not very direct, so I would like to avoid that if possible.

โ€”
You are receiving this because you are subscribed t...

buoyant shoreBOT
buoyant shoreBOT
#

OK, we found a workaround, and its a bit ugly, but it works. We made a custom patch and changed sessionserver.mojang.com to a local server. That server is a reverse proxy that uses the upstream outgoing proxy. It seems to work fine and does not create any security risks.

Proxychains, socksify, and a transparent proxy with iptables all failed for various reasons. Notably that this is a CloudFront CDN address with a shifting IP, and Java would always resolve the IP _before accessing/forwar...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

I also get the same error:
[21:21:56 ERROR]: Exception in thread "main" java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.Collection
[21:21:56 ERROR]: at net.md_5.bungee.conf.YamlConfig.getListeners(YamlConfig.java:245)
[21:21:56 ERROR]: at net.md_5.bungee.conf.Configuration.load(Configuration.java:92)
[21:21:56 ERROR]: at io.github.waterfallmc.waterfall.conf.WaterfallConfiguration.load(WaterfallConfiguration.java:49)
[21:21:56 ERROR]: at net.md_5.bungee.B...

#

21:36:53 [SEVERE] Exception in thread "main"
21:36:53 [SEVERE] java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.Collection
21:36:53 [SEVERE] at net.md_5.bungee.conf.YamlConfig.getListeners(YamlConfig.java:234)
21:36:53 [SEVERE] at net.md_5.bungee.conf.Configuration.load(Configuration.java:87)
21:36:53 [SEVERE] at net.md_5.bungee.BungeeCord.start(BungeeCord.java:282)
21:36:53 [SEVERE] at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:113)
...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

so today mojang session servers been shit, and I assume they updated them a bit ago because the IP changed. However bungee is not updating the resolved IP, as you can see it is different when I use the "host" command, vs what it shows in console for players unable to join

greload does fix it, also probably relevant I do have use netty dns enabled

> host sessionserver.mojang.com sessionserver.mojang.com has address 99.84.223.181

`[17:08:13 ERROR]: Error authenticating A21 with mine...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

The error is simply io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use

It happens in when I use ProxiedPlayer.connect to send the player to another server,

It usually takes about 10-30 tries before they actually get in.

I'm using
java:
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)
os:
CentOS Linux release 7.7.1908 (Core)
Linux localhost.localdomain 3.10.0-1062.el7.x86_6...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Hello,
Recently I was experimenting with Java 11 and I found out that with this version waterfall will turn on, however, no one will be able to join.
It results this error when a user joins:
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Thanks.

buoyant shoreBOT
buoyant shoreBOT
#

I don't now if this is something to worry about. Maybe is this something on Mojangs side. It was able to log in after the third time.
Here is my log:

[13:14:06 ERROR]: Error authenticating Pistonmaster with minecraft.net
io.netty.resolver.dns.DnsResolveContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'sessionserver.mojang.com' failed to resolve 'sessionserver.mojang.com' after 2 queries
        at io.netty.resolver.dns.DnsResolveContext.finishR...
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

I tried to create a Docker image for a waterfall server. I wrote the following Dockerfile which clones the repository and executes waterfall b. Then I copy the waterfall.jar and delete all other files.

The server start fine and also connects to the default server. But I can not execute any commands related to waterfall/bungeecord (e.g. /server, /servers, /glist, /alert). The logs also show nothing interesting, only a plain command now found when executed from the console.

Dockerfile:
`...

buoyant shoreBOT
#

I want write bukkit multi version from 0, i want analyze int byte to int byte;to create a server 100% autonomous and free of bugs that occur in community edition;

I would like help to establish the tools for the message protocols;what are those "??" in the message data? what tools can i use to read?

is it possible to communicate with the minecraft protocol through json code texts like i saw on some nodejs and wikis servers or do i have to test all int bytes ?

![image](https://user-im...

#

I would like to edit the travertine myself; but i don't know how to start and the real github code looks incomplete from both the bungeecord, waterfall and travertine;

Could you provide me with the code you work with?

My JD GUi decompiles everything wrong and I have to fix it manually; does it have a decompiler that does not have to work manually to correct the decompilation errors?

To downgrade to 1.5 to test for errors I just need to copy the same structure as 1.7?

Minecraft wor...

buoyant shoreBOT
#

Since bungeecord has gone and made the plugin manager a final class (which is a good thing in some regards) there is no way to wrap around it to handle exception catching for commands and events.

This patch copies over the exception event (and corresponding exception classes) that exists in paper today and implements it in the places around the proxy codebase that should fire the event.

Couple of notes:

  • Bungee's EventBus registration doesn't ever store a reference to the plugin that ...
buoyant shoreBOT
#

We need something that prevents stackoverflow: if an error happens during event handling of any event and if there is a faulty plugin always throwing in ProxyExceptionEvent this creates unneccessary long console output and cpu usage. This could be achieved by having a separate, private callEvent method which requires a ProxyExceptionEvent and which gives the eventbus an empty exception handler.

buoyant shoreBOT
#

We need something that prevents stackoverflow: if an error happens during event handling of any event and if there is a faulty plugin always throwing in ProxyExceptionEvent this creates unneccessary long console output and cpu usage.

This could be achieved by having a separate, private callExceptionEvent method which requires a ProxyExceptionEvent and which gives the eventbus an empty exception handler and which is called instead of callEvent for ProxyExceptionEvents.

There is a...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

@TychoWerner Since the snapshots are a highly dynamic element; Yes of course it will change. Thatโ€™s what this pull request is for. If someone had to do one thing to make all future snapshots work then we wouldnโ€™t be here atm. We canโ€™t exactly predict what Mojang will do to that level. So yes there are gonna be updates and yes stuff is going to break (most likely)

buoyant shoreBOT
buoyant shoreBOT
#

@TychoWerner Since the snapshots are a highly dynamic element; Yes of course it will change. Thatโ€™s what this pull request is for. If someone had to do one thing to make all future snapshots work then we wouldnโ€™t be here atm. We canโ€™t exactly predict what Mojang will do to that level. So yes there are gonna be updates and yes stuff is going to break (most likely)

Thanks for your reply. I was looking at your latest commit (https://github.com/PaperMC/Travertine/pull/120/commits/6af17c8eb97...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

@TheCompieter The fishing issue might be due to an entity rewriter being broken. I'll have to look at it. Also I can't reproduce your issue. I tried it with a network that has a 1.15.2 paper server with ViaVersion and a Vanillacord 20w17a server. Is there a specific trigger to the issue?

No it's random and no error as far as i know i am now just using it without viaversion and if it still happens i will let you know.

Side note; a productive conversation here using co...

buoyant shoreBOT
buoyant shoreBOT
#

So i have a WaterFall server hosted on 1.15.2 that has a hub and then a flans server. On the flans server i have setup spongeforge and its corresponding settings in order for it to work with waterfall. But for some reason my WaterFall server refuses to connect me to my flans server.

here is what my WaterFall server says:

and here is what my flans server sees:
![unknown](https://user-images.githubusercontent.com/26510945/80270840-674d9280-8689-11ea-...

buoyant shoreBOT
#

@Roboticluke51 May I chime in here; Bungeecord does something called data rewriting in which data that the server sends to the client or vice-versa is read and verified so the the partner donโ€™t have to suffer if one sends it maliciously modified or invalid data. Your mod setup seems to break or interfere how the vanilla game talks to the server and thus you will get kicked. There are two options to resolve this; Either have the mod authors fix how the mod that causes this behaves; or modify W...

#

@Roboticluke51 May I chime in here; Bungeecord does something called data rewriting in which data that the server sends to the client or vice-versa is read and verified so the the partner donโ€™t have to suffer if one sends it maliciously modified or invalid data. Your mod setup seems to break or interfere how the vanilla game talks to the server and thus you will get kicked. There are two options to resolve this; Either have the mod authors fix how the mod that causes this behaves; or modify...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

What's happening there?

EncoderException : java.lang.NullPointerException @ io.netty.handler.codec.MessageToByteEncoder:125
io.netty.handler.codec.EncoderException: java.lang.NullPointerException
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125) ~[BungeeCord.jar:git:Waterfall-Bootstrap:1.15-SNAPSHOT:e45fb1f:340]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[BungeeCord.jar:git:Waterfall-Bo...
#
io.netty.handler.codec.EncoderException: java.lang.NullPointerException
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125) ~[BungeeCord.jar:git:Waterfall-Bootstrap:1.15-SNAPSHOT:e45fb1f:340]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[BungeeCord.jar:git:Waterfall-Bootstrap:1.15-SNAPSHOT:e45fb1f:340]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandle...
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

This Pull-request is meant to be merge-ready when 1.16 gets released so a usable Bungeecord can be obtained ASAP. The changes in this PR will get lost when Bungeecord gets updated to support 1.16, that is intentional. This is just meant to maybe make @electronicboy s life a little easier ;).

You can view the original Pull-request here.

I still maintain the Travertine fork just so I can backtrack on the changes, but this imp...

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

i have problem with waterfall can somebody help me!

.... [11:49:04 ERROR]: [/149.202.74.183:49608] InitialHandler - encountered exception: net.md_5.bungee.util.QuietException: Unexpected packet received during login process! 6e6f9828dc248ca11153eb922a60c5ef

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#
[PaperMC/Waterfall] branch deleted: pending\-upstream
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

We're running a multi proxy setup, and, today, out of the blue, the following issue started occurring on our SkyBlock servers, and we're not exactly sure how to deal with it.

Steps we've taken, in order, have been

  • Stopping the server(s)
  • Deleting the "scoreboard.dat" file from the main world on all server(s)
  • Restarting the server(s)
  • Manually removing the team(s) causing issues (they come back quick)
  • Temporarily removing Scoreboard, and ...
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

I was the one who made the PluginManager final. This was intentional to stop people from modifying it at runtime. Also I don't find a usecase about your pr; exceptions occurring in event handling or command handling should be handled there. A direct example is enforcing an specific argument type for command:

public void execute(CommandSender sender, String[] args) {
   // ...
  try {
      Integer.parseInt(args[0]);
  } catch (NumberFormatException e) {
      sender.sendMessa...
buoyant shoreBOT
buoyant shoreBOT
#

I put the permission "bungeecoord.command.server" as well as the command "bungeecoord.command.glist" via the configuration file.

I did this because a player could not connect via the "server" command even though I had given him permission with LuckPerms.

Unfortunately, it still does not work.
Is it likely that waterfall is involved?

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

@MrIvanPlays I understand why you made it final. Honestly I think it's a good thing in the long run. However there is a use case to having exceptions being available like this - which is actually what this pr is about.

I make and use a plugin that grabs all of the exceptions from proxies and backend servers and forwards them to sentry so I can proactively keep an eye on issues without having to tail x amount of logs for all the servers that I run. Has been a lifesaver numerous amounts of t...

buoyant shoreBOT
#

@MrIvanPlays I understand why you made it final. Honestly I think it's a good thing in the long run. However there is a use case to having exceptions being available like this - which is actually what this pr is about.

I make and use a plugin that grabs all of the exceptions from proxies and backend servers and forwards them to sentry so I can proactively keep an eye on issues without having to tail x amount of logs for all the servers that I run. Has been a lifesaver numerous amount...

buoyant shoreBOT
#

however I still think that occurring exceptions should be handled in the source (command, event handling) and not to be suppressed in a event.

Nobody is making the argument that they shouldn't?

Exception handling clearly isn't the use-case of the PR. Read the title: "exception reporting".

The exceptions are not being suppressed, they're just being exposed in an event as well as in a call to the proxy logger.

buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
buoyant shoreBOT
#

Latest Waterfall.
No plugins on the Bungee installed

`[11:21:57] [Netty Worker IO Thread #5/INFO]: [Feurixx] disconnected with: DecoderException : net.md_5.bungee.jni.NativeCodeException: Unknown z_stream return code : -3 @ io.netty.handler.codec.MessageToMessageDecoder:98
[11:24:28] [Netty Worker IO Thread #0/INFO]: [Hungerplay] disconnected with: CorruptedFrameException : length wider than 21-bit @ net.md_5.bungee.protocol.Varint21FrameDecoder:53
[11:56:48] [Netty Worker IO Thread #15...

buoyant shoreBOT