Support Center > Search Results > SecureKnowledge Details
Cannot perform logout for WEB API open sessions Technical Level
Symptoms
  • Logout fails for WEB API sessions of user WEB API.
  • Show Policy Package Tool leaves an open session.
  • Sessions of automatic scripts or third party software that run on Security Management remain open.
  • While registring of a new CloudGuard Gateway service fails with "An error occurred during service creation - aborting", following sk164072 does not helps.
Cause
1.) Logout of a session of WEB API application and WEB API user in read only mode does not work, due to a mechanism that creates an audit log for this operation.

2.) In case of registring of a new CloudGuard Gateway "vsec_config.elg"  prompts:

2020-09-05 19:13:15,994 INFO [main] (RestRequest.java:3) - Send() operation ended successfully.
2020-09-05 19:13:15,995 INFO [main] (NetXClient.java:136) - getServiceManagerByUrl: There is no Service Manager.
2020-09-05 19:13:15,995 INFO [main] (NetXCLI.java:1431) - checkIfThereIsServiceManagerWithURL: There is no service manager.
2020-09-05 19:13:16,068 DEBUG [main] (NetXCLI.java:1215) - getCredsFromUser:getting admins list
2020-09-05 19:13:16,889 DEBUG [main] (MgmtCLIUtils.java:107) - running command : mgmt_cli logout
2020-09-05 19:13:16,986 ERROR [main] (ProcessUtils.java:27) - command failed , output:
code: "generic_server_error"

at com.checkpoint.VE.CLI.NetXCLI$VMwareMenu.execute(NetXCLI.java:2)
at com.checkpoint.VE.CLI.NetXCLI.runMainMenu(NetXCLI.java:1586)
at com.checkpoint.VE.CLI.NetXCLI.main(NetXCLI.java:135)
2020-09-05 19:13:16,988 ERROR [main] (NetXCLI.java:264) - getCredsFromUser: Failed getting 
admins


3.) On cpm.elg:

10/08/20 02:31:15,323 INFO coresvc.internal.LoginSvcImpl [qtp-1270762588-99647]: Sending audit log to tracker: TrackerLog

{workSessionId=null, operation='Log In', displayedSimpleFieldsChanges='null', displayedAdvancedFieldsChanges='null', displayLogicFieldsChanges='null', subject='Administrator Login', admin='WEB_API', applicationName='WEB_API', ipAddress='null', time=1597019475323, logSeqId=0, logObjectId=, additionalInfo='login by localhost'}
Solution
Note: To view this solution you need to Sign In .