Originally Posted by Flynlow151
Get some brake clean, spray it on your hoses. When you hear the car jump up on rpm's, there is your leak. P0171 and bad fuel mileage is an obvious vacuum leak.
Could be bad o2 sensor as well, the upstream o2.
how many miles on the car?