Hi, we keep getting error related to bugsnag `XHR...
# support
p
Hi, we keep getting error related to bugsnag
XHR error POST https://sessions.bugsnag.com/
and
%c RS SDK %c PluginsManager:: Bugsnag Failed to fetch dynamically imported module: https://cdn.rudderlabs.com/v3/modern/plugins/rsa-plugins-remote-Bugsnag.min.js font-weight: bold; background: black; color: white; font-weight: normal;
even though we’ve never set up any bugsnag integration. How does Rudderstack work with bugsnag and how do we stop getting these errors?
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
p
searching around on slack, it seems like it should be disabled by v3 but we’re using that
sdkBaseUrl="https://cdn.rudderlabs.com/v3"
and we’re still getting these errors. fwiw we are self-hosted
m
Yes, it should be disabled in V3. Can you provide the Workspace Id, I will try to disable on my side
p
@shy-kite-21035 where can i see the workspace id? fyi we’re self hosted, not sure if that matters?
separately, looks like we occasionally get issues with all of these plugins, most of which i don’t recognize
m
It does, you still pull the config from api.rudderstack.com
p
i get a “not found” when i go to that page
m
p
sorry, what are you referring to right now?
is this in relation to bugsnag?
or in relation to the other errors i see
m
Actually both. Since bugsnag is also a plugin and can be managed.
p
i don’t know what these other plugins are, so not sure which ones are safe to exclude?
m
Oh ok. You can checkout the definitions here
p
yeah i saw that
but i don’t know how rudderstack uses these
but in any case
seems like if i hardcode the plugins field, i can exclude Bugsnag so that won’t be used
but the screenshot earlier that i shared shows all of them failing
so i wonder what happens such that all of them could fail?
also, just want to confirm, this line of code works:
Copy code
window.rudderAnalyticsMount()}window.rudderanalytics.load("2ZEbiPkL0TjdhbeNQcTGGa4G3r4","https://certainlyhkphw.dataplane.rudderstack.com",{plugins: ["BeaconQueue", "DeviceModeDestinations", "ErrorReporting", "ExternalAnonymousId", "GoogleLinker", "NativeDestinationQueue", "StorageEncryptionLegacy", "StorageEncryption", "StorageMigrator", "XhrQueue", "OneTrustConsentManager", "KetchConsentManager"]})}();
m
Yes are you calling `window.rudderanalytics = rudderanalytics`⁣ ?
p
idk i just used the auto generated code
m
Oh ok.
Is there any ad-blocker that prevents the rudder SDK from loading?
p
i mean its possible that a user who visits our site has an ad blocker. it’s a consumer site
btw does the above code work to at least disable bugsnag?
m
It should. Why don't you use the legacy SDK and I will disable bugsnag for you. While we try to figure out the issue.
p
what exactly do i need to do?
m
What is your account email?
p
m
This email seems to be linked only to a free account and not a self-hosted account.
p
oh sorry
i wass thinking about a different integration
lol so sorry about that
no wonder i couldn’t find the workspace id lol, was looking in the wrong app
workspace id: 2ZEJzBzEDP29GYqrkTPZHpwpAIX
m
I have disabled Bugsnag for you. You should be able to use the legacy SDK code and not see any bugsnag errors.