maximkulkin / esp-homekit

Apple HomeKit accessory server library for ESP-OPEN-RTOS
MIT License
1.12k stars 170 forks source link

Failed to dump SPR public key (code -199) #208

Open AlexKryukoff opened 1 year ago

AlexKryukoff commented 1 year ago

Hello, if you want to connect to the monitor, I wrote an error -199. Can you suggest which way to look?

HomeKit: [Client 1] Pair Setup Step 1/3 !!! HomeKit: [Client 1] Failed to dump SPR public key (code -199) HomeKit: [Client 1] Closing client connection from 192.168.1.108

mvso commented 1 year ago

Same problem here. Code (esp32-homekit-camera, which is based on esp-HomeKit) builds and upload ok. The ESP-cam start up fine and Home app finds the unit when I try to add it to my home. However, before I can type the 8-digit code, the serial prints out "Failed to dump SPR public key (code -199)" like shown above. The Home app process fail with "unknown error".

Other posts propose "git submodule update --remote --merge", (to update all the involved modules, including esp-HomeKit) but it doesn't change anything. I have also tried to reinstall esp-idf, cloned the git project to a new project. This didn't help either, the problem persists.

Hellangel1987 commented 1 year ago

facing now same issue

image

@maximkulkin can you assist? we did everything correct. Code builds and upload ok. The ESP-cam start up fine and Home app finds the unit when I try to add it to my home. However, before I can type the 8-digit code, the serial prints out "Failed to dump SPR public key (code -199)" like shown above. The Home app process fail with "unknown error".

Hellangel1987 commented 1 year ago

Update in this case:

https://github.com/maximkulkin/esp32-homekit-camera/issues/108#issuecomment-1424205699

solved my issue