Could've just been a failure. Are you sure you were 400 meters out? The pistols need about 300 meters to arm, and if you aren't far enough out the torpedo will bounce off.
Or you could've struck the rounded area of the hull - if the torpedo doesn't get a solid hit it won't detonate. Do you remember what depth you set your torpedoes to run at?
__________________
|