Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] time-series graphs breakage - dashboard separate from central MA - Content Security Policy js?

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] time-series graphs breakage - dashboard separate from central MA - Content Security Policy js?


Chronological Thread 
  • From: John Hess <>
  • To:
  • Subject: [perfsonar-user] time-series graphs breakage - dashboard separate from central MA - Content Security Policy js?
  • Date: Fri, 28 Jul 2017 09:37:00 -0700
  • Authentication-results: postfix-1.cenic.org; dmarc=none (p=none dis=none) header.from=cenic.org
  • Dkim-filter: OpenDKIM Filter v2.11.0 postfix-1.cenic.org 27534E043C
  • Dkim-filter: OpenDKIM Filter v2.11.0 postfix-1.cenic.org 1E42DE0071
  • Ironport-phdr: 9a23:8MtcEhwuERem8bTXCy+O+j09IxM/srCxBDY+r6Qd2+oSIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHolCgJODE2/nzUhMJ+kqxVpwmspwBmw47RfI2VNOZyc6HbcNgHRWRBRMFRVylZD424aIsPD+wBNvtaoYbjvFsOtga1CA6uBOPv1DBInWT20LYm3Os/FwHG3RAvE8gJsHTOo9X4LaEfWv27wqnPyDXMdfJW2THl5YjGaR8tu/SMUqxofcvfyUkgDR/Fj1ufqYD/ODOVzOsNv3CH4OV+U+KvinIopxt3ojex2scgkobJhoMJylDE6CV225w5KsG/SE5+Z9OvDZhetzmCOodoXs8vQXtktSckxrEcupO3YDIGxZonyhLHdvCKfYqF7gj+WOuQLjp0nm9pdK6iixqo7EStxevxXdSu3llQtCpKiNzMu2gN1xPN7siHTeNw/l+m2TaUywDT5OBEIE8tmabGMZIu3qA/lpwSsUvfBCP2n1/2jKCOekUl/Oin9fjnb634qpOANYJ4kADzPro0lsG8Heg0KAYDUmiD9eS5zrLj/En5QLtQjv0xl6nUqJLaJcQFqa6iGA9YyZos5Ai5DzenzNsUh34HLEhKeB6flYjmJ0nOIOzkDfe4m1msiClkx+rIPr36BZXNKGLMkK34cbZg8E5T1hAzwMtb55JVEbEBPOnzVlHruNzZCB85LxK7w/zhCNpjyoMSR3iDDbGEP6PP4he04bc3LvOCf4gTsSy4NuMo/dbvi2M0g1kQYfPv0JcKO16iGfEzAUKZZzLMj8waWTMIvgclV8ThhVuDWnhUfXnkDPF03S0yFI/zVdSLfYuqmrHUhCo=

hi,

i recently separated our central esmond MA to a distinct physical server,
ps-ma-lax.cenic.net, from the host (VM) on which our pS MaDDash is running,
ps-dashboard.cenic.net. the time-series graphs had been working well — up
until they stopped working a day or two ago.

i am tracking perfsonar-staging on both systems w/auto-updates enabled. the
dashboard VM has pulled in perfsonar-graphs 4.0.1 v0.1.rc1.el6. (after
clearing browser data) within the browser -> Graph pane, the region which
would otherwise display the graphs now displays this error:

Error loading data
Error retrieving data
Can’t connect to ps-ma-lax.cenic.net:443 (connect: Network is unreachable)

the (Chrome browser) javascript console log has these entries:

dojo.js:15 [Deprecation] Synchronous XMLHttpRequest on the main thread is
deprecated because of its detrimental effects to the end user's experience.
For more help, check https://xhr.spec.whatwg.org/.
req.getText @ dojo.js:15
jquery.min.js:6 Refused to connect to
'https://ps-ma-lax.cenic.net/esmond/perfsonar/archive/?source=ps-svl-10g.cenic.net&destination=melange.noc.ucdavis.edu'
because it violates the following Content Security Policy directive:
"default-src 'self' ". Note that 'connect-src' was not explicitly set, so
'default-src' is used as a fallback.

send @ jquery.min.js:6
jquery.min.js:6 Refused to connect to
'https://ps-ma-lax.cenic.net/esmond/perfsonar/archive/?source=melange.noc.ucdavis.edu&destination=ps-svl-10g.cenic.net'
because it violates the following Content Security Policy directive:
"default-src 'self' ". Note that 'connect-src' was not explicitly set, so
'default-src' is used as a fallback.

send @ jquery.min.js:6
/perfsonar-graphs/cgi-bin/graphData.cgi?action=ma_data&url=https%3A%2F%2Fps-ma-lax.cenic.net%2Fesmond%2Fperfsonar%2Farchive%2F%3Fsource%3Dps-svl-10g.cenic.net%26destination%3Dmelange.noc.ucdavis.edu
Failed to load resource: the server responded with a status of 500 (Internal
Server Error)
/perfsonar-graphs/cgi-bin/graphData.cgi?action=ma_data&url=https%3A%2F%2Fps-ma-lax.cenic.net%2Fesmond%2Fperfsonar%2Farchive%2F%3Fsource%3Dmelange.noc.ucdavis.edu%26destination%3Dps-svl-10g.cenic.net
Failed to load resource: the server responded with a status of 500 (Internal
Server Error)
bundle.js:10315 Warning: Each child in an array or iterator should have a
unique "key" prop. Check the render method of `ChartHeader`. See
https://fb.me/react-warning-keys for more information.
warning @ bundle.js:10315

——

i did not find a good match for the symptom among the open perfsonar/graphs
issues on GitHub:

https://github.com/perfsonar/graphs/issues

though closed issue #85 ‘Add security headers for graphs’ looked interesting.


thanks,

john




Archive powered by MHonArc 2.6.19.

Top of Page