Gemini Login Failed? The Hidden OAuth Network Fix for AionUI

1 months ago 高效码农

AionUI Gemini Login Failure: Root Cause Analysis and the Definitive Fix Core conclusion upfront: When AionUI fails to log in to Gemini with an error like: Failed to exchange authorization code for tokens request to https://oauth2.googleapis.com/token failed reason: connect ETIMEDOUT 74.125.20.95:443 the problem is not Gemini itself, not an invalid API key, and not an AionUI feature bug. The real cause is that AionUI’s Node/Electron process cannot directly reach Google’s OAuth Token service during the OAuth login flow. The final, proven, and minimal solution is to explicitly set system-level HTTP/HTTPS proxy environment variables: setx HTTPS_PROXY http://127.0.0.1:7890 setx HTTP_PROXY http://127.0.0.1:7890 This …