Skip to content
← Back to activity

Public problem

LaunchDarkly js client Error: Failed to execute 'send' on 'XMLHttpRequest' analytics gif request

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

Occasionally the LaunchDarkly JS client throws "Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://events.launchdarkly.com/a/*.gif" when requesting the analytics gif. The reporter asked why the SDK even requests the gif. The error appeared only in Firefox.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

The error was caused by a popup blocker in Firefox interfering with the analytics gif request. Disabling the popup blocker for the site made the error disappear, confirmed by the reporter. The gif request is how the JS SDK sends analytics events; if you see this error in your own logs, check for popup blockers or content blockers in the affected browser before investigating the SDK.

Source: https://github.com/launchdarkly/js-client-sdk/issues/126

Source: https://github.com/launchdarkly/js-client-sdk/issues/126