Dashboards & Visualizations

SPLUNK 5.0.2 / Javascript SDK : Server Error 500 - Examples & Browsertests

Rocket66
Communicator

Dear all,

this question is not answered in a sensefull way (for me).
So I try to do it once again. 🙂

Using Splunk 5.0.2 / Javascript SDK v1.1.0 on a windows system.
NodeJS is installed and working fine.
Definition (Port 8089 set correctly to the splunk instance & other credentials OK)
I've tested this via PHP SDK using curl - all fine.

When using the examples or the "tests.browser.html" (http://localhost:6969/tests/tests.browser.html) to check the connection, this fails with following error:

"NetworkError: 500 Internal Server Error - http://localhost:6969/proxy/services/auth/login?output_mode=json"

I can browse "https://localhost:8089/services/" but with a certification warning - might this be a problem for NodeJS and the SSL-Connection?

I don't have any idea, what's wrong.
Any ideas, solutions, hint?

Best regards, Robert

0 Karma
1 Solution

Rocket66
Communicator

Problem solved!

USING Version 0.8.9 (Stable) of NodeJS did it!!!

View solution in original post

rolf_sommerhald
Explorer

Is there any progress with that fix for Node 0.10.x? When can we expect an updated SDK? Thanks.

Rocket66
Communicator

Problem solved!

USING Version 0.8.9 (Stable) of NodeJS did it!!!

Neeraj_Luthra
Splunk Employee
Splunk Employee

Great! Node.js 0.10 just came out and the change around SSL checking has made it incompatible with the Splunk JavaScript SDK. We are looking into fixing it but until then, use 0.8.x if possible.

0 Karma

Rocket66
Communicator

I'm using the latest/current Version: v0.10.0 (for Windows 64bit)

0 Karma

ineeman
Splunk Employee
Splunk Employee

What version of Node do you have installed?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...