Skip to content

Platform installation fails: "PROTOCOL_ERROR; received from peer" #3008

@comet424

Description

@comet424

Describe the problem

Installation of the "Silicon Labs" boards platform fails with the following error:

Downloading packages
SiliconLabs:[email protected]
Failed to install platform: 'SiliconLabs:silabs:3.0.0'.
Error: 2 UNKNOWN: stream error: stream ID 1; PROTOCOL_ERROR; received from peer

It downloads half and then fails.

To reproduce

Run the following commands:

$ arduino-cli config set network.connection_timeout 0  # Disable Arduino CLI's timeout mechanism to exclude it as a factor.

$ arduino-cli core install SiliconLabs:silabs

Downloading packages
SiliconLabs:[email protected]
Failed to install platform: 'SiliconLabs:silabs:3.0.0'.
Error: 2 UNKNOWN: stream error: stream ID 1; PROTOCOL_ERROR; received from peer

🐛 The download of the SiliconLabs:[email protected] tool dependency archive file failed.

Expected behavior

Platform installation is successful.

Arduino CLI version

Original report

1.2.0 (version used by Arduino IDE 2.3.6)

Last verified with

d5ef61d

Operating system

Windows

Operating system version

11

Additional context

The fault also occurs if I attempt to download the SiliconLabs:[email protected] archive directly:

$ wget https://github.com/SiliconLabs/arduino/releases/download/2.0.0/arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst
--2025-09-19 13:29:23--  https://github.com/SiliconLabs/arduino/releases/download/2.0.0/arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://release-assets.githubusercontent.com/github-production-release-asset/740914384/3ef5ba22-f1a6-49c5-a095-8173db7547a5?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-19T21%3A27%3A21Z&rscd=attachment%3B+filename%3Darm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-19T20%3A26%3A32Z&ske=2025-09-19T21%3A27%3A21Z&sks=b&skv=2018-11-09&sig=2LQWc%2Bj5IO8tEwcnfI2eOF1%2B2PuaBy3VQzseOP3s2Wc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODMxNDA2MywibmJmIjoxNzU4MzEzNzYzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.zwVv9QrJvoNecrGI7xmVHvnIOQAAMqPkYmcXrBubH9g&response-content-disposition=attachment%3B%20filename%3Darm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst&response-content-type=application%2Foctet-stream [following]
--2025-09-19 13:29:24--  https://release-assets.githubusercontent.com/github-production-release-asset/740914384/3ef5ba22-f1a6-49c5-a095-8173db7547a5?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-19T21%3A27%3A21Z&rscd=attachment%3B+filename%3Darm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-19T20%3A26%3A32Z&ske=2025-09-19T21%3A27%3A21Z&sks=b&skv=2018-11-09&sig=2LQWc%2Bj5IO8tEwcnfI2eOF1%2B2PuaBy3VQzseOP3s2Wc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODMxNDA2MywibmJmIjoxNzU4MzEzNzYzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.zwVv9QrJvoNecrGI7xmVHvnIOQAAMqPkYmcXrBubH9g&response-content-disposition=attachment%3B%20filename%3Darm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst&response-content-type=application%2Foctet-stream
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 279987372 (267M) [application/octet-stream]
Saving to: 'arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst'

arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst       67%[========================================================================================================>                                                   ] 180.00M   220KB/s    in 11m 4s  

2025-09-19 13:40:28 (278 KB/s) - Connection closed at byte 188743680. Retrying.

--2025-09-19 13:40:29--  (try: 2)  https://release-assets.githubusercontent.com/github-production-release-asset/740914384/3ef5ba22-f1a6-49c5-a095-8173db7547a5?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-19T21%3A27%3A21Z&rscd=attachment%3B+filename%3Darm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-19T20%3A26%3A32Z&ske=2025-09-19T21%3A27%3A21Z&sks=b&skv=2018-11-09&sig=2LQWc%2Bj5IO8tEwcnfI2eOF1%2B2PuaBy3VQzseOP3s2Wc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODMxNDA2MywibmJmIjoxNzU4MzEzNzYzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.zwVv9QrJvoNecrGI7xmVHvnIOQAAMqPkYmcXrBubH9g&response-content-disposition=attachment%3B%20filename%3Darm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi.zst&response-content-type=application%2Foctet-stream
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 618 jwt:expired
2025-09-19 13:40:30 ERROR 618: jwt:expired.

Associated forum discussion: https://forum.arduino.cc/t/need-help-to-manually-install-seeeds-board-package/1406769

Additional reports

Related

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: resolvedIssue was resolvedtopic: codeRelated to content of the project itselftopic: package-managementRelated to the packaging and managing of the platform/librariestype: 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