Take the red and white wire and attach a meter to it.
It needs to read at least 350 milivolts while you have the pilot button depressed and lit.
If not the thermopile is bad.
In a pinch I have removed them and polished them with sandpaper to transfer more heat.
There may also be a reset able thermal switch down by the sealed burner