Ethernet stops working and Macbook crashes when unplugged
I have a 2017 15-inch Macbook Pro and, among other issues it's had for a while now, this one seems to be becoming more common.
Sometimes my ethernet will stop working/act as if I don't have internet and tell me to check my connection. I'll usually unplug the ethernet cable to fix it and most of the time, this causes the laptop to crash. Once it's booted, the ethernet is working as normal. It's not an issue with the internet itself actually not working since it works for all other users and for me when the laptop is rebooted... seems more like a connection issue. Does anyone know why this is happening?
I also seem to have issues charging this laptop (90% of the time, the charging cable will need to be replugged a second time before it comes off the 'not charging' status and actually charges), so I'm worried it's an issue with all the ports.
Thank you in advance!
MacBook Pro 15", macOS 10.15