Login by the Edge Encryption proxy unsuccessful. edgeeencryption.log repeatedly prints: ERROR "" is not defined"Description<!-- div.margin{ padding: 10px 40px 40px 30px; } table tr td { padding: 15px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } .spanColor { color: #646464; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Symptoms While logged in to the Edge proxy, after you have just created and saved a new Edge Encryption rule: The following error is issued repeatedly in the edgeeencryption.log: ERROR "<Edge Encryption Rule Name>" is not defined An attempt to log in via the Edge proxy returns you to the same login screen regardless of whether you are attempting a local or LDAP login or a login using SAML SSO. The login is not possible via the proxy. Logins to the regular instance URL (not using the Edge proxy) work without issue. If you are already logged in via the Edge proxy, you might see a Edge Encryption error screen referencing the same rule error ("The Encryption Proxy detected an error.") seen in the edgeeencryption.log when trying to navigate to different places in the UI, as shown in the following example: Cause The newly created Edge Encryption rule has a syntax error. For example, suppose a rule is created as follows: Name: ExampleJson Condition field: function ExampleJsonAction(request) { ... ... ... } Action field: function ExampleJsonAction(request) { ... ... ... } The problem is that the Condition field is incorrect. The function name is called function ExampleJsonAction(request). However, instead of the Action designation, it should have the Condition designation as follows: function ExampleJsonCondition(request) Solution If you are already logged in via the proxy, set the new rule to Active = false, and correct any syntax errors before reactivating the rule. If you are unable to log in to the proxy, to deactivate the rule you will need assistance from ServiceNow Support to recover. Enter a new incident for Edge Encryption. The following steps need to be carried out by ServiceNow Support and the Edge Encryption administrator: ServiceNow Support: Go to the write ACL for sys_encryption_rule, check the Admin overrides checkbox, then save. ServiceNow Support: Go to the Edge Encryption Rule that has the syntax error, set Active = false, and save. ServiceNow Support: Go back to the write ACL for sys_encryption_rule, uncheck the Admin overrides checkbox, and save. Edge Encryption admin: The action taken in Step 1 will cause a signature error. To correct this error, follow the steps in KB0621218. In step 3 in these instructions, change the name of the rule to any value and save it in order to re-sign the rule. Edge Encryption admin: Stop the proxy again and follow the steps in KB0621286. After the proxy restart, the issue should be resolved. Be sure not to activate the incorrect rule again until the syntax error is corrected. Note: Starting in the Kingston release, the UI will prevent the entry of this kind of syntax error on the Rules page. If a save of this type of incorrect rule is attempted it will be blocked by the UI with the following example output: Condition name is not the expected value. The expected value is 'ExampleJsonCondition'. Please correct Condition Name and try again. Invalid insert