钱包 eos push transaction 连接超时

eoser · 2018年09月12日 · 最后由 litterGuy 回复于 2018年10月25日 · 4177 次阅读

如题,在很久以前,使用json rpc调用发送交易一直是正常的,但是,突然间他不工作了。后台也没有错误日志输出,如果使用错误的请求,是有日志正常的
有人有遇到相似的问题吗?可能原因是什么?
正常请求:

curl -v -H "Content-Type:application/json" -X POST --data '{"compression":"none","transaction":{"ref_block_prefix":214975668,"context_free_actions":[],"expiration":"2018-06-11T01:03:35.000","ref_block_num":227354,"actions":[{"authorization":[{"actor":"eric","permission":"active"}],"data":"000000000080dc55705510415c05b33ba00000000000000004454f5300000000083530303633343630","name":"transfer","account":"eosio.token"}],"transaction_extensions":[]},"signatures":["SIG_K1_Kamt1ZMpGSugZrpk7wnSe5UoMuJGNvsFionkwYZbxw2En3vgTwkpiApWFTMkWTLw8QaD1hVgZhhfzSbHM2ML1wtuBTzCaF"]}' http://127.0.0.1:8888/v1/chain/push_transaction
* About to connect() to 127.0.0.1 port 8888 (#0)
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8888 (#0)
> POST /v1/chain/push_transaction HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 127.0.0.1:8888
> Accept: */*
> Content-Type:application/json
> Content-Length: 507
>
* upload completely sent off: 507 out of 507 bytes

卡在这里连接没有返回结果,后台也没有报错日志,
如果故意使用错误的参数,会正常返回错误信息,后台也有错误日志
如:

curl -v -H "Content-Type:application/json" -X POST --data '{"compression":"non1e","transaction":{"ref_block_prefix":214975668,"context_free_actions":[],"expiration":"2018-06-11T01:03:35.000","ref_block_num":227354,"actions":[{"authorization":[{"actor":"eric","permission":"active"}],"data":"000000000080dc55705510415c05b33ba00000000000000004454f5300000000083530303633343630","name":"transfer","account":"eosio.token"}],"transaction_extensions":[]},"signatures":["SIG_K1_Kamt1ZMpGSugZrpk7wnSe5UoMuJGNvsFionkwYZbxw2En3vgTwkpiApWFTMkWTLw8QaD1hVgZhhfzSbHM2ML1wtuBTzCaF"]}' http://127.0.0.1:8888/v1/chain/push_transaction
* About to connect() to 127.0.0.1 port 8888 (#0)
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8888 (#0)
> POST /v1/chain/push_transaction HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 127.0.0.1:8888
> Accept: */*
> Content-Type:application/json
> Content-Length: 508
>
* upload completely sent off: 508 out of 508 bytes
< HTTP/1.1 500 Internal Server Error
< Access-Control-Allow-Origin: *
< Connection: close
< Content-Length: 164
< Content-type: application/json
< Server: WebSocket++/0.7.0
<
* Closing connection 0
{"code":500,"message":"Internal Service Error","error":{"code":3010010,"name":"packed_transaction_type_exception","what":"Invalid packed transaction","details":[]}}

可能的原因是什么?正常的请求一直挂着没有返回,异常的会显示异常信息?eos配置有升级改动?交易时间过期?区块未同步到最新区块?
有类似经验的伙伴吗?
感谢,期待回复。

共收到 3 条回复

网络是通的么,?
最近主网非常不稳定, 很多交易都没被打包上.

我这边也是出现了这种情况 请问最后是怎么解决的?
这一直等到超时 真的是网络问题吗

strahe 回复

劳烦问下 这个问题没有解决办法吗?

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册