it sometimes takes around 45 minutes to have hot water
Gas not turned on to water heater. Gas valve on water heater not set to pilot setting. Faulty gas valve. Igniter for lighting pilot not working.
It uses a sparker to light the pilot. The same as on many gas BBQ grills.
how long does it take for hot water after lighting water tank its gas?
Thermocouple. Keep pilot knob depressed for 30 seconds after lighting pilot.
If you have a gas water heater and your pilot light will not light, the most common problem is a faulty thermcouple. A licensed plummer can easily and cheaply fix this or you can find information to do it yourself online.
is the lines on the thermal coupler and pilot light for a hot water heater supposed to get hot
If the tub is not getting hot water the issue is probably with the hot water heater. The hot water heater may have tripped a breaker or the pilot light went out.
Spillage
Yes
yes
Spillage , bad thermocouple
Disabling the ignition or disconnecting the gas source is a good start.