Failed to connect to host server.

Hello,
When I join a game, I get "Failed to connect to host server" after loading the game, then I sent out of the room to the lobby OR sending me to the lobby directly without sending any message (also after loading the game).
It is solved by connecting the PC to the router through a LAN cable but I can't do this. I want it by using Wi-Fi.
I hope you understand this message, and I'm waiting for your reply
Thank you.