Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Tony_Digitalrep
Contributor
Contributor

Telemetry Dashboard does not have data and reload fails

I have gone over this a few times and cannot seem to solve the problem.

I installed the telemetry dashboard. 

The App, Data Connections and Tasks look right. 

When I run the tasks  TelemetryDashboard-2-Reload-Dashboard it fails with the following error.

2023-05-02 20:27:50 0530 FROM '[lib://TelemetryMetadata/engineInfos.csv]' (txt, utf8, embedded labels, delimiter is '`')
2023-05-02 20:27:50 Error: Cannot open file: 'lib://TelemetryMetadata/engineInfos.csv' (Native Path: ***
2023-05-02 20:27:50 System error: ***)
2023-05-02 20:27:50 Execution Failed
2023-05-02 20:27:50 Execution finished.

I cannot find this file on the system. I cannot find a folder called TelemetryMetadata.

When I run the TelemetryDashboard.exe with -test and -fetchmetadata -debug    I get...

E:\Nodes\TelemetryDashboard>TelemetryDashboard.exe -test
1 2023-05-02T20:45:39.5433218Z Info Arguments handled and logging initialized.
2 2023-05-02T20:45:39.5443218Z Debug Current working directory: E:\Nodes\TelemetryDashboard\
3 2023-05-02T20:45:39.6273209Z Info Test Mode:
4 2023-05-02T20:45:39.6273209Z Info Checking to see if repository is running.
5 2023-05-02T20:45:39.6293231Z Debug Checking to see if repository is running.
6 2023-05-02T20:45:39.6293231Z Debug Sending request to 'https://QS01.dr.loc:4242'.
7 2023-05-02T20:45:39.6433217Z Debug Request - Ready to send request: 'GET' to '/about?'.
8 2023-05-02T20:45:39.6733211Z Debug Request - Response code received: 'OK'
9 2023-05-02T20:45:39.6743222Z Debug Repository responded with OK.
10 2023-05-02T20:45:39.6743222Z Debug OK returned. Validation successful.

E:\Nodes\TelemetryDashboard>TelemetryDashboard.exe -fetchmetadata -debug
1 2023-05-02T20:46:06.5651779Z Info Arguments handled and logging initialized.
2 2023-05-02T20:46:06.5661793Z Debug Current working directory: E:\Nodes\TelemetryDashboard\
3 2023-05-02T20:46:06.6421794Z Debug Checking to see if repository is running.
4 2023-05-02T20:46:06.6431791Z Debug Sending request to 'https://QS01.dr.loc:4242'.
5 2023-05-02T20:46:06.6571784Z Debug Request - Ready to send request: 'GET' to '/about?'.
6 2023-05-02T20:46:06.6881790Z Debug Request - Response code received: 'OK'
7 2023-05-02T20:46:06.6881790Z Debug Repository responded with OK.
8 2023-05-02T20:46:06.6881790Z Info Fetch Metadata Mode:
9 2023-05-02T20:46:06.6881790Z Debug Running Fetch Metadata from command line.
10 2023-05-02T20:46:06.6941798Z Debug Request - Ready to send request: 'GET' to '/servicecluster/full?'.
11 2023-05-02T20:46:06.7021791Z Debug Request - Response code received: 'OK'
12 2023-05-02T20:46:06.7491940Z Debug Trying to get metadata binary file: \\QS01\Nodes$\TelemetryDashboard\metadata.tdm
13 2023-05-02T20:46:06.7521801Z Info Getting system info from About Service on port 9032.
14 2023-05-02T20:46:06.7531779Z Debug Request - Ready to send request: 'GET' to '/v1/systemInfo?'.

Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: O. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at qs_telemetry_dashboard.MetadataFetch.MetadataFetchRunner.GetAboutServiceInfo(TelemetryMetadata telemetryMetadata)
at qs_telemetry_dashboard.MetadataFetch.MetadataFetchRunner.Run(Int32 engineRequestTimeoutMS)
at qs_telemetry_dashboard.TelemetryDashboardMain.Main(String[] args)

Any help would be appreciated.

Labels (1)
4 Replies
rzenere_avvale
Partner - Specialist II
Partner - Specialist II

Hey there @Tony_Digitalrep ,

From what I recall from my last configuration, the folder TelemetryMetadata should be created in your shared folder (QMC > Service Cluster > Root folder)
Also, you can take a look at QMC > Data Connections > TelemetryMetadata to see where this path leads on your system

I hope this helps,
Riccardo

Chip_Matejowsky
Support
Support

Hi @Tony_Digitalrep,

Suggest you refer to the online Help for Telemetry Logging and the Telemetry Dashboard entry in the Qlik Sense Admin Playbook to ensure you have things configured correctly.

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
Tony_Digitalrep
Contributor
Contributor
Author

The path is to my shared folder. I dropped security to make sure that permissions were not an issue. The problem is that TelemetryMetadata is not created.

12 2023-05-02T20:46:06.7491940Z Debug Trying to get metadata binary file: \\QS01\Nodes$\TelemetryDashboard\metadata.tdm

That file is never created. 

When you try to do a TelemetryDashboard.exe -fetchmetadata  from an Administrative command prompt. You get the following...

Telemetry Dashboard has stopped working. A problem cause the program to stop working correctly. Windows will close the program and notify you if a solution is available.

This is what you see at the command line.

