Product review (5 stars): I took a gamble and replaced the gas valve .... still working months later.
I bought a new dryer and always had a rattling and minor gas smell. After 2 yrs the dryer stopped working. I became a fast repair man after I discovered the labor was over $100 an hour. I replaced the solenoids but they only last 1 week. I ran a meter on all electronics and found no short. After solenoids, only thing it could be was a faulty gas valve.

The most expensive mechanical part is the gas valve. I took a gamble and replaced it.... still working months later.  Would have cost me 500+ with a repair man.
Sad to say that even a new dryer these days means nothing!  Pay 800+ on a dryer and you have to repair it within a year or two.