IDE hangs on startup: "downloading builtin:ctags@5.8-arduino11 tool: Server responded with: 403 Forbidden"

Hi, I downloaded arduino IDE on my windows.No problem arises while downloading and installing,that part goes smoothly,but after downloading,the IDE doesn't open,and it just sits there with the arduino logo on the screen,getting enlarged and minimized.I have tried downloading all possible versions for windows,but still same problem.
And I have performed the test in powershell and attached the output here.

PS C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE> ^C
PS C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.2" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.3" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-20T10:04:35.814Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.2","cliVersion":"0.35.3","buildDate":"2024-02-20T10:04:35.814Z"}
Starting backend process. PID: 20100
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/RU40153358/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-07-18T05:22:17.592Z root INFO Backend Object.initialize: 8.5 ms [Finished 1.190 s after backend start]
2024-07-18T05:22:17.597Z root INFO Backend Object.configure: 7.0 ms [Finished 1.190 s after backend start]
2024-07-18T05:22:17.597Z root INFO Backend s.onStart: 3.5 ms [Finished 1.190 s after backend start]
2024-07-18T05:22:17.598Z root INFO Backend s.configure: 0.6 ms [Finished 1.241 s after backend start]
2024-07-18T05:22:17.600Z root INFO Backend d.onStart: 0.5 ms [Finished 1.241 s after backend start]
2024-07-18T05:22:17.602Z root INFO Backend d.configure: 0.2 ms [Finished 1.241 s after backend start]
2024-07-18T05:22:17.605Z root WARN Backend d.initialize took longer than the expected maximum 50 milliseconds: 51.2 ms [Finished 1.242 s after backend start]
2024-07-18T05:22:17.605Z root INFO Backend c.onStart: 0.5 ms [Finished 1.242 s after backend start]
2024-07-18T05:22:17.606Z root INFO Backend a.configure: 5.4 ms [Finished 1.247 s after backend start]
2024-07-18T05:22:17.610Z config INFO >>> Initializing CLI configuration...
2024-07-18T05:22:17.611Z root INFO Backend c.initialize: 1.2 ms [Finished 1.248 s after backend start]
2024-07-18T05:22:17.611Z root INFO Backend R.onStart: 1.9 ms [Finished 1.249 s after backend start]
2024-07-18T05:22:17.613Z config INFO Loading CLI configuration from c:\Users\RU40153358\.arduinoIDE\arduino-cli.yaml...
2024-07-18T05:22:17.614Z daemon INFO Starting daemon from C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-07-18T05:22:17.614Z root INFO Backend a.initialize: 1.0 ms [Finished 1.252 s after backend start]
2024-07-18T05:22:17.615Z root INFO Backend w.onStart: 3.6 ms [Finished 1.254 s after backend start]
2024-07-18T05:22:17.615Z root INFO Backend r.configure: 5.3 ms [Finished 1.255 s after backend start]
2024-07-18T05:22:17.615Z discovery-log INFO start
2024-07-18T05:22:17.615Z discovery-log INFO start new deferred
2024-07-18T05:22:17.615Z root INFO Backend d.initialize: 1.1 ms [Finished 1.256 s after backend start]
2024-07-18T05:22:17.615Z root INFO Backend y.onStart: 5.2 ms [Finished 1.260 s after backend start]
2024-07-18T05:22:17.615Z root INFO Backend r.configure: 4.5 ms [Finished 1.261 s after backend start]
2024-07-18T05:22:17.615Z root INFO Backend a.onStart: 1.1 ms [Finished 1.264 s after backend start]
2024-07-18T05:22:17.615Z root INFO Backend h.configure: 0.9 ms [Finished 1.264 s after backend start]
2024-07-18T05:22:17.615Z root INFO Backend s.configure: 0.3 ms [Finished 1.265 s after backend start]
2024-07-18T05:22:17.615Z root INFO Backend l.configure: 0.1 ms [Finished 1.265 s after backend start]
2024-07-18T05:22:17.622Z root INFO Theia app listening on http://127.0.0.1:52621.
2024-07-18T05:22:17.622Z root INFO Finished starting backend application: 7.0 ms [Finished 1.271 s after backend start]
2024-07-18T05:22:18.864Z root WARN The local plugin referenced by local-dir:/c%3A/Users/RU40153358/.arduinoIDE/plugins does not exist.
2024-07-18T05:22:18.865Z root WARN The local plugin referenced by local-dir:/c%3A/Users/RU40153358/.arduinoIDE/extensions does not exist.
2024-07-18T05:22:18.865Z root WARN The local plugin referenced by local-dir:C:\Users\RU40153358\.arduinoIDE\plugins does not exist.
2024-07-18T05:22:18.878Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\RU40153358\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\RU40153358\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-07-18T05:22:18.878Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-07-18T05:22:18.878Z config INFO Loaded the CLI configuration.
2024-07-18T05:22:18.895Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/RU40153358/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/RU40153358/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-07-18T05:22:18.895Z config INFO Validating the CLI configuration...
2024-07-18T05:22:18.905Z config INFO The CLI config is valid.
2024-07-18T05:22:18.905Z config INFO <<< Initialized the CLI configuration.
2024-07-18T05:22:18.999Z root INFO Resolve plugins list: 1386.7 ms [Finished 2.648 s after backend start]
2024-07-18T05:22:19.438Z daemon INFO time="2024-07-18T10:52:19+05:30" level=info msg="Using config file: c:\\Users\\RU40153358\\.arduinoIDE\\arduino-cli.yaml"
time="2024-07-18T10:52:19+05:30" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-07-18T10:52:19+05:30" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:52625
{"IP":"127.0.0.1","Port":"52625"}
2024-07-18T05:22:19.438Z daemon INFO Daemon is running.
2024-07-18T05:22:19.628Z daemon INFO time="2024-07-18T10:52:19+05:30" level=info msg="Checking signature" index="C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
time="2024-07-18T10:52:19+05:30" level=info msg="Loading hardware from: C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\packages"
time="2024-07-18T10:52:19+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip"
2024-07-18T05:22:20.573Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:ctags@5.8-arduino11 tool: Server responded with: 403 Forbidden
2024-07-18T05:22:20.576Z daemon INFO time="2024-07-18T10:52:20+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/discovery/dfu-discovery/dfu-discovery_v0.1.2_Windows_64bit.zip"
2024-07-18T05:22:21.650Z root INFO Deploy plugins list: 1386.7 ms [Finished 5.299 s after backend start]
2024-07-18T05:22:22.137Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:dfu-discovery@0.1.2 tool: unexpected EOF
2024-07-18T05:22:22.146Z daemon INFO time="2024-07-18T10:52:22+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.9_Windows_64bit.zip"
2024-07-18T05:22:23.743Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:mdns-discovery@1.0.9 tool: unexpected EOF
2024-07-18T05:22:23.744Z daemon INFO time="2024-07-18T10:52:23+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.4.1_Windows_64bit.zip"
2024-07-18T05:22:25.327Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-discovery@1.4.1 tool: unexpected EOF
2024-07-18T05:22:25.329Z daemon INFO time="2024-07-18T10:52:25+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.14.1_Windows_64bit.zip"
2024-07-18T05:22:26.807Z daemon INFO time="2024-07-18T10:52:26+05:30" level=info msg="Loading tools from dir: C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-07-18T05:22:26.808Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-monitor@0.14.1 tool: unexpected EOF
2024-07-18T05:22:26.809Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: reading directory C:\Users\RU40153358\AppData\Local\Arduino15\packages\builtin\tools: open C:\Users\RU40153358\AppData\Local\Arduino15\packages\builtin\tools: The system cannot find the path specified.
2024-07-18T05:22:26.809Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
2024-07-18T05:22:26.810Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
2024-07-18T05:22:26.810Z daemon INFO time="2024-07-18T10:52:26+05:30" level=info msg="Loading libraries index file" index="C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\library_index.json"
2024-07-18T05:22:27.774Z daemon INFO time="2024-07-18T10:52:27+05:30" level=info msg="Adding libraries dir" dir="C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-07-18T05:22:27.774Z daemon INFO time="2024-07-18T10:52:27+05:30" level=info msg="Adding libraries dir" dir="C:\\Users\\RU40153358\\Documents\\Arduino\\libraries" location=user
2024-07-18T05:22:27.786Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client 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: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed

