Open vicancy opened 3 years ago
Hi @KKhurin Could you kindly provide the repro steps here?
Repro steps:
Regenerate AccessKey for xxxx failed with status: 'error' and error: 'Service must be active state'
The error should indicate that another key regen is in progress
Note: the first regen operation actually succeeds, although it would take a page refresh to pick the new value - could be another usability issue for users who believe they rotated the key and copy the value which is still old.
https://github.com/Azure/azure-webpubsub/issues/25
Regenerate AccessKey for WebPubSub resource 'kk-bbush2' failed with status: 'error' and error: 'Service must be active state'. The resource was not in creating status. While I can agree that having 2 separate operations to rotate the same key should cause an error, the error message is invalid and misleading. BTW, even though the first rotate operation reported as succeeded, the key was never rotated. This is not specific to web pubsub - it seems to be the same issue for SignalR.