asummers
asummers

Reputation: 177

Javascript error with XPages application

I look after an application based on XPages that some users are having trouble with. There is a random Javascript error on some of the pages that only resolves itself when the pages are reloaded. I managed to get a screen shot of the error message on Internet Explorer - it's the warning triangle you see when there's a JS error.

Clicking on the message in IE, I am told there is a syntax error in the following URL:

http://cdncache2-a.akamaihd.net/loaders/1036/l.js?aoi=1311798366&pid=1036&zoneid=74570

I have no idea what this is?! It's not a resource that is linked to on my application. The XPage app is on an internal company server, runs fine for me but users in Germany regularly get this.

I tried to find out about the URL but haven't found anything solid on google yet. Some sites hint at Proxies however. So I checked my IE settings for LAN and found I am not using a proxy, and the option to bypass a proxy for LAN addresses is greyed out. I got the people in Germany to confirm they also have the same setting as me.

Can anyone give any clues as to why this JS error is coming up on the application?

Upvotes: 1

Views: 455

Answers (1)

stwissel
stwissel

Reputation: 20384

The tool you want to use is CURL. Using that you get the source code of the JS that gets loaded. If the code messes up the DOM then local JavaScript will fail. I would second Sven's suspicion that it is an addon. The question is: a planned or an unplanned one. You might want to entertain a HTTP Debugger to see what is going on on the wire. TCPMon from Apache is free and cross platform. Fiddler is free but Windows only and Charles is Shareware cross platform. The later two can debug HTTPS too. Let us know the findings

Upvotes: 1

Related Questions