Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Browser not reporting requests during local development/localhost

api

#1

Browser Question Template

I can confirm that requests are going out to the New Relic API from the copy/pasted agent. Sessions are being recorded from the deployed app, but not when running locally. The requests are still going out, but there is no record of them on the Browser dashboard.

Both Chrome and Firefox behave the same. So I figure it has something to do with the account configuration. I see no reference to any domain restrictions having been applied. So I am not sure what the issue might be.


#2

Hi, @jneander: When you load the page in your local browser, you might try viewing the page source and confirming that the New Relic Browser agent is present. Look for “NREUM” in a script near the top of the page. Some ad blocking extensions prevent the agent from downloading.


#3

It is confirmed present and reporting through the network in both browsers.


#4

Hi @jneander,

Would you be able to give us a screenshot of the entire contents of one of those POST requests so we can see the details? If you’re not comfortable posting it publicly we can start a ticket for you.


#5

I have https://support.newrelic.com/tickets/395738/ opened for this issue.

The request send to NR is as follows:

Request URL: https://bam.nr-data.net/events/1/5f59fbdda3?a=119513440&sa=1&v=1167.2a4546b&t=Unnamed%20Transaction&rst=10508&ref=http://localhost:3000/courses/28/gradebook
Request Method: POST
Status Code: 200 OK
Remote Address: 162.247.242.20:443
Referrer Policy: no-referrer-when-downgrade
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: http://localhost:3000
Content-Length: 24
Content-Type: image/gif
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 813
content-type: text/plain
Cookie: JSESSIONID=_______________
DNT: 1
Host: bam.nr-data.net
Origin: http://localhost:3000
Pragma: no-cache
Referer: http://localhost:3000/courses/28/gradebook
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
a: 119513440
sa: 1
v: 1167.2a4546b
t: Unnamed Transaction
rst: 10508
ref: http://localhost:3000/courses/28/gradebook
bel.7;1,7,,82t,82t,md,'initialPageLoad,'http://localhost:3000/courses/28/gradebook,1,1,,,!!!!'43b7ebcb-3730-4215-abcd-95c5cf513e4c,'1,21t,21t;2,,3j4,4e,,,'GET,5k,'localhost:3000,'/api/v1/conversations/unread_count,,,1,'3,!!!;2,,3w0,ki,fk,ch,4,5k,5,'/api/v1/courses/28/assignment_groups,,nse,,'4,!!!;2,,3w2,ze,5,1,4,5k,5,'/courses/28/gradebook/user_ids,,u,,'5,!!!;2,1,4vi,aq,228,9e,4,5k,5,'/api/v1/courses/28/users,,41c,,'8,!!!;2,,6yr,8a,,,4,5k,5,'/api/v1/courses/28/custom_gradebook_columns/42/data,,2,,'11,!!!;2,,3w3,1ju,1,2,4,5k,5,'/api/v1/courses/28/custom_gradebook_columns,,2o,,'6,!!!;2,1,3w4,1t2,1ji,149,4,5k,5,'/api/v1/courses/28/modules,,2,,'7,!!!;2,,6s9,bj,4o,5,4,5k,5,8,,niu,,'10,!!!;2,,4vk,1xv,9b,1,4,5k,5,'/api/v1/courses/28/students/submissions,,xbx,,'9,!!!;b,1t1,!,!-1sw,,,,!,4,1si,1,2w,79,,1,5ww,,5

#6

It looks like @cfrankenfield is helping you out in your ticket. Let us know once you get a resolution to that ticket :smiley: