Qlik Community

Ask a Question

Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

Announcements
QlikWorld Online 2021, May 10-12: Our Free, Virtual, Global Event REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
lucianoginqo
Partner
Partner

GMS Error "App already open in different mode"

Hi all,

I am trying to configure a QS Environment with GMS

I am getting an error when I have to distribute the metrics to the Apps

{"level":"debug","msg":"{ code: 1009,\n  parameter: 'dd58f77a-8aba-4942-be39-426df9a6e20a',\n  message: 'App already open in different mode' }","meta":

Any idea what it could be?

Thank you!

Labels (2)
6 Replies
Not applicable

Luciano, what version of Qlik Sense?

lucianoginqo
Partner
Partner
Author

September2017

bagdwan1
Partner
Partner

Hello, we are using version 3.2 SR3 and we are getting the same errormessage.

It happens when using the "Update metrics in apps" button on this page

https://localhost:8590/masterlib/testpage

Here is the log

Status output:

{"level":"info","msg":"POST reload","meta":{"module":"routes"}}

{"level":"info","msg":"getDocId::running getAppReference","meta":{"module":"getdocid"}}

{"level":"debug","msg":"getDocId::qrsInteract::/app?filter=name eq 'Governed Metrics Application'","meta":{"module":"getdocid"}}

{"level":"debug","msg":"getDocId::qrsInteract::Governed Metrics Application id:724e561e-7552-4a4b-9169-02d9ab0ea713","meta":{"module":"getdocid"}}

{"level":"debug","msg":"reloadMetricsApp::reloadMetrics","meta":{"module":"doWork"}}

{"level":"info","msg":"reloadMetrics::Starting Task::Reload Governed Metrics Application","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::PATH::/task/start/synchronous?name=Reload Governed Metrics Application","meta":{"module":"reloadmetrics"}}

{"level":"info","msg":"reloadMetrics::Task Started::Reload Governed Metrics Application","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::progressCheck::Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"progressCheck::PATH::/executionsession?filter=id eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"info","msg":"reloadMetrics::progressCheck::Task Complete","meta":{"module":"reloadmetrics"}}

{"level":"info","msg":"reloadMetrics::Task Complete::Reload Governed Metrics Application","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetrics::PATH::/executionresult?filter=executionid eq f3ca64a8-e53b-4e92-996f-234d55f58e1a","meta":{"module":"reloadmetrics"}}

{"level":"info","msg":"reloadMetrics::Task Completed in 3121milliseconds","meta":{"module":"reloadmetrics"}}

{"level":"info","msg":"reloadMetrics::Final Task Message: Changing task state to Triggered","meta":{"module":"reloadmetrics"}}

{"level":"debug","msg":"reloadMetricsApp success::Task Completed in 3121 milliseconds with message Changing task state to Triggered","meta":{"module":"doWork"}}

{"level":"info","msg":"POST reload success::Task Completed in 3121 milliseconds with message Changing task state to Triggered","meta":{"module":"routes"}}

{"level":"info","msg":"POST update/all","meta":{"module":"routes"}}

{"level":"info","msg":"Checking for existence of gms tag in the qrs","meta":{"module":"doWork","method":"updateMetrics"}}

{"level":"info","msg":"Found ManagedMasterItems in list of custom properties","meta":{"module":"doWork"}}

{"level":"debug","msg":"getMetricsTable","meta":{"module":"doWork"}}

{"level":"info","msg":"running getmetricshypercube.getMetricsTable","meta":{"module":"getmetricshypercube"}}

{"level":"info","msg":"getDocId::running getdoc.getDocId","meta":{"module":"getdocid"}}

{"level":"debug","msg":"getDocId::qrsInteract::/app?filter=name eq 'Governed Metrics Application'","meta":{"module":"getdocid"}}

{"level":"debug","msg":"getDocId::qrsInteract::Governed Metrics Application id:724e561e-7552-4a4b-9169-02d9ab0ea713","meta":{"module":"getdocid"}}

{"level":"debug","msg":"getMetricsTable::Metrics Library AppId: 724e561e-7552-4a4b-9169-02d9ab0ea713","meta":{"module":"getmetricshypercube"}}

{"level":"info","msg":"getMetricsTable::Opening the doc with data","meta":{"module":"getmetricshypercube"}}

{"level":"debug","msg":"getMetricsTable::Creating session object","meta":{"module":"getmetricshypercube"}}

{"level":"info","msg":"Closing connection to Metrics Hypercube","meta":{"module":"getmetricshypercube"}}

{"level":"debug","msg":"getSubjectAreas","meta":{"module":"doWork"}}

{"level":"debug","msg":"subjectAreas:[\"Finance\"]","meta":{"module":"doWork"}}

{"level":"debug","msg":"Getting list of apps that have ManagedMasterItems applied","meta":{"module":"doWork","method":"updateAll"}}

{"level":"info","msg":"Updating app:Finance.Stage with id:8b3142d5-9adb-44f8-980d-866f5ee56933currently owned by INT\\clmano","meta":{"module":"doWork","method":"updateAll","app":"Finance.Stage"}}

{"level":"info","msg":"Calling updateMetrics on application:Finance.Stage with id:8b3142d5-9adb-44f8-980d-866f5ee56933","meta":{"module":"updateMetrics","method":"updateMetrics","app":"Finance.Stage"}}

{"level":"info","msg":"[ 'Finance' ]","meta":{"module":"updateMetrics","method":"updateMetrics","app":"Finance.Stage"}}

{"level":"info","msg":"Beginning Object Management","meta":{"module":"objectManagement","app":"Finance.Stage"}}

{"level":"error","msg":"{ code: 1009,\n  parameter: '8b3142d5-9adb-44f8-980d-866f5ee56933',\n  message: 'App already open in different mode' }","meta":{"module":"objectManagement","app":"Finance.Stage"}}

{"level":"info","msg":"undefined","meta":{"module":"objectManagement","app":"Finance.Stage"}}

{"level":"info","msg":"Object Management Complete","meta":{"module":"objectManagement","app":"Finance.Stage"}}

{"level":"debug","msg":"{ code: 1009,\n  parameter: '8b3142d5-9adb-44f8-980d-866f5ee56933',\n  message: 'App already open in different mode' }","meta":{"module":"updateMetrics","app":"Finance.Stage"}}

bagdwan1
Partner
Partner

Hello,
I suspect that the problem is that you have 2 apps with the same object_ids.
In my case in my script I include a file that gives me variables that I can use in the script.

This way when I'm done developing under the Stage stream I just switch the included file to the prod version and then publish the app to prod. This is an easy way to handle the development process but I suspect that this is causing problems when using GMS.

When looking at the log just before the error it says

"Beginning Object Management"

So I'm thinking the problem is related the same object ids being used in more than one app. 


br

Martin

lucianoginqo
Partner
Partner
Author

Hi Martin,

I don't think it's my case. I am setting up a new environment and I am pretty sure I have no object id duplicates. Right now I am testing the functionality using one app only

Digvijay_Singh
Master III
Master III

Its been more than 3 years since you wrote about this error. I just started evaluating it and I got this error today. First time I didn't get it but today I see this everytime I click on 'Update metrics in Apps' button.

Pl let me know if you could figure out how to fix this.

 

Thanks in advance!

Digvijay