There are soooo many factors to a snake not eating. Go through this checklist and see if it's right...
Humidity?
Hot spot temp?
Ambient temp?
Enclosure size?
Type of enclosure?
Thermostat?
Rat size?
Rat warm to the touch?
How often have you been trying to feed?
What's changed since it went off feed?
Could it be starting a shed cycle?
It's that time of year, could be off food for the winter.
There's a few questions for yeah.