Look into MakeMKV. It's "free" while in beta (in practice you need to input a new license key from their forums occasionally, so inconvenient unless you buy a real license) and can rip Blu-Rays with no issue. For ripping 4K, though, you'll need a drive that supports LibreDrive which bypasses all of the drive's built-in DRM. I personally use an LG BU40N in a Vantec external enclosure.
Look into MakeMKV. It's "free" while in beta (in practice you need to input a new license key from their forums occasionally, so inconvenient unless you buy a real license) and can rip Blu-Rays with no issue. For ripping 4K, though, you'll need a drive that supports LibreDrive which bypasses all of the drive's built-in DRM. I personally use an LG BU40N in a Vantec external enclosure.