Internal Server Error

Good morning,

can anybody help me troubleshooting this error?

“Internal Server Error”

REQUEST:

Request details

Url ttps://dss.trenitalia.it:64056//query
Method POST
Content-Type application/json
Accept application/json, text/plain, /

Request parameters

panelId 1
range { “from”: “2017-08-25T03:30:03.137Z”, “to”: “2017-08-25T09:30:03.137Z”, “raw”: { “from”: “now-6h”, “to”: “now” } }
rangeRaw { “from”: “now-6h”, “to”: “now” }
interval "15s"
intervalMs 15000
targets [ { “type”: “timeserie” } ]
format "json"
maxDataPoints 1366
scopedVars { “__interval”: { “text”: “15s”, “value”: “15s” }, “__interval_ms”: { “text”: 15000, “value”: 15000 } }

RESPONSE:

TypeError: Cannot read property ‘fleet’ of undefined
   at /hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/start.js:239:141
   at Layer.handle [as handle_request] (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/layer.js:95:5)
   at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/route.js:131:13)
   at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/route.js:125:14)
   at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/route.js:125:14)
   at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/route.js:125:14)
   at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/route.js:125:14)
   at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/route.js:125:14)
   at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/route.js:125:14)
   at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/0cefb663-3835-43e1-8d1a-217a235e753d/app/node_modules/express/lib/router/route.js:125:14)

Kind regards,
Tommaso

Looks like an exception on the backend of your data source. Is that your own custom data source?

Hi daniellee,

I copied a custom simple-json data source on the local grafana path:
C:\Grafana\grafana-4.4.1\public\app\plugins\datasource\simple-json-datasource
and also to: C:\Grafana\grafana-4.4.1\data\plugins\simple-json-datasource

another package “dmms-grafana-copy” has been deployed on the remote server (XSA Hana Server) where grafana is connected to. Two apps have been created with an https address and a port.
I put the url address on the grafana datasourse configuration.
The connection is working!
The dashboard is not working :frowning:

Really hard to say what the problem is as these are custom plugins with custom code. It looks like a bug in your data source or in "dmms-grafana-copy”. Did you write the plugin/backend for XSA Hana Server? If not, then maybe the author of the plugin or backend can help you?

1 Like