I was playing terraria and my friend wanted to join my world, but it said every time instantly that he lost connection even though everything was fine. We tried all of the default fixes but none of them worked. then we tried to make a new character and that worked. it turned out his original character was on journey mode while my character was on classic. So in conclusion say something other than lost connection such as world character incompatibility.