Ive had this a few times, if gas solenoid has poor connections or is just breaking down it takes out control module.
Open module and look for small contact set, turn board over and look for dry/cracked solder joints on largest contact points.
Not sure if solder melts under load, but you can usually re-solder joints and all works again.
I usually replace gas solenoid at same time - not over expensive