Commissioning failed: pico/pico-hsm/cvc Error 500 #63

Closed
opened 2024-11-22 23:52:30 +08:00 by rrottmann · 8 comments

ESP32S3 freshly flashed cannot be commisioned. Web console shows communication hence and forth to the Pico Key with last line Public Point: 04dff...36e

POST https://www.picokeys.com/pico/pico-ham/cvc yields error 500 in wcid.js?v10:42

SyntaXError: Unexpected token '<', "<!DOCTYPE " is not valid JSON

Screenshot_2024-11-22_16-44-12

ESP32S3 freshly flashed cannot be commisioned. Web console shows communication hence and forth to the Pico Key with last line Public Point: 04dff...36e POST https://www.picokeys.com/pico/pico-ham/cvc yields error 500 in wcid.js?v10:42 SyntaXError: Unexpected token '<', "<!DOCTYPE " is not valid JSON ![Screenshot_2024-11-22_16-44-12](https://github.com/user-attachments/assets/7b02a045-fb53-49a2-a047-5c4a020dfa58)

Perhaps is a temporary problem with the backend. Can you try again?

Perhaps is a temporary problem with the backend. Can you try again?

I can change PID and VID and LED pin but not Initialize. Same error.

I can change PID and VID and LED pin but not Initialize. Same error.

A bug in the frontend affecting only ESP32.

If you refresh the page F5 should be fixed. If not, try deleting the cache.

A bug in the frontend affecting only ESP32. If you refresh the page F5 should be fixed. If not, try deleting the cache.

Still persists on Windows (Edge&Chrome), Linux (Debian&Silverblue, Chrome, Cache cleared) for Initializing a Waveshare ESP32S3 with above error. Works for RP2040 without errors.

Still persists on Windows (Edge&Chrome), Linux (Debian&Silverblue, Chrome, Cache cleared) for Initializing a Waveshare ESP32S3 with above error. Works for RP2040 without errors.

Please paste line 142 of wcid.js

Please paste line 142 of wcid.js

wcid.js

141   let params = { pubkey: pbk }
142   if (platform == PICO_PLATFORM.RP2350) {
143       params.curve = 'secp256k1';
144   }
[wcid.js](https://www.picokeys.com/js/wcid.js?v10) ```140 const pbk = base64UrlEncode(Y); 141 let params = { pubkey: pbk } 142 if (platform == PICO_PLATFORM.RP2350) { 143 params.curve = 'secp256k1'; 144 } ```

Ok, you are using the unpatched js, probably due to some cache. I've updated the versioning so you should see the corrected one.

Ok, you are using the unpatched js, probably due to some cache. I've updated the versioning so you should see the corrected one.

Works like a charm now.

Works like a charm now.
Sign in to join this conversation.