Help with Replication from an Always On Availability Group
The root cause of this was connection timeouts because the availability group was in a Multi-subnet Availability Group.
This was resolved by following this document from Microsoft.