All Apps and Add-ons

What does htmlinjectiontoolfactory error in my web_service.log mean?

eugenek
Path Finder

Seeing a bunch of there errors:

htmlinjectiontoolfactory:81 - HTML injection tool factory error: Failed to inject hook in the response.

Best I can tell, it has something to do with DB Connect.

There is an associated error in splunk_app_db_connect_dbx.log:

[htmlinjectiontoolfactory.py], line 81 : HTML injection tool factory error: Failed to inject hook in the response.

And appears to be associated with embed requests, based on searching for requestid which is present in the first error.

0 Karma

mbadhusha_splun
Splunk Employee
Splunk Employee

I see that this is a known issue which was reported for Splunk 6.6.x version and is fixed in Splunk 7.1.0.

Below is the reference number for the same.

SPL-140507

The above reference number wasn't publicly documented. It appears that is was only reported as an internal defect.

I could recreate the 404 error in my test environment and I then looked to compare permissions and capabilities my instances but there wasn't really anything of note.

But it might not be the case always. Looks like when the Splunk GUI on the search head is hitting a forbidden page this known issue is being hit on the search head.

Hope the above helps!

0 Karma

eugenek
Path Finder

Thanks. We're on 7.0.2, so I'll let you know if going to 7.2.4 will fix it.

0 Karma
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...