合同操作被取消 [英] Contract operation was canceled

查看:71
本文介绍了合同操作被取消的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

我创建了一个简单的Blockchain Workbench应用程序,并上传了Hello Blockchain和Asset Transfer应用程序。我设法为这些应用程序创建了一个合同并使用它们。 

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. 

我收到了来自azure的建议,以缩小我的VM,
我完成了

On  2019-APR-16 [15:00]我在我的资产转移应用程序中创建了一个新合同,其中包含以下消息:

这可能需要一些时间。您的管理员可以使用RequestId c348ce23-4e3e-4974-bb6f-ec51b3a68e26在Application Insights中查找详细信息。 

第二天[ 2019-APR-17 ]消息仍然存在, 

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

    >
  • 我使用RequestId查询Application Insights中的消息
  • 我点击了LogLevel来过滤掉消息并专注于Error。 2错误消息显示在2019-04-17 [07:50],并显示消息"连接被拒绝"。之后有关于气体估算和"从以下地址发送交易到:来自:0xXXXXXXXXXXXXXXXXXXXXXXXXXXXX; ......"的信息消息的
    a信息消息。
  • 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 ](今天)我注意到消息已经不在了,但是没有创建合约
。 

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

使用与以前相同的RequestId我尝试查找一些错误并过滤掉我发现的信息消息:

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

是否可以调整我的VM的大小?

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

创建Hello Blockchain合约的行为与上述相同。

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

推荐答案

您好,

如果您不那么多地使用您的虚拟机,Azure顾问会建议缩小。但是,根据Workbench的设计,我们不建议在部署后对SKU进行任何更改。目前尚不清楚缩小是否与取消的操作有关,根据
来限制日志。我们建议您拆除现有部署,创建一个新部署并重试。

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.


这篇关于合同操作被取消的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