2024-07-18T05:22:27.788Z daemon INFO time="2024-07-18T10:52:27+05:30" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-07-18T05:22:27.792Z daemon INFO time="2024-07-18T10:52:27+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-07-18T05:22:27.795Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2024-07-18T05:22:29.659Z daemon INFO time="2024-07-18T10:52:29+05:30" level=info msg="Checking signature" index="C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-07-18T05:22:29.662Z daemon INFO time="2024-07-18T10:52:29+05:30" level=info msg="Loading hardware from: C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\packages"
2024-07-18T05:22:29.668Z daemon INFO time="2024-07-18T10:52:29+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip"
2024-07-18T05:22:31.120Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:ctags@5.8-arduino11 tool: Server responded with: 403 Forbidden
2024-07-18T05:22:31.125Z daemon INFO time="2024-07-18T10:52:31+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/discovery/dfu-discovery/dfu-discovery_v0.1.2_Windows_64bit.zip"
2024-07-18T05:22:31.860Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:dfu-discovery@0.1.2 tool: unexpected EOF
2024-07-18T05:22:31.863Z daemon INFO time="2024-07-18T10:52:31+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.9_Windows_64bit.zip"
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-07-18T05:22:37.643Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:mdns-discovery@1.0.9 tool: unexpected EOF
2024-07-18T05:22:37.645Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-discovery@1.4.1 tool: unexpected EOF
2024-07-18T05:22:37.647Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-monitor@0.14.1 tool: unexpected EOF
2024-07-18T05:22:37.647Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: reading directory C:\Users\RU40153358\AppData\Local\Arduino15\packages\builtin\tools: open C:\Users\RU40153358\AppData\Local\Arduino15\packages\builtin\tools: The system cannot find the path specified.
2024-07-18T05:22:37.648Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
2024-07-18T05:22:37.648Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
2024-07-18T05:22:37.653Z 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: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed

