Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/http/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ubuntu geth遇到问题>&燃气轮机;错误:禁止使用HTTP访问进行帐户解锁_Http_Ethereum_Geth - Fatal编程技术网

Ubuntu geth遇到问题>&燃气轮机;错误:禁止使用HTTP访问进行帐户解锁

Ubuntu geth遇到问题>&燃气轮机;错误:禁止使用HTTP访问进行帐户解锁,http,ethereum,geth,Http,Ethereum,Geth,我正在使用Ubuntu 18.04-3,执行命令时> personal.unlockAccount(web3.eth.accounts[0],null) 我得到以下错误, 我在这里尝试了一些建议() 以及对内部/ethapi/api.go的建议 我把它包括在文件中 --允许不安全的解锁(//我在建议中添加了as,但没有指明放置位置和方式//) 提前感谢您的时间您有位置——允许在错误的位置不安全地解锁。应该是在启动geth instant时 例如: $ geth {--rpc etc your

我正在使用Ubuntu 18.04-3,执行命令时>

personal.unlockAccount(web3.eth.accounts[0],null)
我得到以下错误,

我在这里尝试了一些建议()

以及对
内部/ethapi/api.go的建议

我把它包括在文件中 --允许不安全的解锁(//我在建议中添加了as,但没有指明放置位置和方式//)

提前感谢您的时间

您有位置
——允许在错误的位置不安全地解锁。应该是在启动geth instant时

例如:

$ geth {--rpc etc your other flags} --allow-insecure-unlock