Mailspring can't login to google mail

Mailspring 1.10.5 is unable to log into gmail and displays the following error: request to https://www.googleapis.com/oauth2/v4/token failed, reason: connect ETIMEDOUT.
I have not made any recent changes to my gmail

Can anyone tell me what I should do?

Same issue here 2024.6.29.

I tried to add the Gmail but always failed.
error: request to https://www.googleapis.com/oauth2/v4/token failed, reason: connect ETIMEDOUT 142.251.43.10:443
Mailspring version (1.13.3-9a7e1a78)
Any suggestion? Thank you

Solution found here, works perfectly.

works perfectly with https://myaccount.google.com/apppasswords
need to activate 2 factor verification before you generate app passwords