Ardupilot connection with RPi fail

Not sure, 5-7 years old library.

See if this site helpful to you.

Post your code maybe, others can review and make suggestion.