Why was medieval tortures unsuccesful?

Because when facing horrible pain people will confess to anything, including things that aren't true.