Can't download custom maps

Whenever I attempt to join a custom game, the game loads for about a second before prematurely joining the game. After doing so, I am either instantly booted out, or I join the game with no player names, and I am unable to really do anything, and don’t show in the lobby to other players. The main issue is that the game isn’t letting me download the game before it joins the lobby, which causes problems.