Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

error launching local node to testnet - told to go away! #957

Closed
comtechnet opened this issue Dec 15, 2017 · 22 comments
Closed

error launching local node to testnet - told to go away! #957

comtechnet opened this issue Dec 15, 2017 · 22 comments
Milestone

Comments

@comtechnet
Copy link

2146089ms chain_controller.cpp:1037 validate_block_heade ] Did not produce block within block_interval 2, took 4000ms)
2146216ms chain_controller.cpp:1035 validate_block_heade ] head_block_time 2017-12-04T17:20:54, next_block 2017-12-04T17:20:58, block_interval 2
2146216ms chain_controller.cpp:1037 validate_block_heade ] Did not produce block within block_interval 2, took 4000ms)
2151426ms chain_controller.cpp:212 _push_block ] Failed to push new block:
3030010 checktime_exceeded: allotted processing time was exceeded
Transaction message exceeded maximum total transaction time of 10000ms
{"limit":10000}
chain_controller.cpp:906 process_message

{"trx":{"ref_block_num":945,"ref_block_prefix":2237210268,"expiration":"2017-12-04T17:40:26","scope":["eos","inita"],"read_scope":[],"messages":[{"code":"eos","type":"newaccount","authorization":[{"account":"inita","permission":"active"}],"data":"000000000093dd74000080d7c886a63a010000000103b6bcbd4dca46f5f4c33646023d171f887ec2ce3da301270e7e72ad1a5ce852e6010000010000000103b6bcbd4dca46f5f4c33646023d171f887ec2ce3da301270e7e72ad1a5ce852e6010000010000000001000000000093dd7400000000a8ed32320100010000000000000004454f5300000000"}],"signatures":["1f5b23ed7f83f85c21952c96171726bb2c8682dd6672d9086f06470177731ac3ae305bf64dc89cf7f0cb63f1f45c561b44a1aeed436b5f76c5688c9c3e68b37e3c"]}}
  chain_controller.cpp:1021 process_transaction

{"trx":{"ref_block_num":945,"ref_block_prefix":2237210268,"expiration":"2017-12-04T17:40:26","scope":["eos","inita"],"read_scope":[],"messages":[{"code":"eos","type":"newaccount","authorization":[{"account":"inita","permission":"active"}],"data":"000000000093dd74000080d7c886a63a010000000103b6bcbd4dca46f5f4c33646023d171f887ec2ce3da301270e7e72ad1a5ce852e6010000010000000103b6bcbd4dca46f5f4c33646023d171f887ec2ce3da301270e7e72ad1a5ce852e6010000010000000001000000000093dd7400000000a8ed32320100010000000000000004454f5300000000"}],"signatures":["1f5b23ed7f83f85c21952c96171726bb2c8682dd6672d9086f06470177731ac3ae305bf64dc89cf7f0cb63f1f45c561b44a1aeed436b5f76c5688c9c3e68b37e3c"]}}
  chain_controller.cpp:992 apply_transaction

{"next_block.block_num()":956}
  chain_controller.cpp:650 _apply_block

2151438ms net_plugin.cpp:2018 handle_message ] accept_block threw a non-assert exception allotted processing time was exceeded (3030010)
Transaction message exceeded maximum total transaction time of 10000ms

from 10.160.12.212:9876
2151453ms net_plugin.cpp:2026 handle_message ] block 956, 000003bc78c9dfd799405a7db4702c48e1e1058b34699d7706c55a5064fdbb2c not accepted from 10.160.12.212:9876
2151453ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other failure, out queue size 0
2151454ms net_plugin.cpp:1996 handle_message ] expected block 956 but got 957 from 10.160.12.212:9876
2151454ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other non-fatal condition, out queue size 2
2151454ms net_plugin.cpp:1996 handle_message ] expected block 956 but got 958 from 10.160.12.212:9876
2151454ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other non-fatal condition, out queue size 3
2151464ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other non-fatal condition, out queue size 3
2151464ms net_plugin.cpp:1996 handle_message ] expected block 956 but got 996 from 10.160.12.212:9876
2151464ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other non-fatal condition, out queue size 3
2151464ms net_plugin.cpp:1996 handle_message ] expected block 956 but got 997 from 10.160.12.212:9876
2151464ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other non-fatal condition, out queue size 3
2151464ms net_plugin.cpp:1996 handle_message ] expected block 956 but got 998 from 10.160.12.212:9876
2151464ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other non-fatal condition, out queue size 3
2151464ms net_plugin.cpp:1996 handle_message ] expected block 956 but got 999 from 10.160.12.212:9876
2151464ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other non-fatal condition, out queue size 3
2151464ms net_plugin.cpp:1996 handle_message ] expected block 956 but got 1000 from 10.160.12.212:9876
2151464ms net_plugin.cpp:881 cancel_sync ] cancel sync reason = some other non-fatal condition, out queue size 3
2151464ms net_plugin.cpp:951 operator() ] sent a go away message, closing connection to 10.160.12.212:9876
2151465ms net_plugin.cpp:665 close ] calling reset
2151465ms net_plugin.cpp:1406 operator() ] Error reading message from connection: Operation canceled
2151465ms net_plugin.cpp:665 close ] calling reset

So - the process is trying to "sync' - but never gets there

What data do you need from me to continue the troubleshooting?

@pmesnier
Copy link
Contributor

pmesnier commented Dec 15, 2017 via email

@pmesnier
Copy link
Contributor

pmesnier commented Dec 15, 2017 via email

@comtechnet
Copy link
Author

comtechnet commented Dec 16, 2017 via email

@comtechnet
Copy link
Author

comtechnet commented Dec 17, 2017 via email

@comtechnet
Copy link
Author

comtechnet commented Dec 17, 2017 via email

