Comments (32)
看日志没发现什么问题,你现在再运行 iwallet state 有返回吗?如果没有,那 sudo lsof -i :30002 呢?
from go-iost.
私钥错误
默认 admin 私钥在这里
如过改了 genesis/genesis.yml
请使用对应的私钥
from go-iost.
iwallet state 显示的 git_hash 并不是最新版,是很老的版本。 而且很多字段为0也说明了你运行的是老版本。
from go-iost.
The error is caused by error: invalid account lispczz3
.
The account lispczz3
is not included in genesis, thus it does not exist unless you create it first.
Upgrade to the latest version (both iserver
and iwallet
) will show you detailed error message.
from go-iost.
@QwertyJack i try upgrade to 3.0.6 and start the iserver, and create account lispczz3 first, but while i running the command ./iwallet --server 127.0.0.1:30002 --account admin --amount_limit "ram:1000|iost:10" account create lispczz3 --initial_balance 0 --initial_gas_pledge 10 --initial_ram 0
, it still print the Error
this time, i did not run transfer command, just run account create
from go-iost.
You may reopen this issue if the problem still exists.
from go-iost.
old version of iwallet prints misleading err msg.
I am afraid the 'iwallet' in go/src/bin/ in not newest.
Can you 'make build install' and then 'target/iwallet --server 127.0.0.1:30002 --account admin --amount_limit "ram:1000|iost:10" account create lispczz3 --initial_balance 0 --initial_gas_pledge 10 --initial_ram 0'?
I run the same command, and I did not encounter error
from go-iost.
@QwertyJack sorry, i can reopen this issue, because i did not close it, you did it
@lispc Mr.张, please have a look at this screenshot
我重新编译的最新的tag版本,应该没问题吧
from go-iost.
cannot reproduce the problem locally myself.
Did the iserver print any error log msg?
from go-iost.
no, i modify config/iserver.yml set log level as err and restart the iserver,
and retry the action, the log file just has contract base.iost do exec actions, no more other message
from go-iost.
看截图确实重新编译了最新版 iserver,但是 tmux a -t iost 是用编译后的 iserver 重启吗? 可以运行 "iwallet state" 看看 iserver 的运行状态和版本信息
from go-iost.
欢迎加入 slack 社区 !
详见 #994
from go-iost.
@ziranliu 对的,tmux a -t iost是编译后重启iserver,
运行iwallet state的结果好像也没什么问题。这是截图
另外,slack的使用不太方便
from go-iost.
我将旧的target目录都删除了,重新编译了一遍,在编译的时候这个gitHash和iwallet state查询的gitHash也不一定,不知道问题是否是出在这里,我是用的是最新的tagv3.0.7版本进行编译的
from go-iost.
你编译没问题,问题应该是你没运行编译后的二进制文件。你没有杀掉老进程。
from go-iost.
明白,再来一次,我这次同样是删除了target目录,然后重新编译,再次运行
这次运行的是重新编译的二进制文件,应该是没错了,之前的进程Ctrl+C 停止的。
这应该是运行的新的编译后的二进制文件了。
from go-iost.
运行iwallet state的结果?
from go-iost.
而且我确定就只有一个我运行的iserver服务,这次错误就更严重了,iwallet state都连不上rpc服务了
from go-iost.
iserver有造块吗?
sudo lsof -i:30002
输出是?
from go-iost.
from go-iost.
sudo lsof -i:30002
输出是?
from go-iost.
lsof没打印出来东西,说明rpc服务没启动
from go-iost.
可能日至里会有需要的信息。建议level开到info,把从启动到开始造块完整的日至贴上来。
from go-iost.
BTW,不妨试试docker方式运行iserver
from go-iost.
哈哈,docker运行不是不可以,但是现在咱们在分析解决这个问题嘛,说实话,在另一台服务器上已经正常运行了一套iserver服务呢
from go-iost.
都没有任何返回信息
from go-iost.
我们先尝试复现这个问题,研究一下。
from go-iost.
@fanyangyang 是不是你之前的 iserver 把 30002 端口占用了?
试试重启iserver
from go-iost.
@QwertyJack @lispc @ziranliu 首先,谢谢各位的支持,@QwertyJack提醒了我,同事使用另一个账户确实通过docker的方式启动了一个节点,我现在将docker也停止了,就能连上我自己的节点了,也看到了错误信息
这样问题就简单了
from go-iost.
@QwertyJack 真的是万分感谢,麻烦了。可以关闭这个issue啦
from go-iost.
@fanyangyang 欢迎加入开发者社区。除了 slack,还有 telegram 和 wx 。
from go-iost.
@QwertyJack 有微信的更好哦,能提供一下吗?
from go-iost.
Related Issues (20)
- why version update to v3.3.5 but don't have any news? HOT 5
- The limit of key length for storage must be increased. HOT 2
- 3.3.6 release can't process block 94977472 HOT 3
- 我想通过助记词生成私钥但是没有看到官方对地址生成有过多的解释
- How do I get a list of voting nodes? HOT 1
- 想问一下iost会不会有孤块产生? HOT 1
- Is there a particular way to get and add peer faster? HOT 6
- Improvement Plans
- Building IOST fails with "flag provided but not defined: -mod" error HOT 2
- Fix `make k8s_test`
- How to implement IRC722 token?
- What the f**k do you guys do all day?
- No one maintains the document, or no one develops the chain?
- A node stopped syncing with error `create stream failed` HOT 1
- make image error
- Node out of sync
- cl_beat6319
- The transfer from one exchange to another did not go through, it turned out to be a fork
- I ask for help
- Request a private channel for medium security vulnerability report HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-iost.