If you are getting a connection error while using Yahoo mail password then there are few tips that can be tricked to resolve such issues:
· Update your login info in the respective app that you are using.
· Use account security key instead of passwords.
· Generate 3rd party app password.
· Fix other issues.
Check your account info and try the logout-login method, it may help you to get rid of minor temporary errors.