Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Unhandled Promise Rejection: Failed to fetch #697

Closed
vekien opened this issue Jul 21, 2023 · 2 comments
Closed

Unhandled Unhandled Promise Rejection: Failed to fetch #697

vekien opened this issue Jul 21, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@vekien
Copy link

vekien commented Jul 21, 2023

Description

Hello, at my company we have the latest NR PHP Agent and we also have Sentry running, everything has been fine and dandy for well over a year.

Since last week we have started to see the following error in Sentry, a lot:

exception
TypeError: Unhandled Promise Rejection: Failed to fetch
Error fetch POST https://bam.eu01.nr-data.net/resources/1/NRJS-xxx?a=xxx&v=1.236.0&to=xxx%3D%3D&rst=18229&ck=0&s=xx&ref=xxx&st=1689955074052

We are wondering if this is an issue with NR? It only happens when it tries to "fetch" against nr-data, xhr post requests do not error.. It is not 100%, but enough where we have over a thousand reports over the past 7 days.

The issue is originating from the file: https://js-agent.newrelic.com/async-api.30bd804e-1.236.0.min.js

Steps to Reproduce

Not sure I can really provide this as it's inconsistent (but happens for a lot of users) and looks to just be basic "Add PHP Agent and allow Browser Monitoring"

Expected Behavior

I don't expect this error to happen, it did not happen prior to about a week ago.

Relevant Logs / Console output

(n/a)

Your Environment

It's a ECS Docker PHP Env, it happens on all browsers and all operating systems.

Additional context

(n/a)

@vekien vekien added the bug Something isn't working label Jul 21, 2023
@vekien
Copy link
Author

vekien commented Jul 24, 2023

This looks to be the same as newrelic/newrelic-browser-agent#599

@lavarou
Copy link
Member

lavarou commented May 3, 2024

@vekien I confirmed that the New Relic PHP Agent 10.19.0.9 injects the latest Browser Agent (as of today 1.258.0). If this issue still exists, please please follow these steps to create a support case, where a member of our New Relic Support Team will work with you to gather the necessary information securely and help debug your issue. If your subscription level does not include technical support, the other option available is to use New Relic’s community support channel: Explorers Hub. From there, a member of our New Relic Support Team will work with you to gather the necessary information securely and help debug your issue.

@lavarou lavarou closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants