Had the same issue on my 2006 Legacy GT. The the pedal sensor connection had started to loosen. Unplugged it, cleaned it up, plugged it back in making sure the connection was snug, and it hasn't been an issue since. 15k miles later still no reoccurrence, thanks thread!
P2138 - Throttle/Pedal Position Sensor/Switch
in Turbo Powertrains (2.0GT, 2.5GT, 2.5XT)
Posted