2024-07-18T05:22:37.653Z 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: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed

    at C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622877
    at E.evaluateErrorStatus (C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622893)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async a.<anonymous> (C:\Users\RU40153358\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622563)
2024-07-18T05:22:37.653Z daemon INFO time="2024-07-18T10:52:33+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.4.1_Windows_64bit.zip"
time="2024-07-18T10:52:34+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.14.1_Windows_64bit.zip"
time="2024-07-18T10:52:35+05:30" level=info msg="Loading tools from dir: C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-07-18T10:52:35+05:30" level=info msg="Loading libraries index file" index="C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-07-18T10:52:36+05:30" level=info msg="Adding libraries dir" dir="C:\\Users\\RU40153358\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-07-18T10:52:36+05:30" level=info msg="Adding libraries dir" dir="C:\\Users\\RU40153358\\Documents\\Arduino\\libraries" location=user
2024-07-18T05:22:37.875Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 5285.8 ms [Finished 15.700 s after frontend start]
2024-07-18T05:22:37.894Z root WARN A command editor.action.toggleStickyScroll is already registered.


Hi @ruthra2774.

This type of problem might be caused by a transient network outage. These usually resolve themselves after a matter of minutes; hours at worst. If so in this case, I would expect you would no longer experience the problem now.

If it still occurs now, are there special restrictions on your network, such as a firewall or proxy? I found that in most of the previous reports, this was determined to be the cause of the download failing with the "Server responded with: 403 Forbidden" error as happens on your system:

all the topics with the IDE not opening are kinda dead lol.. so i'll just put the solution that worked for me here, in case it helps someone who isn't on a corporate laptop with managed access:
the following solved it for me immediately, and i had before this change installed 2.3.3 4 times, with the exe and msi and even went through the windows store, where for whatever reason only the legacy version was ever published...

In most cases, following a security update to Windows, a feature called Controlled Folder Access may be automatically turned on, preventing 3rd-party applications from accessing specific folders on your computer. To turn this feature off, please follow the steps below:

  1. Select Start > Settings > Update & Security (Windows 10) or Privacy & Security (Windows 11) > Windows Security > Virus & threat protection .

  2. Under Virus & threat protection settings , select Manage settings .

  3. Under Controlled folder access , select Manage Controlled folder access .

  4. Switch the Controlled folder access setting to Off

@Xgl0balTK

Did you read the log? Will your solution help if there is a problem accessing a web site?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.