Online trouble multiplayer trouble

Borderlands 3 is constantly switching my online sessions to local play. This makes the game coop unplayable for me, does anybody know how to fix this issue?

Did you try resetting your router? The game switches to local/offline when it can’t connect to the matchmaking servers/SHIFT system. It could be that the ports it is trying to connect on are being blocked.