I haven't been harassed but i have played with people who've trolled.
Like Destiny 1 when i played the Kings Fall raid , and i played with a bunch of randoms. Some dude just kept going in on the accent and kindness of another player on our team who was Canadian. Everyone is awkwardly laughing cause the guy acting like douche was bringing politics in it, and the Canadian guy was just trying to play the game, and then it bursted into an argument.
I just remember thinking WHY, dude were just trying to play a game and this guys going on about how alpha he is and how America is better, and hes just going at this dude for being Canadian I said exactly "how is this a thing" .
Canadian guy ended up leaving, and the guy who acted like that was saying "It was just a joke bro". Everyone on the team started going in on the troll because we no longer had 6 players for the raid. Then he left , and then we started looking for people and then everyone left, couldn't get the raid done that day.
Other than that experience which didn't even involve me cause i wasn't the target for the harasser, i've had a great time online. But most of the time i play with people i know i don't prefer to play with randoms that much anymore.