Azure Function in .Net errors -The system detected an invalid pointer address in attempting to use a pointer argument in a call

Maria Nikolova 31 Reputation points
2022-11-23T03:38:22.47+00:00

Hi, I have an Azure Function in .Net that connects to Mongo Atlas to download logs. It is deployed in Azure. The function makes multiple calls to Atlas in a raw. It was working fine until about two weeks ago and then started showing an error like -
tackTrace...: at System.Net.HttpWebRequest.GetResponse() at DownloadMongoAtlasLogs.MongoAtlasLogsDlownloader.RunProcess(Uri uri, CloudStorageAccount account, String containerName, String blobName, ILogger log) in D:\a\1\s\DownloadMongoAtlaslogs\MongoAtlasLogsDlownloader.cs:line 155
2022-11-23T02:27:47Z [Information] CatchMessage...: The system detected an invalid pointer address in attempting to use a pointer argument in a call. [::ffff:54.147.76.65]:443 (cloud.mongodb.com:443)

Could you please share if you encountered that type of error.

Thank you,
Maria

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,398 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,836 Reputation points Microsoft Employee
    2022-11-28T21:53:44.89+00:00

    Hello @Maria Nikolova - Welcome to the MS Q&A, and thanks for posting here!

    One of the possibilities from searching around the error message suggests that this could be due to storage becoming full. Do you have a deletion process through which the older log files from previous downloads get cleaned up?

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.