IDE hangs on startup: "connectex: A connection attempt failed ..."

Hi all, appreciate anyone who can give me some insight on how to fix this. So I followed this IDE hangs on startup: "Unable to get Documents Folder: Access is denied" - #4 by ptillisch to try to see if their situation matched mine. But my documents properties is already set to C:\Users"USERNAME"\Documents, but the IDE application still hangs and gets stuck on the logo. As i am a new user. I'm not allowed to upload any documents to show you the powershell logs, but here are the parts where i see errors:

2025-05-08T02:13:26.500Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp 104.18.10.21:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 2025-05-08T02:13:26.500Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found 2025-05-08T02:13:26.500Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found 2025-05-08T02:13:26.500Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\02013669\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified. 2025-05-08T02:14:08.515Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.ssing. Running indexes update before initializing at t.callErrorFromStatus (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:3089094)lowing problems were detected during the gRPC client initialization: at Object.onReceiveStatus (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6681994)ge_index.json: open C:\Users\02013669\AppData\Local\Arduino15\package_index.json: The system cannot find the fil at Object.onReceiveStatus (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:2571739)m-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found at C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:4307911not found at process.processTicksAndRejections (node:internal/process/task_queues:77:11): open C:\Users\02013669\AppData\Local for call atlibrary_index.json: The system cannot find the file specified. at s.makeServerStreamRequest (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6681761)02:13:26.503Z daemon INFO time="2025-05-08T10:13:26+08:00" level=info msg="Loading libraries index file" inde at s.updateIndex (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:3088187) at C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6284829a\\Local\\Arduino at C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6285177 at new Promise (<anonymous>) level=info msg="Adding libraries dir" dir="C:\\Users\\02013669\\Documents\\Arduino\\lib at y.doUpdateIndex (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6285156)025-05-08T02:13:26.504Z daemon INFO time="2025-05-08T10:13:26+08:00" level=info msg="Updating index" url="https://downl at y.updatePlatformIndex (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6284801)-08T02:13:26.505Z daemon INFO time="2025-05-08T10:13:26+08:00" level=info msg="Starting download" url="https://do at y.updateIndex (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6284169) at y.initInstanceWithFallback (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6282462) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)ng index: library_index.tar.bz2 2025-05-08T02:14:08.516Z daemon INFO time="2025-05-08T10:14:08+08:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"08T10:13:26+08:00" level=info msg="Starting download" url="https://do 2025-05-08T02:14:50.540Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp 104.18.11.21:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 2025-05-08T02:14:50.541Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\02013669\AppData\Local\Arduino15\package_index.json: open C:\Users\02013669\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified. 2025-05-08T02:14:50.541Z daemon INFO time="2025-05-08T10:14:50+08:00" level=info msg="Loading hardware from: C:\\Users\\02013669\\AppData\\Local\\Arduino15\\packages" time="2025-05-08T10:14:50+08:00" level=info msg="Loading libraries index file" index="C:\\Users\\02013669\\AppData\\Local\\Arduino15\\library_index.json" time="2025-05-08T10:14:50+08:00" level=info msg="Adding libraries dir" dir="C:\\Users\\02013669\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide time="2025-05-08T10:14:50+08:00" level=info msg="Adding libraries dir" dir="C:\\Users\\02013669\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user 2025-05-08T02:14:50.541Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found 2025-05-08T02:14:50.541Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found 2025-05-08T02:14:50.541Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\02013669\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified. 2025-05-08T02:14:50.542Z root ERROR Uncaught Exception: Error: The index of the cores and libraries must be updated before initializing the core gRPC client. The following problems were detected during the gRPC client initialization: [platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\02013669\AppData\Local\Arduino15\package_index.json: open C:\Users\02013669\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified. [platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found [platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found [library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\02013669\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified. 2025-05-08T02:14:50.542Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client. The following problems were detected during the gRPC client initialization: [platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\02013669\AppData\Local\Arduino15\package_index.json: open C:\Users\02013669\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified. [platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found [platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found [library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\02013669\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified. at C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6283973 at y.evaluateErrorStatus (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6283989) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async a.<anonymous> (C:\Users\02013669\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6283659) 

Hi @boeeng_qa

This problem might be caused by your firewall or some other network security system (e.g., proxy or VPN) interfering with Arduino IDE's ability to access the Internet.

Are you aware of anything special about the configuration of the network you connect to the Internet through that might interfere with Arduino IDE's access to the Internet?

Is that just a typo in the post? Should presumably be:

C:\Users\"USERNAME"\Documents ?