Happened again while riding in heavy rain. This was with the chain never having been removed, cleaned, reinstalled, and oiled since it was bought brand new.
Now that it's been cleaned using petroleum and re-oiled, I'll check how it goes the next time it rains.