首页 > 解决方案 > 远程主机强制关闭现有连接 [BigChainDB]

问题描述

使用 bigchaindb 时出现此错误

我正在关注此文档: https ://docs.bigchaindb.com/projects/py-driver/en/master/usage.html

当我输入这一行时,我得到了这个错误,

sent_creation_tx = bdb.transactions.send_commit(fulfilled_creation_tx)

在那之前的一切都很好。不知道下一步怎么走

标签: python-3.xbigchaindb

解决方案


这取决于“远程主机”是什么。

您要发送到fulfilled_creation_tx哪里?到本地机器 (localhost) 上的 BigchainDB 节点?到 BigchainDB 测试网?别的地方?该问题的答案将决定您的“BigchainDB Root URL”。这是一个页面,可帮助您确定您的案例中的 BigchainDB 根 URL:http: //docs.bigchaindb.com/projects/py-driver/en/latest/connect.html


推荐阅读