steem icon indicating copy to clipboard operation
steem copied to clipboard

error: while synchronizing

Open ghost opened this issue 10 years ago • 6 comments

p2p tcp_socket.cpp:162 bind ] Exception binding outgoing connection to desired local endpoint: bind: Bad file descriptor

ghost avatar Aug 16 '16 08:08 ghost

What platform are you building on and with what versions of the dependencies?

mvandeberg avatar Aug 16 '16 13:08 mvandeberg

@mvandeberg I followed this tutorial

https://steemit.com/steemhelp/@joseph/mining-steem-for-dummies

Im using Ubuntu 16.04 x64

with 4 vCores, and 4 GB RAM, and SSD drive.

here's my config:

# Endpoint for P2P node to listen on
# p2p-endpoint =

# Maxmimum number of incoming connections on P2P endpoint
# p2p-max-connections =

# P2P nodes to connect to on startup (may specify multiple times)
  seed-node = seed.steemed.net:2001
  seed-node = seed.steemed.com:2001
  seed-node = 52.74.152.79:2001
  seed-node = 45.32.186.90:1779
  seed-node = 45.32.186.90:1781
  seed-node = 192.99.4.226:2001
  seed-node = 46.252.27.1:1337
  seed-node = 81.89.101.133:2001
  seed-node = 52.4.250.181:39705
  seed-node = 85.214.65.220:2001

# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
# checkpoint =


# Endpoint for websocket RPC to listen on
rpc-endpoint = 127.0.0.1:8090

# Endpoint for TLS websocket RPC to listen on
# rpc-tls-endpoint =

# The TLS certificate file for this server
# server-pem =

# Password for this certificate
# server-pem-password =

# Block signing key to use for init witnesses, overrides genesis file
# dbg-init-key =

# api-user =

# Set an API to be publicly available, may be specified multiple times
public-api = database_api login_api

# Plugin(s) to enable, may be specified multiple times
enable-plugin = witness account_history

# JSON list of [nblocks,nseconds] pairs, see doc/bcd-trigger.md
bcd-trigger = [[0,10],[85,300]]

# Defines a range of accounts to track as a json pair ["from","to"] [from,to]
# track-account-range =

# Ignore posting operations, only track transfers and account updates
# filter-posting-ops =

# Database edits to apply on startup (may specify multiple times)
# edit-script =

# RPC endpoint of a trusted validating node (required)
# trusted-node =

# Set the maximum size of cached feed for an account
follow-max-feed-size = 500

# Track market history by grouping orders into buckets of equal size measured i$
bucket-size = [15,60,300,3600,86400]

# How far back in time to track history for each bucket size, measured in the n$
history-per-size = 5760

# Defines a range of accounts to private messages to/from as a json pair ["from$
# pm-account-range =

# Enable block production, even if the chain is stale.
enable-stale-production = false

# Percent of witnesses (0-99) that must be participating in order to produce bl$
required-participation = false

# name of witness controlled by this node (e.g. initwitness )
witness = "linktype"

# name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] )
miner = ["linktype","xxx"]

# Number of threads to use for proof of work mining
mining-threads = 8

# WIF PRIVATE KEY to be used by one or more witnesses or miners
# private-key =

# Account creation fee to be voted on upon successful POW - Minimum fee is 100.$
# miner-account-creation-fee =

# Maximum block size (in bytes) to be voted on upon successful POW - Max block $
# miner-maximum-block-size =

# SBD interest rate to be vote on upon successful POW - Default interest rate i$
# miner-sbd-interest-rate =

# declare an appender named "stderr" that writes messages to the console
[log.console_appender.stderr]
stream=std_error

# declare an appender named "p2p" that writes messages to p2p.log
[log.file_appender.p2p]
filename=logs/p2p/p2p.log
# filename can be absolute or relative to this config file

# route any messages logged to the default logger to the "stderr" logger we
# declared above, if they are info level are higher
[logger.default]
level=warn

appenders=stderr

# route messages sent to the "p2p" logger to the p2p appender declared above
[logger.p2p]
level=warn
appenders=p2p

ghost avatar Aug 16 '16 16:08 ghost

Adding some code to fc to try to track this down.

theoreticalbts avatar Aug 17 '16 19:08 theoreticalbts

1674140ms p2p tcp_socket.cpp:162 bind ] Exception binding outgoing connection to desired local endpoint: bind: Bad file descriptor

I have the same trouble

name55 avatar Aug 19 '16 10:08 name55

I just got this issue as well. I am setting up a miner on AWS and syncing the blockchain for the first time I hit this error after block #307000. The error I'm getting is 682344ms th_a application.cpp:422 handle_block ] Syncing Blockchain --- Got block: #3070000 time: 2016-07-10T07:55:57

randomSteemit avatar Aug 26 '16 01:08 randomSteemit

Just figured out that this was an issue with not having enough memory on my AWS Instance. I upgraded my instance and it immediately worked just fine.

randomSteemit avatar Aug 26 '16 03:08 randomSteemit