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

http service failed to start: Underlying Transport Error #3585

Closed
maldiohead opened this issue May 30, 2018 · 7 comments
Closed

http service failed to start: Underlying Transport Error #3585

maldiohead opened this issue May 30, 2018 · 7 comments

Comments

@maldiohead
Copy link

when I lanuch the command: ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin
throw the error message: http service failed to start: Underlying Transport Error
what should I do?

@elmato
Copy link
Contributor

elmato commented May 30, 2018

check your --http-server-address option

@maldiohead
Copy link
Author

thank . the problem resolved @elmato

@lingyiliu016
Copy link

@elmato what does it mean “check your --http-server-address option”?check whether ~/Library/Application Support/eosio/nodeos/config/config.ini http-server-address = 127.0.0.1:8888 is commented? or run command ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --replay-blockchain add --http-server-address ? but when I run command ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --replay-blockchain --http-server-address ,errors occured! when I check config.ini, http-server-address = 127.0.0.1:8888 is set right. what should I do?

@fher98
Copy link

fher98 commented Jun 7, 2018

Also when config nodeos with https via certbot I get
379621ms thread-0 http_plugin.cpp:345 plugin_startup ] start listening for https requests
379621ms thread-0 http_plugin.cpp:352 plugin_startup ] https service failed to start: Underlying Transport Error

@v-ken
Copy link

v-ken commented Jun 7, 2018

Any updates on this? Getting the same error as well, running in Docker.

3257066ms thread-0   chain_plugin.cpp:200          plugin_initialize    ] initializing chain plugin
3257066ms thread-0   chain_plugin.cpp:354          plugin_initialize    ] Starting up fresh blockchain with default genesis state.
3257137ms thread-0   http_plugin.cpp:285           plugin_initialize    ] configured http to listen on 127.0.0.1:8888
3257138ms thread-0   net_plugin.cpp:2815           plugin_initialize    ] Initialize net plugin
3257138ms thread-0   net_plugin.cpp:2836           plugin_initialize    ] host: 0.0.0.0 port: 9876 
3257138ms thread-0   net_plugin.cpp:2908           plugin_initialize    ] my node_id is 5001801294118f47237a53ce14bb3b128a97e6fb64d8077b2e51b91c58e8c052
3257139ms thread-0   main.cpp:104                  main                 ] nodeos version 0961a560
3257139ms thread-0   main.cpp:105                  main                 ] eosio root is /root/.local/share
3257139ms thread-0   controller.cpp:1142           startup              ] No head block in fork db, perhaps we need to replay
3257139ms thread-0   controller.cpp:307            initialize_fork_db   ]  Initializing new blockchain with genesis state                  
3257204ms thread-0   chain_plugin.cpp:409          plugin_startup       ] starting chain in read/write mode
3257204ms thread-0   chain_plugin.cpp:414          plugin_startup       ] Blockchain started; head block is #1, genesis timestamp is 2018-06-01T12:00:00.000
3257204ms thread-0   http_plugin.cpp:323           plugin_startup       ] start listening for http requests
3257211ms thread-0   http_plugin.cpp:330           plugin_startup       ] http service failed to start: Underlying Transport Error
3257214ms thread-0   fork_database.cpp:93          close                ] num_blocks_in_fork_db: 1 
3257215ms thread-0   controller.cpp:261            ~controller_impl     ] db.revision(): 1 head->block_num: 1 blog.read_head()->block_num(): 1 
3257266ms thread-0   main.cpp:133                  main                 ] Underlying Transport Error

@jaminlu
Copy link

jaminlu commented Jun 10, 2018

nodeosd | 3268865ms thread-0 bnet_plugin.cpp:1219 plugin_initialize ] Initialize bnet plugin
nodeosd | 3268865ms thread-0 bnet_plugin.cpp:1229 plugin_initialize ] ip_port: 0.0.0.0:4321 host: 0.0.0.0 port: 4321
nodeosd | 3268865ms thread-0 http_plugin.cpp:251 operator() ] configured http with Access-Control-Allow-Origin: *
nodeosd | 3268865ms thread-0 main.cpp:104 main ] nodeos version 0961a56
nodeosd | 3268865ms thread-0 main.cpp:105 main ] eosio root is /root/.local/share
nodeosd | 3268865ms thread-0 chain_plugin.cpp:409 plugin_startup ] starting chain in read/write mode
nodeosd | 3268865ms thread-0 chain_plugin.cpp:414 plugin_startup ] Blockchain started; head block is #1, genesis timestamp is 2018-06-01T12:00:00.000
nodeosd | 3268865ms thread-0 producer_plugin.cpp:577 plugin_startup ] producer plugin: plugin_startup() begin
nodeosd | 3268865ms thread-0 producer_plugin.cpp:592 plugin_startup ] Launching block production for 1 producers at 2018-06-10T01:54:28.865.
nodeosd | 3268866ms thread-0 producer_plugin.cpp:604 plugin_startup ] producer plugin: plugin_startup() end
nodeosd | 3268866ms thread-0 net_plugin.cpp:2920 plugin_startup ] starting listener, max clients is 25
nodeosd | 3268866ms thread-0 net_plugin.cpp:695 connection ] created connection to
nodeosd | 3268866ms thread-0 net_plugin.cpp:1901 connect ] Invalid peer address. must be "host:port":
nodeosd | 3268866ms thread-0 net_plugin.cpp:725 ~connection ] released connection from client
nodeosd | 3268866ms thread-0 http_plugin.cpp:323 plugin_startup ] start listening for http requests
nodeosd | 3268866ms thread-0 http_plugin.cpp:330 plugin_startup ] http service failed to start: Underlying Transport Error
nodeosd | 3268866ms thread-0 net_plugin.cpp:2947 plugin_shutdown ] shutdown..
nodeosd | 3268866ms thread-0 net_plugin.cpp:2950 plugin_shutdown ] close acceptor
nodeosd | 3268866ms thread-0 net_plugin.cpp:2953 plugin_shutdown ] close 0 connections
nodeosd | 3268866ms thread-0 net_plugin.cpp:2961 plugin_shutdown ] exit shutdown
nodeosd | 3268866ms thread-0 fork_database.cpp:93 close ] num_blocks_in_fork_db: 1
nodeosd | 3268866ms thread-0 controller.cpp:261 ~controller_impl ] db.revision(): 1 head->block_num: 1 blog.read_head()->block_num(): 1
nodeosd | 3268888ms thread-0 main.cpp:133 main ] Underlying Transport Error

@v-ken
Copy link

v-ken commented Jun 10, 2018

I figured out the why it was happening to me here: #3634

Not sure if this will fix it for you as well but worth a try.

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

6 participants