Splunk Enterprise

Splunk Enterprise 10.0.0 unable to "browse more apps"

ww9rivers
Contributor

I am running Splunk Enterprise 10.0.0 on Rocky Linux 9.6 with a developer license.

When I try to "Browse more apps" to install an app directly from Splunkbase, I get this in Chrome and Edge:

Unexpected token '<', "<?xml vers"... is not valid JSON

 In Firefox, the message becomes "JSON.parse: unexpected character at line 1 column 1 of the JSON data"

I can download apps from Splunkbase and then install them from files. But this is kinda annoying!

Anyone else seeing this issue?

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust
At least some ARM / Apple silicon beta has some app management issues. Maybe there is something similar in some cases. So if those change browser / disable extensions didn't help you, you should create a support ticket to Splunk.
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @ww9rivers 

Using the developer tools/console in your browser, under the network tab are you able to see if any pages return a non 200 response? If so whcih are these and does the payload provide any further info/errors?

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma

ww9rivers
Contributor

I checked the Network pane in the DevTools, this seems to be the request that failed:

GET https://<MYHOSTNAME>:8000/en-US/splunkd/__raw/services/appsbrowser/v1/app/?order=latest&offset=0&include=release%2Crelease.manifest%2Ccategories%2Ccreated_by%2Cicon%2Cdownload_count&limit=20

The response code is 502, a small XML body, with this message:

Error connecting: error:0A000086:SSL routines::certificate verify failed - please check the output of the `openssl verify` command for the certificates involved; note that if certificate verification is enabled (requireClientCert or sslVerifyServerCert set to "true"), the CA certificate and the server certificate should not have the same Common Name.

 I ran openssl verify:

echo | /app/splunk/bin/openssl s_client -connect <MYHOSTNAME>:8000 | /app/splunk/bin/openssl verify -CAfile /app/splunk/etc/auth/cacert.pem

That verifies OK.

The MYHOSTNAME is resolved with the `/etc/hosts` file on the host. And that does show it resolved OK in the browser DevTools.

I guess this is a problem local to the host itself, as the GET request is likely trying to get a list of apps installed. But it is unclear what it is.

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust
0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@ww9rivers 

Some users have resolved this by switching to Firefox or disabling problematic Chrome extensions (like ad blockers or privacy tools) that interfere with Splunk Web's JSON handling

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!

ww9rivers
Contributor

Thank you for the response.

I have not tried disabling extensions in Chrome. But I do not have any extensions in Edge, and I ran Firefox in Private mode. So I am not sure this is the issue.

By the way, those were done on my work laptop with the same browsers I use for work where Splunk runs in the cloud, the version is 9.3.2411.112. I don't have the same issue there.

That does remind me to try using my personal PC. I tried Edge there (Private window, no extension). The same error. I installed Chrome fresh on that PC . . . the same error.

0 Karma

nathans7
New Member

I had this same issue aswell. In my case, I was messing around with IPTABLES on the host that was running splunk, and by flushing and resetting iptables I ruined the network connection. 

 

If you run splunk through docker, this fix is very easy. You can just restart docker (sudo systemctl restart docker) and it should reconfigure automatically.

 

I didn't dive into doing this bare metal, but I hope this points someone in the right direction!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...