Security

server.conf crossOriginSharingPolicy url format

BernardEAI
Communicator

I'm trying to set up some HTTP Origins for which to return Access-Control-Allow-* (CORS) headers. According to the Splunk documentation, I need to add these to the [httpServer] stanza of the server.conf file, under the crossOriginSharingPolicy heading. I'm getting a problem when the url has a slash in it, like:

https://address.test.frontend.aws.cloud/network

Splunk raises an error during server start, with the following message:

ValueError: invalid literal for int() with base 10

I think the issue is due to the slash in the url, I tested removing the /network part and the server started fine.

 

 

Labels (1)
Tags (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Why do you need the /network part - shouldn't this just be a server address rather than access path?

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Why do you need the /network part - shouldn't this just be a server address rather than access path?

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 ...