First make sure all connections are tight, If you
remove the blue marrets and twist the black wires together, that will bypas the TStat. If burner lights you have a bad TStat or TStat wire issue.(loose connection, broken wire)
I would also just wire TStat wires right to gas valve, not sure why...