Arduino Teensy Board Manager not working - Error 404

DB2OO

New member
Since quite some time the board manager update in the Arduino 2.3.2 IDE on Windows 10 (same problem on Windows 11) does not work.
I want to update from board manager 1.57.2 to 1.59, but I am getting this error message:

Downloading packages
teensy:teensy-tools@1.59.0
teensy:teensy-compile@11.3.1
Failed to install platform: 'teensy:avr:1.59.0'.
Error: 13 INTERNAL: Server responded with: 404 Not Found


The checking of the JSON file


during startup of the Arduino IDE does not work either. That seems to be hanging and blocks the IDE for quite some time.

Is there something wrong on the PJRC servers?
 
Looks like it is the right: json file:
Code:
https://www.pjrc.com/teensy/package_teensy_index.json
Maybe something wrong with your network?
if you go to a web browser and type in: https://www.pjrc.com/teensy/
does it get there?

If not have you tried rebooting?

Good luck
 
I looked at the web server logs. In the last 16 hours the package index has been downloaded 11175 times.

The majority are from 2 IP numbers, and interestingly those 2 are downloading it from the old URL before we officially supported IDE 2 (back when it was still beta). When I filter out those 2 IP numbers, the total is 3887 downloads over 16 hours.

Nearly all show server response 200 with all 24736 bytes transferred. User agent fields logged show mostly "arduino-cli.exe/0.35.3 daemon (amd64; windows; go1.21.1) Commit:95cfd654", though a variety of other versions are mixed in, and occasional access from "ArduinoIDE/1.8.19 (Windows 10; 10.0; x86; en) Java/1.8.0_191 (Oracle Corporation)" and some others. Interestingly, those have response 206 rather than 200.

If I grep for "404", there are 47 lines in the log. Looks like most of those are typos. For example, this one looks like they added an extra "." on the end:

Code:
{IP Address Redacted} - - [10/Sep/2024:14:48:03 +0000] "GET /teensy/package_teensy_index.json. HTTP/1.1" 404 3821 "-" "arduino-cli.exe/0.36.0-rc.1 (amd64; windows; go1.21.1) Commit:31e03410"
{IP Address Redacted} - - [10/Sep/2024:14:48:04 +0000] "GET /teensy/package_teensy_index.json. HTTP/1.1" 404 3821 "-" "arduino-cli.exe/0.36.0-rc.1 (amd64; windows; go1.21.1) Commit:31e03410"
{IP Address Redacted} - - [10/Sep/2024:14:48:59 +0000] "GET /teensy/package_teensy_index.json. HTTP/1.1" 404 3821 "-" "arduino-cli.exe/0.36.0-rc.1 (amd64; windows; go1.21.1) Commit:31e03410"
{IP Address Redacted} - - [10/Sep/2024:14:50:33 +0000] "GET /teensy/package_teensy_index.json. HTTP/1.1" 404 3821 "-" "arduino-cli.exe/0.36.0-rc.1 (amd64; windows; go1.21.1) Commit:31e03410"
{IP Address Redacted} - - [10/Sep/2024:15:28:57 +0000] "GET /teensy/package_teensy_index.json. HTTP/1.1" 404 3821 "-" "arduino-cli.exe/0.36.0-rc.1 daemon (amd64; windows; go1.21.1) Commit:31e03410"
{IP Address Redacted} - - [10/Sep/2024:15:30:15 +0000] "GET /teensy/package_teensy_index.json. HTTP/1.1" 404 3821 "-" "arduino-cli.exe/0.36.0-rc.1 daemon (amd64; windows; go1.21.1) Commit:31e03410"
{IP Address Redacted} - - [10/Sep/2024:15:31:11 +0000] "GET /teensy/package_teensy_index.json. HTTP/1.1" 404 3821 "-" "arduino-cli.exe/0.36.0-rc.1 daemon (amd64; windows; go1.21.1) Commit:31e03410"

(Edit: all these lines were the same address - just 1 human error and looks like 7 tries from the software)
 
Last edited:
I also tried looking for "teensy-package-1.59.0.tar.zst". In the last 16 hours, looks like 174 downloads. All 174 have status 200 or 206. Not a single 404 status on any download over the last 16 hours.

Here are the logged downloads over the last hour:

Code:
{IP Address Redacted} - - [10/Sep/2024:16:02:48 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.36.0-rc.1 (amd64; windows; go1.21.1) Commit:31e03410"
{IP Address Redacted} - - [10/Sep/2024:16:04:41 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.35.3 (amd64; windows; go1.21.1) Commit:95cfd654"
{IP Address Redacted} - - [10/Sep/2024:16:06:48 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.35.3 daemon (amd64; windows; go1.21.1) Commit:95cfd654"
{IP Address Redacted} - - [10/Sep/2024:16:10:51 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26801415 "-" "Go-http-client/1.1"
{IP Address Redacted} - - [10/Sep/2024:16:11:08 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.32.2 daemon (amd64; windows; go1.20.1) Commit:2661f5d9"
{IP Address Redacted} - - [10/Sep/2024:16:12:30 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.35.3 (amd64; windows; go1.21.1) Commit:95cfd654"
{IP Address Redacted} - - [10/Sep/2024:16:14:46 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.35.3 daemon (amd64; windows; go1.21.1) Commit:95cfd654"
{IP Address Redacted} - - [10/Sep/2024:16:15:39 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.35.3 daemon (amd64; windows; go1.21.1) Commit:95cfd654"
{IP Address Redacted} - - [10/Sep/2024:16:35:29 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.35.3 (amd64; windows; go1.21.1) Commit:95cfd654"
{IP Address Redacted} - - [10/Sep/2024:16:47:19 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.35.3 (amd64; windows; go1.21.1) Commit:95cfd654"
{IP Address Redacted} - - [10/Sep/2024:16:47:10 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.36.0-rc.1 (amd64; windows; go1.21.1) Commit:31e03410"
{IP Address Redacted} - - [10/Sep/2024:17:01:27 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli.exe/0.35.3 (amd64; windows; go1.21.1) Commit:95cfd654"
{IP Address Redacted} - - [10/Sep/2024:17:03:18 +0000] "GET /teensy/td_159/teensy-package-1.59.0.tar.zst HTTP/1.1" 200 26804729 "-" "arduino-cli/0.35.3 (arm64; darwin; go1.21.1) Commit:95cfd654"

(all these lines had different IP addresses)
 
All other board updates are working in my Arduino IDE. Just successfully updated the MBED package and the STM32 board manager, i.e. no network problem.

I could finally resolve the problem by:
  1. completely uninstalling the Teensy board manager from the Arduino IDE
  2. remove the "https://www.pjrc.com/teensy/package_teensy_index.json" from the IDE preferences
  3. Restarting the Arduino IDE
  4. Adding "https://www.pjrc.com/teensy/package_teensy_index.json" at the beginning of the "Preferences" before all other board manager links
  5. Then installing the board manager
Paul,
many thanks for your quick reply and checking, that the PJRC servers are up and running!
 
Back
Top