Which platform do you and your buddy play on and has he tried any sort of connection troubleshooting with us or with our Support team? The Apex Legends team is working to improve server quality and investigating the code:leaf/net errors in which they're requesting info from the community here. If you or your buddy are getting that error we would appreciate any specific details in that post to help aide the team in addressing it.
We have connection troubleshooting steps that could make the experience better for you in the meantime though if you're willing to give some of them a shot. Let us know if you're interested!
Basic Connection Troubleshooting
https://help.ea.com/en/help/faq/connection-troubleshooting-basic/
/Blueberry-------------------------------------------------------------------------------------------------
Hey that was a great reply. Good stuff. What now? Give them +XP to help level them up!
Did their response fix it? Mark it as a solution so it helps others!
Want to learn more on how to level up and becoming a Hero for the AHQ? Learn more about it here: https://answers.ea.com/t5/help/faqpage#ranks
--------------------------------------------------------------------------------------------------