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

"Underlying Transport Error" #3634

Closed
BlackDragonRoarz opened this issue May 30, 2018 · 5 comments
Closed

"Underlying Transport Error" #3634

BlackDragonRoarz opened this issue May 30, 2018 · 5 comments

Comments

@BlackDragonRoarz
Copy link

BlackDragonRoarz commented May 30, 2018

I cloned the git repo onto a local machine. Followed the documentation instructions, but accidentally ran nodeos without the plugins, and realized my mistake so i shut the terminal session by simply closing the terminal window in Mac. When i went to go and try again, i tried adding the plugin options to nodeos like the documentation said, and it told me that some corruption flag was set. Not knowing what to do, i started to run nodeos with the delete-blocks flag, replay, hard-replay, etc. Nothing would work and i simply just got this message in return:

Message:

851416ms thread-0 chain_plugin.cpp:200 plugin_initialize ] initializing chain plugin
851417ms thread-0 block_log.cpp:123 open ] Log is nonempty
851417ms thread-0 block_log.cpp:136 open ] my->head->block_num(): 1
851417ms thread-0 block_log.cpp:142 open ] Index is nonempty
851440ms thread-0 http_plugin.cpp:285 plugin_initialize ] configured http to listen on 127.0.0.1:8888
851440ms thread-0 net_plugin.cpp:2814 plugin_initialize ] Initialize net plugin
851440ms thread-0 net_plugin.cpp:2835 plugin_initialize ] host: 0.0.0.0 port: 9876
851440ms thread-0 net_plugin.cpp:2907 plugin_initialize ] my node_id is 8599f31bdd2950039a3be93299ce1c8b2e6f5e299b65dfb5127332ff4d616824
851440ms thread-0 main.cpp:104 main ] nodeos version ca03c3a
851440ms thread-0 main.cpp:105 main ] eosio root is /Users/hassan/Library/Application Support
851441ms thread-0 chain_plugin.cpp:406 plugin_startup ] starting chain in read/write mode
851441ms thread-0 chain_plugin.cpp:411 plugin_startup ] Blockchain started; head block is #1, genesis timestamp is 2018-03-02T12:00:00.000
851441ms thread-0 http_plugin.cpp:323 plugin_startup ] start listening for http requests
851441ms thread-0 http_plugin.cpp:330 plugin_startup ] http service failed to start: Underlying Transport Error
851441ms thread-0 fork_database.cpp:95 close ] num_blocks_in_fork_db: 1
851442ms thread-0 controller.cpp:261 ~controller_impl ] db.revision(): 1 head->block_num: 1 blog.read_head()->block_num(): 1
851446ms thread-0 main.cpp:133 main ] Underlying Transport Error

Finally i gave up on that repo, and just checked out a fresh clone in a new repo, and followed the instructions verbatum this time, and I still got the "Underlying Transport Error" above.

@lingyiliu016
Copy link

Same error occured When I set up eosio@dawn4.2

@lingyiliu016
Copy link

The error details are as follows:

20180601113436

The reason of the error occured is that the command `make test` is running and not finished ,and I run `./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin` at same time. when I kill the `make test` , I run `./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin` again, the error disappear!

@heifner
Copy link
Contributor

heifner commented Jun 1, 2018

Transport error normally means the port is already taken.

@heifner heifner closed this as completed Jun 1, 2018
@v-ken
Copy link

v-ken commented Jun 7, 2018

@heifner I've followed the instructions in the documentation (using Docker) and also get this error. Are you not going to help your developer community resolve issues besides just stating the cause of the issue?

@v-ken
Copy link

v-ken commented Jun 7, 2018

For anyone experiencing the same problem, if you used the Docker startup command from the documentation, it would have already started nodeos for you:

sudo docker run --rm --name eosio -d -p 8888:8888 -p 9876:9876 -v /tmp/work:/work -v /tmp/eosio:/mnt/dev/data eosio/eos-dev /bin/bash -c "nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::wallet_plugin --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 --http-server-address=0.0.0.0:8888 --access-control-allow-origin=* --contracts-console"

Which means you don't have to start it again.

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

4 participants