Leaky bypass pipe

It might be the right size based on the other photo you posted but perhaps a 1 inch longer fitting would allow for a propper seal