Security

"splunkjs/6.6.js was not found" error messages when launching custom application on Splunk 6.5.2

lkoniecki
Engager

Hello,

I have a problem running my application on Splunk 6.5.2 (it is working on 6.3.9 and 6.4.5).

When I open application there is a "Loading Results..." message forever and no results are being shown. There are errors in the web_access and web_service log files.

Error:

2017-02-20 19:38:52,360 INFO     [58ab37bc5b7f1b9c6f3fd0] error:138 - Masking the original 404 message: 'The path '/en-us/static/@undefined/build/splunkjs/6.6.js' was not found.' with 'Page not found!' for security reasons
2017-02-20 19:38:52,391 INFO     [58ab37bc637f1b9c717410] error:138 - Masking the original 404 message: 'The path '/en-us/static/@undefined/build/splunkjs/5.5.js' was not found.' with 'Page not found!' for security reasons
2017-02-20 19:38:52,568 INFO     [58ab37bc907f1bbc18cd90] error:138

Log extract:

>: /opt/splunk/var/log/splunk# tail -f web_access.log web_service.log
==> web_access.log <==
127.0.0.1 - - [20/Feb/2017:19:38:47.528 +0100] "GET /en-US/static/fonts/splunkicons-regular-webfont.woff HTTP/1.1" 200 13792 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/static/splunkjs/css/bootstrap.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37b7877f1b9c717650 4ms
127.0.0.1 - - [20/Feb/2017:19:38:47.531 +0100] "GET /en-US/static/fonts/roboto-light-webfont.woff HTTP/1.1" 200 113972 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/static/splunkjs/css/bootstrap.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37b7887f1b9c717850 11ms
127.0.0.1 - - [20/Feb/2017:19:38:47.532 +0100] "GET /en-US/static/fonts/roboto-regular-webfont.woff HTTP/1.1" 200 114536 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/static/splunkjs/css/bootstrap.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37b7887f1bbc09d2d0 10ms
127.0.0.1 - - [20/Feb/2017:19:38:47.527 +0100] "GET /en-US/static/app/DCRUMSplunkApplication/about-graphic.png HTTP/1.1" 200 6704 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/en-us/DCRUMSplunkApplication/dataSources/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37b7877f1b9c717110 17ms
127.0.0.1 - - [20/Feb/2017:19:38:47.549 +0100] "GET /en-US/static/fonts/roboto-bold-webfont.woff HTTP/1.1" 200 117092 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/static/splunkjs/css/bootstrap.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37b78c7f1b9c717e50 3ms
127.0.0.1 - - [20/Feb/2017:19:38:51.626 +0100] "GET /en-us/static/@undefined/img/skins/default/loading_medium_green.png HTTP/1.1" 200 1433 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/en-us/DCRUMSplunkApplication/dataSources/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37bba07f1b9c6f3e50 3ms
127.0.0.1 - - [20/Feb/2017:19:38:51.630 +0100] "GET /en-us/static/@undefined/img/skins/default/loading_medium_green_2x.png HTTP/1.1" 200 2650 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/en-us/DCRUMSplunkApplication/dataSources/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37bba17f1b9c717110 3ms
127.0.0.1 - - [20/Feb/2017:19:38:52.357 +0100] "GET /en-us/static/@undefined/build/splunkjs/6.6.js HTTP/1.1" 404 3189 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/en-us/DCRUMSplunkApplication/dataSources/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37bc5b7f1b9c6f3fd0 4ms
127.0.0.1 - - [20/Feb/2017:19:38:52.387 +0100] "GET /en-us/static/@undefined/build/splunkjs/5.5.js HTTP/1.1" 404 3189 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/en-us/DCRUMSplunkApplication/dataSources/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37bc637f1b9c717410 5ms
127.0.0.1 - - [20/Feb/2017:19:38:52.565 +0100] "GET /en-us/static/@undefined/build/splunkjs/3.3.js HTTP/1.1" 404 3189 "http://gdnv117905spl1.lab.dynatrace.org:8000/dj/en-us/DCRUMSplunkApplication/dataSources/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0" - 58ab37bc907f1bbc18cd90 4ms

==> web_service.log <==
2017-02-20 19:38:00,942 INFO     [58ab3788f07f1bbc409850] cached:77 - memoized decorator used on function <function getEntities at 0x7f1bc0f42050> with non hashable arguments
2017-02-20 19:38:00,963 INFO     [58ab3788f07f1bbc409850] cached:77 - memoized decorator used on function <function getEntities at 0x7f1bc0f42050> with non hashable arguments
2017-02-20 19:38:01,047 WARNING     [58ab3788f07f1bbc409850] appnav:385 - An unknown view name "redirect" is referenced in the navigation definition for "DCRUMSplunkApplication".
2017-02-20 19:38:01,048 INFO     [58ab3788f07f1bbc409850] cached:77 - memoized decorator used on function <function getEntities at 0x7f1bc0f42050> with non hashable arguments
2017-02-20 19:38:01,120 WARNING     [58ab3788f07f1bbc409850] appnav:385 - An unknown view name "redirect" is referenced in the navigation definition for "DCRUMSplunkApplication".
2017-02-20 19:38:01,145 INFO     [58ab3788f07f1bbc409850] view:1109 - PERF - viewType=modules viewTime=0.1053s templateTime=0.077s
2017-02-20 19:38:47,342 INFO     [58ab37b7567f1b9c703090] error:138 - Masking the original 404 message: 'The path '/en-US/static/app/DCRUMSplunkApplication/favicon.ico' was not found.' with 'Page not found!' for security reasons
2017-02-20 19:38:52,360 INFO     [58ab37bc5b7f1b9c6f3fd0] error:138 - Masking the original 404 message: 'The path '/en-us/static/@undefined/build/splunkjs/6.6.js' was not found.' with 'Page not found!' for security reasons
2017-02-20 19:38:52,391 INFO     [58ab37bc637f1b9c717410] error:138 - Masking the original 404 message: 'The path '/en-us/static/@undefined/build/splunkjs/5.5.js' was not found.' with 'Page not found!' for security reasons
2017-02-20 19:38:52,568 INFO     [58ab37bc907f1bbc18cd90] error:138

Have anyone experienced similar problems? What could be a reason of such errors?

Thanks in advance!

Regards,
luke

lkoniecki
Engager

I've found the answer yesterday. We are using Django, which apparently is not fully supported in 6.5 anymore.

Splunk 6.5 is not run django app?)
Django Bindings Deprecation Notice

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...