Could just be my experiences, but I have found that others don't really want to hear when someone else is having a bad time unless the issue has been/is looking to be resolved.
If you end the rant/vent with a positive closing statement or positive view/conclusion, then people don't seem to mind as much.
I think others usually have too much going on in their own lives that they cannot really handle other people's woes...
If you're in the thick of something right now and cannot/have not gained that positive insight or healed from/ in the process of healing from that situation, I have found it is better to keep it to yourself for now... Understand that it is completely okay to be going through it, and you're valid in whatever you're feeling, but sometimes it is better to keep it close to your chest. Give the situation and yourself some more time... write it down to get it out/talk to a pet or animal, cry if your body needs it, take a walk, get some sleep, etc... I would avoid drinking or other drugs as a coping mechanism when you're in a dark place...
Don't get me wrong, please please please spend some time with those you care about. Make an effort to maintain connections with those important people, but like someone else mentioned, it will play out better for both of you if that time is spent in a relaxed, more casual/positive manner. Take some time away from the hurt, as difficult as that may be...
Grab a meal, see a movie, go bowling, visit a museum, walk a trail, visit a petting farm. Some kind of activity to keep things flowing usually helps if you want to meet up to take your mind off of things but are preoccupied by the hurt... but, ah, I am rambling now. Sorry, sorry.
I just kind of wrote this without much thought, so if it doesn't sound like it really applies to you please disregard...
I am wishing you all the best, friend. Hope things get better for you soon.