Skip to content

Error: 4 DEADLINE_EXCEEDED when trying to install board software #2944

Closed as not planned
@5ucur

Description

@5ucur

Describe the problem

I'm trying to install the software needed for a RP2040 board, but the problem occurs when trying to install other boards, too. This is the error it gives (seen in the console when running the IDE from the terminal):

2025-07-05T22:55:54.446Z root ERROR Request install failed with error: 4 DEADLINE_EXCEEDED: context deadline exceeded (Client.Timeout or context cancellation while reading body) Error: 4 DEADLINE_EXCEEDED: context deadline exceeded (Client.Timeout or context cancellation while reading body)
    at t.callErrorFromStatus (/usr/lib/arduino-ide/lib/backend/main.js:2:921584)
    at Object.onReceiveStatus (/usr/lib/arduino-ide/lib/backend/main.js:2:949201)
    at Object.onReceiveStatus (/usr/lib/arduino-ide/lib/backend/main.js:2:942225)
    at /usr/lib/arduino-ide/lib/backend/main.js:2:1028347
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at s.makeServerStreamRequest (/usr/lib/arduino-ide/lib/backend/main.js:2:948968)
    at s.platformInstall (/usr/lib/arduino-ide/lib/backend/main.js:2:1013244)
    at y.install (/usr/lib/arduino-ide/lib/backend/main.js:2:86129)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async u.onRequest (/usr/lib/arduino-ide/lib/backend/main.js:2:1265156)
    at async c.handleRequest (/usr/lib/arduino-ide/lib/backend/main.js:2:1256051)

I've seen similar issues over on the arduino-cli repo (for example, this one with this solution (increasing timeout), which is also a solution I found on the forum, too; but even at 6000s, the timeout happens within a couple minutes).

To reproduce

  1. Open boards manager side pane.
  2. Type in 2040.
  3. Select one of the three results and click its Install button.
  4. Wait for a few minutes.

Expected behavior

I would expect a successful installation; or at least if it's a timeout error, that a timeout of 6000s is more than enough.

Arduino IDE version

The Help menu > About Arduino IDE window does not show any version numbers. Checking the Arch Linux repo, seeing as I installed just today, it's 2.3.4, which lines up with the text in the title bar.

Operating system

Linux

Operating system version

Arch Linux 6.12.35-1-lts

Additional context

Unlike the stable release, the error does not happen on the nightly build.

If I missed any necessary details, please let me know. And if something is hard to understand, please ask and I will rephrase, English is not my main language.

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions