A couple months ago I noticed a leak on the toilet which I thought was coming from the supply line pipe where it went into the fitting on the toilet. I replaced the fitting with a slip-on type fittin...
Had a similar problem on my Thetford toilet. Had to replace the water valve. Check your toilet model number. There are different valves for different models.