RosiKyu commented on issue #12523:
URL: https://github.com/apache/cloudstack/issues/12523#issuecomment-3801950507

   ### Update
   
   The root cause has been identified. The `js.interpretation.enabled` setting 
requires an **encrypted** value in the database, not plain text.
   
   **Workaround:**
   1. Get encryption key: `cat /etc/cloudstack/management/key`
   2. Encrypt the value: `java -classpath 
/usr/share/cloudstack-common/lib/cloudstack-utils.jar 
com.cloud.utils.crypt.EncryptionCLI -p <key> -i true`
   3. Update with encrypted value: `UPDATE configuration SET 
value='<encrypted>' WHERE name='js.interpretation.enabled';`
   
   **Remaining issues:**
   1. Server hangs silently instead of showing a clear error when decryption 
fails
   2. No documentation that this hidden setting requires encryption
   3. Consider adding validation/error handling for encrypted config values
   
   Could be closed as user error, but suggesting improvement to error handling.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to