Skip to content

IDE does not start when Internet access is via a proxy server #2705

Closed as duplicate of#1438
@tps800

Description

@tps800

Describe the problem

Arduino IDE does not start. It hangs showing the pumping Arduino icon. Some of the last entries within its log:

2025-04-10 17:34:28 2025-04-10T15:34:28.693Z root INFO >>> Restoring the layout state...
2025-04-10 17:34:28 2025-04-10T15:34:28.709Z root INFO [efa93843-6363-46e9-816d-86d0c14a1797] Waiting for backend deployment: 135.6 ms [Finished 2.617 s after frontend start]
2025-04-10 17:34:29 2025-04-10T15:34:29.159Z root INFO [hosted-plugin: 13320] PLUGIN_HOST(13320) starting instance
[Object: null prototype] {}
2025-04-10 17:34:29 2025-04-10T15:34:29.661Z root INFO [efa93843-6363-46e9-816d-86d0c14a1797] Sync of 23 plugins: 962.6 ms [Finished 3.579 s after frontend start]
2025-04-10 17:35:08 2025-04-10T15:35:08.891Z root ERROR Failed to update platform indexes. Error: 13 INTERNAL: Einige Indizes konnten nicht aktualisiert werden.
    at t.callErrorFromStatus (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:3089094)
    at Object.onReceiveStatus (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6681994)
    at Object.onReceiveStatus (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:2571739)
    at C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:4307911
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at s.makeServerStreamRequest (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6681761)
    at s.updateIndex (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:3088187)
    at C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6284829
    at C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6285177
    at new Promise (<anonymous>)
    at y.doUpdateIndex (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6285156)
    at y.updatePlatformIndex (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6284801)
    at y.updateIndex (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6284169)
    at y.initInstanceWithFallback (C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6282462)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-04-10 17:35:08 2025-04-10T15:35:08.895Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Indexdatei wird geladen: json-Indexdatei laden C:\Users\scth-muc\AppData\Local\Arduino15\package_index.json: EOF
2025-04-10 17:35:08 2025-04-10T15:35:08.896Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: Discovery builtin:serial-discoverywurde nicht gefunden
2025-04-10 17:35:08 2025-04-10T15:35:08.897Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: Discovery builtin:mdns-discoverywurde nicht gefunden
2025-04-10 17:35:08 2025-04-10T15:35:08.898Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Indexdatei wird geladen: parse library_index.json: EOF
2025-04-10 17:35:08 2025-04-10T15:35:08.898Z daemon INFO time="2025-04-10T17:35:08+02:00" level=info msg="Loading hardware from: C:\\%USERPROFILE%\\AppData\\Local\\Arduino15\\packages"
time="2025-04-10T17:35:08+02:00" level=info msg="Loading libraries index file" index="%USERPROFILE%\\AppData\\Local\\Arduino15\\library_index.json"
time="2025-04-10T17:35:08+02:00" level=info msg="Adding libraries dir" dir="%USERPROFILE%\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
time="2025-04-10T17:35:08+02:00" level=info msg="Adding libraries dir" dir="%USERPROFILE%\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
2025-04-10 17:35:09 2025-04-10T15:35:09.051Z 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: Indexdatei wird geladen: json-Indexdatei laden C:\Users\scth-muc\AppData\Local\Arduino15\package_index.json: EOF

2025-04-10 17:35:09 2025-04-10T15:35:09.051Z 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: Indexdatei wird geladen: json-Indexdatei laden C:\Users\scth-muc\AppData\Local\Arduino15\package_index.json: EOF

    at C:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6283973
    at y.evaluateErrorStatus (C:\prgs\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:\prgs\arduino-ide\resources\app\lib\backend\main.js:2:6283659)

The latest nightly (arduino-ide_nightly-20250410_Windows_64bit.zip) shows the same behaviour.

To reproduce

Expected behavior

Arduino-IDE just starting presenting its UI.

Arduino IDE version

2.3.6

Operating system

Windows

Operating system version

10.0.17763.316

Additional context

Make sure your PC does not have direct internet access, but a configured, working proxy to access internet sites (no login neccessary).

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

conclusion: duplicateHas already been submittedtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions