Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Network Request Failed

jchabot86
Level 2
Level 2

We are noticing that a lot of our users seem to hit a "network request failed" when bringing the at.js file into a React web application:

jchabot86_0-1619453958362.png

 

This is a screenshot of the error we are detecting.  What is the typical cause of this?  Can it be security settings on the browser?  Is there a workaround?

 

6 Replies
LordOfTheRings
Level 6
Level 6

Hi @jchabot86  are you connected with some proxy ?

can you try checking this with some open network ?

jchabot86
Level 2
Level 2
It's not me personally...its our users that we see hitting this issue. Are you thinking they may be using some sort of VPN or proxy?
rush_pawan
Community Advisor
Community Advisor

Hello,

 

at.js can be accessed from any application or website until unless it has supported environment setup and has authorized setting related to account.

now, can you plz share more details...

1. can you share network log or console error

2. where is your at.js file located and how you are referring at.js in react app??

3. who is your user, is it internal users (inside vpn) or your end user?

 

 

thanks!!

jchabot86
Level 2
Level 2

Personally, I do not get the error, but a lot of our end users do seem to get the error.  Unfortunately, I am unable to get their actual console logs. 

A realtime user monitoring tool we use is detecting that this error is occurring for multiple users.

 

2. where is your at.js file located and how you are referring at.js in react app??

Loading of script (from public folder)/targetpageParams:

jchabot86_0-1619533709951.png

 

Function to execute getOffer()

jchabot86_0-1619533829129.png

 

3. who is your user, is it internal users (inside vpn) or your end user?

End user - we don't have direct contact with our end users unfortunately.

 

If the above code looks good - then I'm looking for tips/advice as to what is the probable cause of this issue.

jchabot86
Level 2
Level 2

To add onto that, if I run Firefox in "strict" mode: I am able to replicate it:

jchabot86_1-1619534523635.png

 

jchabot86
Level 2
Level 2

Personally, I do not get the error, but a lot of our end users do seem to get the error.  Unfortunately, I am unable to get their actual console logs.  A realtime user monitoring tool we use is detecting that this error is occurring for multiple users.

 

2. where is your at.js file located and how you are referring at.js in react app??

Loading of script (from public folder)/targetpageParams:

jchabot86_2-1619530856445.png

 

 

Function to execute getOffer()

jchabot86_1-1619530652561.png

 

 

3. who is your user, is it internal users (inside vpn) or your end user?

End user - we don't have direct contact with our end users unfortunately.

 

If the above code looks good - then I'm looking for tips/advice as to what is the probable cause of this issue.