Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the updateProvisioning state machine #431

Closed
PaulZC opened this issue Jul 11, 2024 · 2 comments
Closed

Error in the updateProvisioning state machine #431

PaulZC opened this issue Jul 11, 2024 · 2 comments
Assignees

Comments

@PaulZC
Copy link
Contributor

PaulZC commented Jul 11, 2024

There's an error in the updateProvisioning state machine. When requestKeyUpdate is set true via the menu or web config, the state machine gets stuck in a loop (PROVISIONING_WAIT_ATTEMPT --> PROVISIONING_CHECK_REMAINING --> PROVISIONING_KEYS_REMAINING --> PROVISIONING_WAIT_ATTEMPT). requestKeyUpdate isn't cleared, causing the loop to repeat.

Stored certificates are valid
Days until keys expire: 45
Provisioning: PROVISIONING_CHECK_REMAINING --> PROVISIONING_KEYS_REMAINING
FreeHeap: 57964 / HeapLowestPoint: 54192 / LargestBlock: 1671156 / Used PSRAM: 404448
Days until PointPerfect keys expire: 45
Provisioning: PROVISIONING_KEYS_REMAINING --> PROVISIONING_WAIT_ATTEMPT
Provisioning: PROVISIONING_WAIT_ATTEMPT --> PROVISIONING_CHECK_REMAINING
File loaded from LittleFS: /SFE_Torch_certificate_0.txt
File loaded from LittleFS: /SFE_Torch_privateKey_0.txt
Stored certificates are valid
Days until keys expire: 45
Provisioning: PROVISIONING_CHECK_REMAINING --> PROVISIONING_KEYS_REMAINING
Days until PointPerfect keys expire: 45
Provisioning: PROVISIONING_KEYS_REMAINING --> PROVISIONING_WAIT_ATTEMPT
Provisioning: PROVISIONING_WAIT_ATTEMPT --> PROVISIONING_CHECK_REMAINING
File loaded from LittleFS: /SFE_Torch_certificate_0.txt
File loaded from LittleFS: /SFE_Torch_privateKey_0.txt
Stored certificates are valid
Days until keys expire: 45
Provisioning: PROVISIONING_CHECK_REMAINING --> PROVISIONING_KEYS_REMAINING
Days until PointPerfect keys expire: 45
Provisioning: PROVISIONING_KEYS_REMAINING --> PROVISIONING_WAIT_ATTEMPT
Provisioning: PROVISIONING_WAIT_ATTEMPT --> PROVISIONING_CHECK_REMAINING
File loaded from LittleFS: /SFE_Torch_certificate_0.txt
File loaded from LittleFS: /SFE_Torch_privateKey_0.txt
Stored certificates are valid
Days until keys expire: 45
Provisioning: PROVISIONING_CHECK_REMAINING --> PROVISIONING_KEYS_REMAINING
Days until PointPerfect keys expire: 45
Provisioning: PROVISIONING_KEYS_REMAINING --> PROVISIONING_WAIT_ATTEMPT
Provisioning: PROVISIONING_WAIT_ATTEMPT --> PROVISIONING_CHECK_REMAINING
File loaded from LittleFS: /SFE_Torch_certificate_0.txt
File loaded from LittleFS: /SFE_Torch_privateKey_0.txt
Stored certificates are valid
Days until keys expire: 45
Provisioning: PROVISIONING_CHECK_REMAINING --> PROVISIONING_KEYS_REMAINING
Days until PointPerfect keys expire: 45
Provisioning: PROVISIONING_KEYS_REMAINING --> PROVISIONING_WAIT_ATTEMPT
Provisioning: PROVISIONING_WAIT_ATTEMPT --> PROVISIONING_CHECK_REMAINING
File loaded from LittleFS: /SFE_Torch_certificate_0.txt
File loaded from LittleFS: /SFE_Torch_privateKey_0.txt
Stored certificates are valid
@PaulZC
Copy link
Contributor Author

PaulZC commented Jul 11, 2024

#432 will resolve this issue

@nseidle
Copy link
Member

nseidle commented Aug 29, 2024

Fix in place in v1.4.

@nseidle nseidle closed this as completed Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants