All Apps and Add-ons

proxy configuration for the Workday add on?

sedogar_ews
New Member

I have http_proxy and https_proxy set in my splunk-launch.conf file, and my proxy is set to not require auth for the workday.com URL, but I'm getting 401 errors. Running a trace on the proxy seems to indicate that traffic is never getting to the proxy.

I see errors like this:

2018-04-20 14:16:25,010 ERROR pid=2573
tid=MainThread
file=base_modinput.py:log_error:307 |
Request failed with error code (401),
retries exhausted

I also see this in the ta_workday_workday.log:

2018-04-20 14:21:18,092 INFO pid=4986
tid=MainThread
file=connectionpool.py:_new_conn:758 |
Starting new HTTPS connection (1):
127.0.0.1

Does the 127.0.0.1 indicate that the connectionpool.py is trying to hit localhost instead of the proxy for retrieval?

0 Karma
1 Solution

3thanlewis
Explorer

Part of the Workday Add-on is generated using Splunk's add-on builder app, which includes a module that specifically removes http_proxy/https_proxy environment variables. What you are seeing is the client connecting directly to the Workday API and receiving an HTTP 401 error. Make sure your tenant allows access by OAuth2 clients (https://community.workday.com/AddOnForSplunk) and that the other settings are accurate. The localhost connections are from the Add-on connecting to the local kvstore on your Splunk instance, for managing timestamp checkpoint values.

We are implementing proxy settings right now, expected to be in the next release (currently 0.4.1).

View solution in original post

0 Karma

3thanlewis
Explorer

Part of the Workday Add-on is generated using Splunk's add-on builder app, which includes a module that specifically removes http_proxy/https_proxy environment variables. What you are seeing is the client connecting directly to the Workday API and receiving an HTTP 401 error. Make sure your tenant allows access by OAuth2 clients (https://community.workday.com/AddOnForSplunk) and that the other settings are accurate. The localhost connections are from the Add-on connecting to the local kvstore on your Splunk instance, for managing timestamp checkpoint values.

We are implementing proxy settings right now, expected to be in the next release (currently 0.4.1).

0 Karma

rahutt
New Member

Is there any estimated date for the next release of the Workday Add-on available yet?

0 Karma

rahutt
New Member

I see that proxy settings have now been added - https://splunkbase.splunk.com/app/3783/ (version 0.5.0).

0 Karma

sedogar_ews
New Member

Any idea of when the next release will happen?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...