@pmesnier
Copy link
Contributor

pmesnier commented Dec 17, 2017 via email

@pmesnier
Copy link
Contributor

pmesnier commented Dec 17, 2017 via email

@comtechnet
Copy link
Author

Phil,

I branched to the p2p-tn1-access-preview branch and rebuilt the MacOS platform
The setup is still "buggy" and doesn't run as the doc reads:

3235021ms chain_plugin.cpp:126 plugin_initialize ] initializing chain plugin
3235022ms chain_plugin.cpp:158 plugin_initialize ] Replay requested: wiping database
3235357ms wasm_interface.cpp:757 get ] Runtime::init
3235358ms http_plugin.cpp:138 plugin_initialize ] host: 127.0.0.1 port: 8888
3235359ms http_plugin.cpp:141 plugin_initialize ] configured http to listen on 127.0.0.1:8888
3235359ms net_plugin.cpp:2341 plugin_initialize ] Initialize net plugin
3235359ms net_plugin.cpp:2361 plugin_initialize ] Setting net_plugin logging level to info
3235359ms net_plugin.cpp:2386 plugin_initialize ] host: 0.0.0.0 port: 9876
3235360ms net_plugin.cpp:2465 plugin_initialize ] my node_id is 7dc9ea9e5781d9ba06812dd3cc058bcf5834748525bd52a271ee155abea1b94c
3235360ms main.cpp:59 main ] eosd version 07a9e64
3235365ms main.cpp:63 main ] 10 assert_exception: Assert Exception
fc::exists( my->genesis_file ): unable to find genesis file '', check --genesis-json argument
{"f":""}
chain_plugin.cpp:228 plugin_startup

{"my->genesis_file.generic_string()":""}
  chain_plugin.cpp:257 plugin_startup

I ran into this before - on the master branch - so I think I can get it running by copying the genesis.jason file to a directory and use the data-dir parm to help the scripts.

I'll post that result later

@heifner
Copy link
Contributor

heifner commented Dec 20, 2017

Please test with today's master

@aboutyy
Copy link

aboutyy commented Dec 27, 2017

@comtechnet Did you solve this problem? I encountered the same problem and have no idea what's going on?

@pmesnier
Copy link
Contributor

pmesnier commented Dec 27, 2017 via email

@comtechnet
Copy link
Author

comtechnet commented Dec 27, 2017 via email

@comtechnet
Copy link
Author

comtechnet commented Dec 27, 2017 via email

@StormSpirit22
Copy link

@comtechnet Did you solve this problem? I encountered the same problem and have no idea what's going on?

@comtechnet
Copy link
Author

StormSpirit22 - yes the repull followed by a rebuild fixed the problem
I recommend you do the same

@thomasbcox thomasbcox added this to the Q1, 2018 milestone Jan 5, 2018
@StormSpirit22
Copy link

comtechnet thanks a lot

@xu10000
Copy link

xu10000 commented Jun 8, 2018

2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/abi_json_to_bin
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_abi
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_account
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_block
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_block_header_state
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_code
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_currency_balance
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_currency_stats
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_info
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_producers
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_required_keys
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/get_table_rows
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/push_block
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/push_transaction
2570484ms thread-0 http_plugin.cpp:369 add_handler ] add api url: /v1/chain/push_transactions
2570484ms thread-0 producer_plugin.cpp:577 plugin_startup ] producer plugin: plugin_startup() begin
2570485ms thread-0 producer_plugin.cpp:592 plugin_startup ] Launching block production for 1 producers at 2018-06-08T08:42:50.485.
2570485ms thread-0 producer_plugin.cpp:604 plugin_startup ] producer plugin: plugin_startup() end
2570485ms thread-0 net_plugin.cpp:2932 plugin_startup ] starting listener, max clients is 25
2570485ms thread-0 net_plugin.cpp:695 connection ] created connection to 47.96.104.71:9876
2570485ms thread-0 net_plugin.cpp:1915 connect ] host: 47.96.104.71 port: 9876
2570527ms thread-0 net_plugin.cpp:2279 handle_message ] received a go away message from 47.96.104.71:9876, reason = wrong chain
2570527ms thread-0 net_plugin.cpp:2090 operator() ] Error reading message from 47.96.104.71:9876: Bad file descriptor
^C2953319ms thread-0 net_plugin.cpp:2959 plugin_shutdown ] shutdown..
2953319ms thread-0 net_plugin.cpp:2962 plugin_shutdown ] close acceptor
2953319ms thread-0 net_plugin.cpp:2965 plugin_shutdown ] close 1 connections
2953319ms thread-0 net_plugin.cpp:2973 plugin_shutdown ] exit shutdown
2953320ms thread-0 fork_database.cpp:93 close ] num_blocks_in_fork_db: 1
2953320ms thread-0 controller.cpp:261 ~controller_impl ] db.revision(): 1 head->block_num: 1 blog.read_head()->block_num(): 1
2953357ms thread-0 net_plugin.cpp:727 ~connection ] released connection to server at 47.96.104.71:9876

@xu10000
Copy link

xu10000 commented Jun 8, 2018

Bad file descriptor how to solve?

@pmesnier
Copy link
Contributor

pmesnier commented Jun 8, 2018 via email

@blockchain-expert
Copy link

@pmesnier ...sir,
how can i solve that wrong chain problem?

@comtechnet
Copy link
Author

comtechnet commented Jun 18, 2018 via email

@jgiszczak
Copy link
Contributor

@blockchain-expert Specify a genesis.json file on the nodeos command line that matches the genesis file of the network you are attempting to connect to.

Locking this very old and crufty thread. Comment on threads from this year with current issues.

@EOSIO EOSIO locked as resolved and limited conversation to collaborators Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants