none
Contract operation was canceled RRS feed

  • Question

  • Hi, 

    I created a simple Blockchain Workbench application and I uploaded the Hello Blockchain and Asset Transfer applications. I managed to create a contract for each of these applications and use them. 

    I received a recommendation from azure to scale down my VM's, and I did.

    On 2019-APR-16 [15:00] I created a new contract in my Asset Transfer application which urned the message:

    This may take some time. Your administrator can use RequestId c348ce23-4e3e-4974-bb6f-ec51b3a68e26 to look up details in Application Insights. 

    Next day [2019-APR-17] the message was still there, 

    • I used the RequestId to query the message in Application Insights
    • I clicked on the LogLevel to filter out the messages and focus on the Error ones. 2 Error messages displayed at 2019-04-17 [07:50] with the message ‘Connection refused’. There were a number of Information messages afterwards in regards to the Gas estimation and ‘Send transaction to pool from:0xXXXXXXXXXXXXXXXXXXXXXXXXXXXX;…’.

    On [2019-APR-18] (Today) I noticed that the message was not there anymore but no contract has been created either. 

    Using the same RequestId as before I tried to look for some errors and filtering out the information messages I found:

    Error
    2019-04-18 [10:33:08 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:33:08 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:33:08 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:33:06 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:33:05 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:33:04 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:33:03 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:33:03 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:33:03 AM]
    The operation was canceled.
    eth-tx-submitter
    Host
    System.OperationCanceledException
    Error
    2019-04-18 [10:00:28 AM]
    Connection refused
    eth-tx-submitter
    Host
    System.Net.Sockets.SocketException
    
    

    In the Failures tab I found the following exceptions:

    4/18/2019, 2:53:03 AM
    The operation was canceled.
    Problem Id:System.OperationCanceledException at Nethereum.JsonRpc.Client.RpcClient+<SendAsync>d__17.MoveNext
    4/18/2019, 11:37:03 AM
    The operation was canceled.
    Problem Id:System.OperationCanceledException at Nethereum.JsonRpc.Client.RpcClient+<SendAsync>d__17.MoveNext
    4/18/2019, 2:53:03 AM
    The operation was canceled.
    Problem Id:System.OperationCanceledException at Nethereum.JsonRpc.Client.RpcClient+<SendAsync>d__17.MoveNext

    Could it be the resize of my VM's that made this happen?

    Creating a Hello Blockchain contract behaved the same as the above.

    Thursday, April 18, 2019 11:23 AM

All replies

  • Hi,

    If you don't use your VMs that much, Azure advisor will recommend scaling down. However, per design of Workbench, we do not recommend any change in SKU after deployment. It is unclear though whether the scaling down is related to the canceled operation according to limited logs here. We recommend you to tear down your existing deployment, create a new one and retry.


    Microsoft Azure Blockchain Team

    Monday, April 22, 2019 5:20 PM
    Owner
  • Hi

    We have upgraded Blockchain Workbench application version to 1.7.0 and we were able to create/update contract, but suddenly for last 5 days CreateContractActionRequest is not working, I am getting below error message

    "This may take some time. Your administrator can use RequestId dd15543c-af2b-43e9-a914-76a2ac43e to look up details in Application Insights." 

    When I checked in the application insight failure section, I got below error messages.

    "The operation was canceled.
    Problem Id:System.OperationCanceledException at Nethereum.JsonRpc.Client.RpcClient+<SendAsync>d__17.MoveNext"

    "Failed to add transaction to pool. Exception Error occurred when trying to send rpc requests(s)"

    I am triggering CreateContractActionRequest via logic app

    Below is the JSON format I tried

    {
        "requestId": "442c76e6-2d85-4279-8dbe-2773c497194b",
        "userChainIdentifier": "0x8868362c6b286dd355b3e81fb2d9d4f7107eb367",
        "contractLedgerIdentifier": "0x66e982618b6bf5cdc1baeddb2c70709927b055c5",
        "workflowFunctionName": "IngestTelemetry",
        "Parameters": [
    {
                "name": "Temperature",
                "value": 20
            },
            {
                "name": "Humidity",
                "value": 40
            },
            {
                "name":"Vibration",
                "value":15
           },
            {
                "name": "Timestamp",
                "value":"2019-08-04T18:27:12.9441858Z"
            }
         ],
        "connectionId":1,
        "messageSchemaVersion": "1.0.0",
        "messageName": "CreateContractActionRequest"
    }

    Even in AppService(Website) also, I am facing same issue.

    I did not change anything in azure deployment

    Kindly support me to rectify this issue.


    Friday, August 9, 2019 4:22 AM