I experienced knee pain while doing a half century. If you are using cleats and
your seat is low. It may be causing the problem like it did mine.
Seat height usually is the cause. You may be overgearing yourself also.
Don't give up tying to find out why.
Souldriver