Function suddenly stopped working

Artem 20 Reputation points
2023-08-15T09:02:08.7766667+00:00

hi everyone, for some reason azure stopped executing code. Before everything worked, there were no changes. just took it and stopped working. Checked up by the local machine - everything is OK. when executing this part of the function code, azure just hangs and doesn't throw any error.

var receiptSending = await functionPermit.SendTransactionAndWaitForReceiptAsync(                         playerWeb3Account.Address,                         new HexBigInteger(estimatePermit.Value),                          new HexBigInteger(Nethereum.Web3.Web3.Convert.ToWei(gasPrice, UnitConversion.EthUnit.Gwei)),                          null,                          System.Threading.CancellationToken.None,                         functionPermitValues.ToArray()                     );
                        playerWeb3Account.Address,
                        new HexBigInteger(estimatePermit.Value),
                        new HexBigInteger(Nethereum.Web3.Web3.Convert.ToWei(gasPrice, UnitConversion.EthUnit.Gwei)),
                        null,
                        System.Threading.CancellationToken.None,
                        functionPermitValues.ToArray()
                    );

Any idea why it suddenly stopped working?

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

1 answer

Sort by: Most helpful
  1. Ryan Hill 28,106 Reputation points Microsoft Employee
    2023-08-17T01:26:57.5233333+00:00

    I'm sorry @Artem but there isn't enough provided information for the community to best help you. What you need to do is monitor you function app so you can check for memory allocation, high CPU and unhandled exceptions. Have a look at this blog post for additional information.

    The additional logging and telemetry will help determine your issue, but if you need additional assistance, feel free to comment down below with the telemetry results.

    0 comments No comments

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.