Weird Exception in App Service

Mike-E-angelo 476 Reputation points
2022-04-30T22:12:56.93+00:00

Hi All,

I am seeing a weird intermittent exception in my logs:

Microsoft.JSInterop.JSException: jQuery is not a function
TypeError: jQuery is not a function
    at Module.NewDocumentElement (https://<id>.azurewebsites.net/_content/DragonSpark.Presentation//Environment/Browser/Document/DocumentElement.js:12:32)
    at https://<id>.azurewebsites.net/_framework/blazor.server.js:1:3501
    at new Promise (<anonymous>)
    at kt.beginInvokeJSFromDotNet (https://<id>.azurewebsites.net/_framework/blazor.server.js:1:3475)
    at https://<id>.azurewebsites.net/_framework/blazor.server.js:1:72001
    at Array.forEach (<anonymous>)
    at kt._invokeClientMethod (https://<id>.azurewebsites.net/_framework/blazor.server.js:1:71987)
    at kt._processIncomingData (https://<id>.azurewebsites.net/_framework/blazor.server.js:1:70029)
    at vt.connection.onreceive (https://<id>.azurewebsites.net/_framework/blazor.server.js:1:64432)

What's weird about this is the root URI where this exception is occurring, and I want to verify this. I have my .azurewebsites.net seen above, but it also is forwarded to a custom domain. According to the exception message, it appears this is occurring in the azurewebsites.net location, but I cannot verify this. I am looking in the event log and it does not say which URL this occurs in.

When an exception occurs, is there some way of seeing what the requested URI/host was when this occurred?

To further round this out, what's weird about this is that if this indeed occurring in my .azurewebsites.net address, that is entirely unexpected and a little worrisome, as I have never broadcasted this URI and I am wondering how someone might find this. The only address I have advertised is the custom domain, and I am worried if my .azurewebsites.net address is somehow being leaked somewhere with my configuration.

Thank you for any assistance you can provide,
Michael

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,902 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Mike-E-angelo 476 Reputation points
    2022-06-30T13:34:23.707+00:00

    Got another request to my azurewebsites.net address, this time with a bitdiscovery UserAgent

    https://bitdiscovery.com/

    Is this a known partnership with Azure or something, perhaps?

    0 comments No comments