On the 1st of July, 1905 the Imperial Russian submarine Keta spotted two torpedo boats of the Imperial Japanese Navy (Japan and Russia were engaged in the Russo-Japanese War at the time) and attempted to move into firing position. However, she was spotted before she had a chance to dive properly, and broke contact.
There were none. The 50 years in between that mostly consisted of different countries creating submarine prototypes and testing out their newfound weaponry.
During the War of the Pacific (1879-1883) the two Chilean armoured frigates (Almirante Cochrane and Blanco Encalada) were anchored at the island of San Lorenzo, off the Peruvian coast. The Peruvian submarine Toro was prepared to attack one or both of them, and began to make its way to the island, submersed, at night.
However, while the submarine was underway Chilean spies informed them of the danger to the armoured frigates, which were moved to safety.
Toro did not see action again, and was later sunk to avoid capture.