Internet of vehicles (IoV), or (V2X) vehicles to everything all this is a relatively new concept for all vehicles connected to the internet. In this paper, we propose solution of problems in traffic congestion. Road traffic congestion continues is a major problem in many developed countries and that will determine where traffic congestion at the time of rainfall, the position data based on GPS and sensors at vehicles. The sensors in the vehicles required to collect information to evaluate the congestion through cloud server via protocols like (CoAP, MQTT). In the beginning authors introduced the problems and then proposed a solution.