I have a a Bosch 24i RSF approx 6years old and doing the same thing, every so often is refuses to light, if you look through the pilot window then make a demand for hot water or heating, the burner comes on but you can see it has a very weak flame as though it is lacking gas, however if you tap the Gas valve then is suddenly fires up, i suspect the solenoid inside the gas valve is sticking. I am looking for one on ebay, i will let keep you posted, but for the time being the tapping trick seems to work every time
Sunny Patel, November 2008