Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
tps800 opened this issue Apr 10, 2025 · 1 comment
Closed
3 tasks done

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

tps800 opened this issue Apr 10, 2025 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@tps800
Copy link

tps800 commented Apr 10, 2025

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
@tps800 tps800 added the type: imperfection Perceived defect in any part of project label Apr 10, 2025
@per1234 per1234 changed the title Arduino IDE 2.3.6 does not start IDE does not start when Internet access is via a proxy server Apr 10, 2025
@per1234 per1234 self-assigned this Apr 12, 2025
@per1234 per1234 added the topic: code Related to content of the project itself label Apr 12, 2025
@per1234
Copy link
Contributor

per1234 commented Apr 12, 2025

Hi @tps800. Thanks for taking the time to submit an issue.

I see we have another report about this at #1438.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

@per1234 per1234 closed this as completed Apr 12, 2025
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants