Broken Pipe Error : $70 Reward for resolving my issue !

Status
This thread has been locked.

Kraapy

Feedback score
0
Posts
39
Reactions
4
Resources
0
Hi,

My server encounter a huge issue for 10 days :

PlayerName lost connection: Internal Exception: java.io.IOException: Error while write(...): Broken pipe

I've tried :
  • Disabling plugins that seems to involve packet (Chat-Scoreboard-Tablist related plugins)
  • Removing corrupted chunks (I just couldn't remove an unreadable idcounts.dat file, but I've tested with many different worlds and Minecraft Region Fixer always tells me that this is an unreadable file, even with a fresh solo minecraft world)
  • Updating Java
  • Change the spigot.jar (I have now PaperSpigot.jar, even with different PaperSpigot.jar version the issue is still here)
  • Change BungeeCord.jar (Furthermore, I have two bungee servers to go to my server, when many players are kicked, it ignores wich proxy they use, so it's a spigot issue)
Nothing of these worked, so I am offering $70 to the one that will fix this issue for one week (somedays the issue doesn't occur for 10 hours and then kick players by big waves of 5-15 players kicked at the same time, so if I do no encounter this issue anymore for 7 days, I think it will be definitely solved).

Part of my latest.log (too big to paste the whole, and it's pretty the same enverywhere): (Note : DivinFactions is a home made plugin I've made, even if I disable it, the issue is still here)

Plugins list : https://image.noelshack.com/fichiers/2019/45/5/1573227159-capture.png

start.sh :

top command in my dedicated server : https://zupimages.net/viewer.php?id=19/45/ppmc.png

Server Version : https://zupimages.net/viewer.php?id=19/45/xcaj.png

I have a OVH dedicated server 32go Ram, other servers on this server doesn't trigger this exception !

Even with disabling those plugins the issue stills occur : Quests, ChatReaction, OpenInv, LagAssist, AutoMessage, MinePack; ConditionalCmds, CasualProtector, ChatItem, DeluxesMenu, FactionScoreboard, Tab, DivinFactions

Thanks a lot for reading this,

Best regards.
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

MarkElf

9+ Year Member
Supreme
Feedback score
27
Posts
1,215
Reactions
1,217
Resources
2
I think I remember broken pipe being related to either proxypipe or (more so) essentials(x). I think I just reinstalled essentials and redid the config freshly and it resolved itself. I'm trying to remember what I did 3 years ago :p

Edit: didn't see the plugin list. Might as well try the Essentials suggestion if nothing else comes up.
 
Last edited:

MarkElf

9+ Year Member
Supreme
Feedback score
27
Posts
1,215
Reactions
1,217
Resources
2
I have the latest EssentialsX version 17.1.0, wich version could I switch to ?
I think I just did a fresh install to whatever the latest version was at the time.
 

Paper Cars

Audio Production Services
Supreme
Feedback score
8
Posts
514
Reactions
103
Resources
0
Code:
[15:35:02] [Craft Scheduler Thread - 164/INFO]: [MFHoppers] Saving finished. Took 281ms
[15:35:40] [Server thread/INFO]: Landakkk lost connection: Internal Exception: java.io.IOException: Error while write(...): Relais brisé (pipe)
[15:35:40] [Server thread/INFO]: [-] Landakkk
Could there be a correlation between MFHoppers saving and the broken pipe error?[DOUBLEPOST=1573232147][/DOUBLEPOST]
Code:
[15:35:02] [Craft Scheduler Thread - 164/INFO]: [MFHoppers] Saving finished. Took 281ms
[15:35:40] [Server thread/INFO]: Landakkk lost connection: Internal Exception: java.io.IOException: Error while write(...): Relais brisé (pipe)
[15:35:40] [Server thread/INFO]: [-] Landakkk
Could there be a correlation between MFHoppers saving and the broken pipe error?
Guess not, found an instance where a save occured that didn't kick the players[DOUBLEPOST=1573232528][/DOUBLEPOST]
Hi,

My server encounter a huge issue for 10 days :

PlayerName lost connection: Internal Exception: java.io.IOException: Error while write(...): Broken pipe


I've tried :
  • Disabling plugins that seems to involve packet (Chat-Scoreboard-Tablist related plugins)
  • Removing corrupted chunks (I just couldn't remove an unreadable idcounts.dat file, but I've tested with many different worlds and Minecraft Region Fixer always tells me that this is an unreadable file, even with a fresh solo minecraft world)
  • Updating Java
  • Change the spigot.jar (I have now PaperSpigot.jar, even with different PaperSpigot.jar version the issue is still here)
  • Change BungeeCord.jar (Furthermore, I have two bungee servers to go to my server, when many players are kicked, it ignores wich proxy they use, so it's a spigot issue)
Nothing of these worked, so I am offering $70 to the one that will fix this issue for one week (somedays the issue doesn't occur for 10 hours and then kick players by big waves of 5-15 players kicked at the same time, so if I do no encounter this issue anymore for 7 days, I think it will be definitely solved).

Part of my latest.log (too big to paste the whole, and it's pretty the same enverywhere): (Note : DivinFactions is a home made plugin I've made, even if I disable it, the issue is still here)

Plugins list : https://image.noelshack.com/fichiers/2019/45/5/1573227159-capture.png

start.sh :

top command in my dedicated server : https://zupimages.net/viewer.php?id=19/45/ppmc.png

Server Version : https://zupimages.net/viewer.php?id=19/45/xcaj.png

I have a OVH dedicated server 32go Ram, other servers on this server doesn't trigger this exception !

Even with disabling those plugins the issue stills occur : Quests, ChatReaction, OpenInv, LagAssist, AutoMessage, MinePack; ConditionalCmds, CasualProtector, ChatItem, DeluxesMenu, FactionScoreboard, Tab, DivinFactions

Thanks a lot for reading this,

Best regards.


Found this

Broken pipe is a JVM error which usually occurs when something tries to write something through a connection when the connection has already been closed from the other side. In this case, to me it looks like the server is cutting connection to multicraft and then it cannot write anything to it any longer, causing a broken pipe issue. This could possibly be the cause of a plugin, so I suggest removing 5 at a time and seeing if it stops happening.
It could also be in your Multicraft's startup options - if you could post them that would be great, it should be something like
Code (Text):
java -Xmx8G -Xms4G -jar spigot-1.8.8.jar
I've heard including GC options in your startup flags can actually cause problems, and potentially broken pipes.
Finally it could also be faulty RAM. You should ask your hosts to check the RAM on the machine, and if it is a dedicated server you should definitely consider running memtester to check the integrity of your RAM. You can find a guide on how to do so here.
 
Last edited:

Paper Cars

Audio Production Services
Supreme
Feedback score
8
Posts
514
Reactions
103
Resources
0
Thank you for your reply, I am currently with @xX99oddXx that is friendly helping me, I'll test to change the start.sh script to see if this solve my issue :)
To my knowledge it could plausibly be an out of date java on the system, but I doubt that could be the cause here.

ALSO:
The post I quoted above was the same issue as you have. The user had a bungee server, and his factions server was having this problem but not the other two. Is it possible your maxing out your dedi's ram? That would cause OOM to kill it.
 
Last edited:

Kraapy

Feedback score
0
Posts
39
Reactions
4
Resources
0
My faction server use 10go max and my dedicated server has 32go max ram so I don't know :/ how could I know if this is a memory issue ?
 

Paper Cars

Audio Production Services
Supreme
Feedback score
8
Posts
514
Reactions
103
Resources
0
My faction server use 10go max and my dedicated server has 32go max ram so I don't know :/ how could I know if this is a memory issue ?
Is it limited to 10gb? Or is it only using 10gb?

you can check the integrity of your servers ram following this guide
 
Last edited:

xX99oddXx

Supreme
Feedback score
0
Posts
267
Reactions
72
Resources
0
To my knowledge it could plausibly be an out of date java on the system, but I doubt that could be the cause here.

ALSO:
The post I quoted above was the same issue as you have. The user had a bungee server, and his factions server was having this problem but not the other two. Is it possible your maxing out your dedi's ram? That would cause OOM to kill it.
I will check this again in a bit, but it doesn't initially seem that the system is running out of ram. I updated java and I'm running memtester right now to rule out faulty memory.
 

Paper Cars

Audio Production Services
Supreme
Feedback score
8
Posts
514
Reactions
103
Resources
0
I will check this again in a bit, but it doesn't initially seem that the system is running out of ram. I updated java and I'm running memtester right now to rule out faulty memory.
Coolio, if that doesn't work out, look into the GC options in the start.sh script also.

What control panel, if any, are you using? (pterodactyl, multicraft, etc)
 

Kraapy

Feedback score
0
Posts
39
Reactions
4
Resources
0
I don't use pannel, only screens and ssh commands :/ Maybe it can help : the version of my dedicated server is Debian 8.10 (Jessie) (oldstable)[DOUBLEPOST=1573255048][/DOUBLEPOST]Update: something very weird : a player showed me that it's him that cause those broken pipe error, but he told me that he did this for 2 days only (I've checked and he really came 2 days ago), I've put exploitfixer that resolved this issue but those broken pipe error started 10days ago and the first thing I have tried to fix that is... to remove ExploitFixer :/ so maybe I have resolved this by deleting some corrupted chunks and then, because exploitfixer wasn't on my server anymore, they could make this issue again by an another way (instead of a random player generating corrupted chunk, it's a player that uses hacked client), I will see that by seeking my logs in the next days ^^ Thanks to xX99oddXx that spent near to 6 hours on this issue even if I've resolved it on my own he helped so much, and I will, regardless of the first promised reward, give him what he clearly deserve <3 and thank you so much Call It Bliss for taking time to help me with this ^^ It's clearly not solved until my logs tell me that it is, but it's a win for the hacker exploit that is fixed ^^
 
Last edited:
Status
This thread has been locked.
Top