EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

Error 3040011: The transaction can not be found #5643

Closed AlwaysFurther closed 5 years ago

AlwaysFurther commented 6 years ago

Hello,

I am running a nodeos and a keosd docker

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3da536ed028f eosio/eos "/bin/bash -c 'keosd…" About an hour ago Up About an hour 0.0.0.0:9876->9876/tcp keosd 9fe24a9d5cf6 eosio/eos "/bin/bash -c 'nodeo…" About an hour ago Up About an hour 0.0.0.0:8888->8888/tcp nodeos

I use the following cleos alias:

alias cleos='docker exec -i keosd /opt/eosio/bin/cleos --url http://nodeos:8888 --wallet-url http://127.0.0.1:9876'

Each time I create a transaction It's never found on the blockchain:

cleos create account eosio corry EOS5tMLLzov5C3tpPTZu18xx4S1vDmsHtXqhmwXotj7EcxP7AUYP7 EOS5tMLLzov5C3tpPTZu18xx4S1vDmsHtXqhmwXotj7EcxP7AUYP7 executed transaction: 9a1c37f91a185e9502ecd3735644191a80da84227b0f37108e4c4ae92f42e4f0 200 bytes 210 us warning: transaction executed locally, but may not be confirmed by the network yet

then:

cleos get transaction 9a1c37f91a185e9502ecd3735644191a80da84227b0f37108e4c4ae92f42e4f0 Error 3040011: The transaction can not be found Thank you for your answer !

NM1024 commented 6 years ago

http://nm1024.com/506.html#The_transaction_can_not_be_found

check filter-on = * in your nodeos config.ini

taokayan commented 6 years ago

Is this solved?

AlwaysFurther commented 6 years ago

Hi NM1024 - thanks for the answer.

I modified the config.ini file and added filter-on = * (uncommented it to be exact). But it still deosn't work. Maybe I have to modify the file config.ini before launching my nodeos container but I have no idea on how to do this.

chengevo commented 6 years ago

You need to replay blockchain data (add --replay-blockchain when starting nodeos) to have nodeos picks up previous occurred transactions.

AlwaysFurther commented 6 years ago

HI @chengevo Thank you for the answer but It's still not working for me. I run nodeos with this config:

docker run --rm --name nodeos -d -p 8888:8888 --network eosdev -v /tmp/work:/work -v /tmp/eosio/data:/mnt/dev/data -v /tmp/eosio/config:/mnt/dev/config eosio/eos /bin/bash -c "nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::history_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --config-dir /mnt/dev/config --http-server-address=0.0.0.0:8888 --verbose-http-errors --access-control-allow-origin=* --contracts-console --http-validate-host=false --replay-blockchain"

sivachaitanya commented 6 years ago

how did you resolve this ?

AlwaysFurther commented 6 years ago

I didn't resolve it^^

wuyudian1 commented 6 years ago

how about using "system newaccount" instead of "create account"?

taokayan commented 5 years ago

are you sure you have set up the filter-on in your config or is this solved? If you still have the problem and wish to discuss further, please post it in https://eosio.stackexchange.com.

coolmagic commented 5 years ago

HI @chengevo Thank you for the answer but It's still not working for me. I run nodeos with this config:

docker run --rm --name nodeos -d -p 8888:8888 --network eosdev -v /tmp/work:/work -v /tmp/eosio/data:/mnt/dev/data -v /tmp/eosio/config:/mnt/dev/config eosio/eos /bin/bash -c "nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::history_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --config-dir /mnt/dev/config --http-server-address=0.0.0.0:8888 --verbose-http-errors --access-control-allow-origin=* --contracts-console --http-validate-host=false --replay-blockchain"

Hi

Did you manage to resolve this issue?