E:\Nodes\TelemetryDashboard>TelemetryDashboard.exe -fetchmetadata
1 2023-05-03T16:10:13.9431336Z Info Arguments handled and logging initialized.
2 2023-05-03T16:10:14.0611325Z Info Fetch Metadata Mode:
3 2023-05-03T16:10:14.1161321Z Info Getting system info from About Service on port 9032.

Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: O. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at qs_telemetry_dashboard.MetadataFetch.MetadataFetchRunner.GetAboutServiceInfo(TelemetryMetadata telemetryMetadata)
at qs_telemetry_dashboard.MetadataFetch.MetadataFetchRunner.Run(Int32 engineRequestTimeoutMS)
at qs_telemetry_dashboard.TelemetryDashboardMain.Main(String[] args)

This came from Windows Event Viewer.

Fault bucket 2232454314152002967, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: TelemetryDashboard.exe
P2: 4.4.1.0
P3: 8b8e75bc
P4: Newtonsoft.Json
P5: 12.0.0.0
P6: dff1c7f1
P7: 242
P8: 2a3
P9: Newtonsoft.Json.JsonReader
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERE6A1.tmp.WERInternalMetadata.xml

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_TelemetryDashboa_19e46067af56e669b0eb9653c9169acc5cbbecb2_320e871d_271e8656

Analysis symbol:
Rechecking for solution: 0
Report Id: 6508b2e4-85e9-407f-8cf2-716ab0bb9fd8
Report Status: 0
Hashed bucket: e17e0791a43007c4fefb455ee4518597

Tony_Digitalrep
Contributor
Contributor
Author

I went through these files again. I had done everything in the them.

The issue seems to be that the metadata is not created. The file that the following says it is trying to fetch 

\\QS01\Nodes$\TelemetryDashboard\metadata.tdm 

Is never created. 

The TelemetryDashboard.exe crashes with a windows error if run with -intialize (after the first intialization) or if run with -fetchmetadata  --  It works fine with -test.  If you delete the tasks, dataconnections and app and rerun the intialization, it works without 


E:\Nodes\TelemetryDashboard>TelemetryDashboard.exe -fetchmetadata -debug
1 2023-05-03T16:28:32.8420595Z Info Arguments handled and logging initialized.

2023-05-03 16:42:15 0527 [node_list]:
2023-05-03 16:42:15 0528 LOAD DISTINCT
2023-05-03 16:42:15 0529 Upper([Hostname]) AS [Node Name]
2023-05-03 16:42:15 0530 FROM '[lib://TelemetryMetadata/engineInfos.csv]' (txt, utf8, embedded labels, delimiter is '`')
2023-05-03 16:42:15 Error: Cannot open file: 'lib://TelemetryMetadata/engineInfos.csv' (Native Path: ***
2023-05-03 16:42:15 System error: ***)
2023-05-03 16:42:15 Execution Failed
2023-05-03 16:42:15 Execution finished.
2 2023-05-03T16:28:32.8420595Z Debug Current working directory: E:\Nodes\TelemetryDashboard\
3 2023-05-03T16:28:32.9190585Z Debug Checking to see if repository is running.
4 2023-05-03T16:28:32.9190585Z Debug Sending request to 'https://QS01.dr.loc:4242'.
5 2023-05-03T16:28:32.9340586Z Debug Request - Ready to send request: 'GET' to '/about?'.
6 2023-05-03T16:28:32.9630584Z Debug Request - Response code received: 'OK'
7 2023-05-03T16:28:32.9640588Z Debug Repository responded with OK.
8 2023-05-03T16:28:32.9650658Z Info Fetch Metadata Mode:
9 2023-05-03T16:28:32.9650658Z Debug Running Fetch Metadata from command line.
10 2023-05-03T16:28:32.9700603Z Debug Request - Ready to send request: 'GET' to '/servicecluster/full?'.
11 2023-05-03T16:28:32.9770596Z Debug Request - Response code received: 'OK'
12 2023-05-03T16:28:33.0180580Z Debug Trying to get metadata binary file: \\QS01\Nodes$\TelemetryDashboard\metadata.tdm
13 2023-05-03T16:28:33.0220573Z Info Getting system info from About Service on port 9032.
14 2023-05-03T16:28:33.0220573Z Debug Request - Ready to send request: 'GET' to '/v1/systemInfo?'.

Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: O. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at qs_telemetry_dashboard.MetadataFetch.MetadataFetchRunner.GetAboutServiceInfo(TelemetryMetadata telemetryMetadata)
at qs_telemetry_dashboard.MetadataFetch.MetadataFetchRunner.Run(Int32 engineRequestTimeoutMS)
at qs_telemetry_dashboard.TelemetryDashboardMain.Main(String[] args)

I started from scratch and reinstalled and checked everything.

When I ran the tasks, I got the same error. The engineInfos.csv file does not exist anywhere on the system. This is a single node implementation.

023-05-03 16:42:15 0527 [node_list]:
2023-05-03 16:42:15 0528 LOAD DISTINCT
2023-05-03 16:42:15 0529 Upper([Hostname]) AS [Node Name]
2023-05-03 16:42:15 0530 FROM '[lib://TelemetryMetadata/engineInfos.csv]' (txt, utf8, embedded labels, delimiter is '`')
2023-05-03 16:42:15 Error: Cannot open file: 'lib://TelemetryMetadata/engineInfos.csv' (Native Path: ***
2023-05-03 16:42:15 System error: ***)
2023-05-03 16:42:15 Execution Failed
2023-05-03 16:42:15 Execution finished