Created
October 7, 2015 05:06
-
-
Save skydogch/125da518d228ce7b463a to your computer and use it in GitHub Desktop.
IllegalArgumentException
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[sts] ----------------------------------------------------- | |
[sts] Starting Gradle build for the following tasks: | |
[sts] clean | |
[sts] build | |
[sts] buildDependents | |
[sts] bootRun | |
[sts] ----------------------------------------------------- | |
:clean | |
:compileJava | |
:processResources | |
:classes | |
:jar | |
:bootRepackage | |
:assemble | |
:compileTestJava | |
:processTestResources | |
:testClasses | |
:test | |
:check | |
:build | |
:buildDependents | |
:findMainClass | |
:bootRun | |
true | |
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar | |
07:04:18.446 INFO general - Running frontier.json, core version: 1.0.0-SNAPSHOT | |
07:04:18.449 INFO general - git.hash: [f389f28] | |
07:04:18.449 INFO general - build.time: [GMT]-[04/Oct/2015]-[20:58] | |
07:04:18.449 INFO general - | |
07:04:18.450 INFO general - Database reset done | |
07:04:18.450 INFO general - capability eth version: [60, 61] | |
07:04:18.451 INFO general - capability shh version: [2] | |
07:04:18.451 INFO general - capability bzz version: [0] | |
07:04:18.563 INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@64f6106c: startup date [Wed Oct 07 07:04:18 CEST 2015]; root of context hierarchy | |
07:04:18.984 INFO o.s.b.f.s.DefaultListableBeanFactory - Overriding bean definition for bean 'blockStore': replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=remoteConfig; factoryMethodName=blockStore; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/ethereum/config/RemoteConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=defaultConfig; factoryMethodName=blockStore; initMethodName=null; destroyMethodName=(inferred); defined in org.ethereum.config.DefaultConfig] | |
07:04:19.222 INFO general - External IP wasn't set, using checkip.amazonaws.com to identify it... | |
07:04:19.699 INFO general - External address identified: 158.181.107.145 | |
07:04:19.741 INFO general - In memory 'pendingTransactions' storage created. | |
07:04:19.758 INFO general - leveldb key-value data source created. | |
07:04:19.760 INFO general - leveldb key-value data source created. | |
07:04:20.226 INFO general - Ethereum listener added | |
07:04:20.251 INFO general - DB is empty - adding Genesis | |
07:04:22.661 INFO general - Genesis block loaded | |
07:04:22.664 INFO blockqueue - Start loading sync queue | |
07:04:22.665 INFO general - Bind address wasn't set, Punching to identify it... | |
07:04:22.667 INFO sync - Sync Manager: ON | |
Oct 07, 2015 7:04:22 AM org.mapdb.DB checkPlaceholder | |
WARNING: hashset.serializer is defined in Name Catalog, but other serializer was passed as constructor argument. Using one from constructor argument | |
07:04:22.692 INFO general - UDP local bound to: 192.168.1.38 | |
07:04:22.696 INFO discover - Discovery UDPListener started | |
07:04:22.697 INFO blockqueue - Hash store loaded, size [0] | |
07:04:22.704 INFO blockqueue - Block queue loaded, size [0] | |
07:04:22.706 INFO sync - Changing state from IDLE to HASH_RETRIEVING | |
07:04:22.708 INFO sync - | |
07:04:22.709 INFO sync - State HASH_RETRIEVING | |
07:04:22.717 INFO general - Connecting to the block store | |
07:04:22.720 INFO o.s.j.d.DriverManagerDataSource - Loaded JDBC driver: org.h2.Driver | |
07:04:22.736 INFO general - Ethereum listener added | |
07:04:22.777 INFO net - Listening for incoming connections, port: [30303] | |
07:04:22.791 INFO net - NodeId: [fe3fd3bfd5595ea43605cdd896b6eed514322018b4c241ce4a206da8d23ec95e15daeff131c2e65434b14034645911d65ab34c1e9155c1febaef702b9cc0f0f4] | |
java.lang.IllegalArgumentException: port out of range:-1 | |
at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143) | |
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:224) | |
at org.ethereum.net.rlpx.discover.NodeManager.getKey(NodeManager.java:183) | |
at org.ethereum.net.rlpx.discover.NodeManager.getNodeHandler(NodeManager.java:193) | |
at org.ethereum.net.rlpx.discover.NodeManager.channelActivated(NodeManager.java:127) | |
at org.ethereum.net.rlpx.discover.MessageHandler.channelActive(MessageHandler.java:36) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:183) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:169) | |
at io.netty.channel.ChannelInboundHandlerAdapter.channelActive(ChannelInboundHandlerAdapter.java:64) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:183) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:169) | |
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:817) | |
at io.netty.channel.AbstractChannel$AbstractUnsafe$2.run(AbstractChannel.java:496) | |
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:356) | |
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) | |
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110) | |
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) | |
07:04:22.813 DEBUG discover - (tried.isEmpty()) Terminating discover after 0 rounds. | |
07:04:22.813 DEBUG discover - Nodes discovered 1 | |
07:04:22.816 DEBUG discover - (tried.isEmpty()) Terminating discover after 0 rounds. | |
07:04:22.817 DEBUG discover - Nodes discovered 1 | |
at java.lang.Thread.run(Thread.java:745) | |
07:04:22.822 ERROR discover - Channel error | |
java.lang.IllegalArgumentException: port out of range:-1 | |
at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143) ~[na:1.8.0_45-internal] | |
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:224) ~[na:1.8.0_45-internal] | |
at org.ethereum.net.rlpx.discover.NodeManager.getKey(NodeManager.java:183) ~[ethereumj-core-1.0.0-SNAPSHOT.jar:na] | |
at org.ethereum.net.rlpx.discover.NodeManager.getNodeHandler(NodeManager.java:193) ~[ethereumj-core-1.0.0-SNAPSHOT.jar:na] | |
at org.ethereum.net.rlpx.discover.NodeManager.channelActivated(NodeManager.java:127) ~[ethereumj-core-1.0.0-SNAPSHOT.jar:na] | |
at org.ethereum.net.rlpx.discover.MessageHandler.channelActive(MessageHandler.java:36) ~[ethereumj-core-1.0.0-SNAPSHOT.jar:na] | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:183) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:169) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.channel.ChannelInboundHandlerAdapter.channelActive(ChannelInboundHandlerAdapter.java:64) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:183) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:169) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:817) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.channel.AbstractChannel$AbstractUnsafe$2.run(AbstractChannel.java:496) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:356) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.30.Final.jar:4.0.30.Final] | |
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45-internal] | |
07:04:22.824 WARN discover - UDP channel closed. Recreating after 5 sec pause... | |
[sts] Cancellation request posted... | |
07:04:27.825 DEBUG discover - (tried.isEmpty()) Terminating discover after 0 rounds. | |
07:04:27.825 DEBUG discover - (tried.isEmpty()) Terminating discover after 0 rounds. | |
07:04:27.825 DEBUG discover - Nodes discovered 1 | |
07:04:27.825 DEBUG discover - Nodes discovered 1 | |
07:04:30.017 DEBUG discover - (tried.isEmpty()) Terminating discover after 0 rounds. | |
07:04:30.017 DEBUG discover - Nodes discovered 1 | |
[sts] Build cancelled | |
[sts] Time taken: 0 min, 22 sec | |
[sts] ----------------------------------------------------- | |
******************************************************************************* | |
******************************************************************************* | |
******************************************************************************* | |
Ethereum.conf file: | |
******************************************************************************* | |
******************************************************************************* | |
******************************************************************************* | |
peer.discovery = { | |
# if peer discovery is off | |
# the peer window will show | |
# only what retrieved by active | |
# peer [true/false] | |
enabled = true | |
#enabled = false | |
# number of workers that | |
# tastes the peers for being | |
# online [1..10] | |
workers = 8 | |
# List of the peers to start | |
# the search of the online peers | |
# values: [ip:port, ip:port, ip:port ...] | |
ip.list = [ | |
### "54.94.239.50:30303", | |
### "52.16.188.185:30303", | |
"127.0.0.1", | |
] | |
# indicates if the discovered nodes and their reputations | |
# are stored in DB and persisted between VM restarts | |
#changed_ok__ | |
#persist = true | |
persist = false | |
# the period in seconds with which the discovery | |
# tries to reconnect to successful nodes | |
# 0 means the nodes are not reconnected | |
touchPeriod = 600 | |
# the maximum nuber of nodes to reconnect to | |
# -1 for unlimited | |
#touchMaxNodes = 100 | |
touchMaxNodes = 1 | |
# external IP/hostname which is reported as our host during discovery | |
# if not set, the service http://checkip.amazonaws.com is used | |
# the last resort is to get the peer.bind.ip address | |
external.ip = null | |
# indicates whether the discovery will include own home node | |
# within the list of neighbor nodes | |
public.home.node = true | |
} | |
peer { | |
# Boot node list | |
active = [ | |
] | |
# The protocols supported by peer | |
# can be: [eth, shh, bzz] | |
capabilities = [eth] | |
# Local network adapter IP to which | |
# the discovery UDP socket is bound | |
# e.g: 192.168.1.104 | |
# | |
# if the value is empty will be retrived | |
# by punching to some know address e.g: www.google.com | |
bind.ip = "" | |
# Peer for server to listen for incoming | |
# connections | |
listen.port = 30303 | |
# connection timeout for trying to | |
# connect to a peer [seconds] | |
connection.timeout = 2 | |
# the parameter specifies how much | |
# time we will wait for a message | |
# to come before closing the channel | |
channel.read.timeout = 30 | |
# Private key of the peer | |
# derived nodeId = dead745c1dbcde518b48e52aca1e8d5ba666005a2c8804e39826c6080fb11c1e8abe41d1e41896e871f204f790a90fa9781744cccecf492212192a7c56e7673b | |
# derived nodeId = fe3fd3bfd5595ea43605cdd896b6eed514322018b4c241ce4a206da8d23ec95e15daeff131c2e65434b14034645911d65ab34c1e9155c1febaef702b9cc0f0f4 | |
#privateKey = f67c4032a7ff79bbfa7a780331b235c4eb681d51a0704cb1562064fb6c4bced4 | |
privateKey = a30cbe234887fd5b54441be49f3ad664d682d50c45bc23f07a388a83939bc668 | |
# Network id | |
networkId = 54321 | |
} | |
# the folder resources/genesis | |
# contains several versions of | |
# genesis configuration according | |
# to the network the peer will run on | |
genesis = frontier.json | |
#genesis = "/home/cloudhorse/gitRep001/FS0003/resources/genesis/frontier-custom.json" | |
# the time we wait to the network | |
# to approve the transaction, the | |
# transaction got approved when | |
# include into a transactions msg | |
# retrieved from the peer [seconds] | |
transaction.approve.timeout = 15 | |
# the number of blocks should pass | |
# before pending transaction is removed | |
transaction.outdated.threshold = 10 | |
# default directory where we keep | |
# basic Serpent samples relative | |
# to home.dir | |
samples.dir = samples | |
database { | |
# place to save physical storage files | |
#dir = database | |
dir = /home/cloudhorse/test_ethereumj | |
# every time the application starts | |
# the existing database will be | |
# destroyed and all the data will be | |
# downloaded from peers again [true/false] | |
# changed_ok__ | |
#reset = false | |
reset = true | |
} | |
# this string is computed | |
# to be eventually the address | |
# that get the miner reward | |
coinbase.secret = monkey | |
dump { | |
# for testing purposes | |
# all the state will be dumped | |
# in JSON form to [dump.dir] | |
# if [dump.full] = true | |
# possible values [true/false] | |
full = false | |
dir = dmp | |
# This defines the vmtrace dump | |
# to the console and the style | |
# -1 for no block trace | |
# styles: [pretty/standard+] (default: standard+) | |
block = -1 | |
style = pretty | |
# clean the dump dir each start | |
clean.on.restart = true | |
} | |
# structured trace | |
# is the trace being | |
# collected in the | |
# form of objects and | |
# exposed to the user | |
# in json or any other | |
# convenient form. | |
vm.structured { | |
trace = false | |
dir = vmtrace | |
compressed = true | |
initStorageLimit = 10000 | |
} | |
# make changes to tracing options | |
# starting from certain block | |
# -1 don't make any tracing changes | |
trace.startblock = -1 | |
# invoke vm program on | |
# message received, | |
# if the vm is not invoked | |
# the balance transfer | |
# occurs anyway [true/false] | |
play.vm = true | |
# hello phrase will be included in | |
# the hello message of the peer | |
hello.phrase = Dev | |
# this property used | |
# mostly for a debug purpose | |
# so if you don't know exactly how | |
# to apply it leave to be [-1] | |
# | |
# ADVANCED: if we want to load a root hash | |
# for db not from the saved block chain (last block) | |
# but any manual hash this property will help. | |
# values [-1] - load from db | |
# [hex hash 32 bytes] root hash | |
root.hash.start = null | |
# Key value data source values: [leveldb/redis/mapdb] | |
keyvalue.datasource = leveldb | |
# Redis cloud enabled flag. | |
# Allows using RedisConnection for creating cloud based data structures. | |
redis.enabled=false | |
record.blocks=false | |
blockchain.only=false | |
# Load the blocks | |
# from a rlp lines | |
# file and not for | |
# the net | |
blocks.loader="" | |
# the parameter speciphy when exactly | |
# to switch managing storage of the | |
# account on autonomous db | |
details.inmemory.storage.limit=1000 | |
# cache for blockchain run | |
# the flush hapens depending | |
# on memory usage or blocks | |
# treshhold if both specipied | |
# memory will take precedence | |
cache { | |
flush { | |
# [0.7 = 70% memory to flush] | |
memory = 0.7 | |
# [10000 flush each 10000 blocks] | |
blocks = 10000 | |
} | |
} | |
# eth sync process | |
sync { | |
# block chain synchronization | |
# can be: [true/false] | |
enabled = true | |
# maximum blocks hashes to ask. | |
# sending GET_BLOCK_HASHES msg | |
# we specify number of block we want | |
# to get, recomendec value [1..1000] | |
# Default: unlimited | |
max.hashes.ask = 10000 | |
# maximum blocks to ask, | |
# when downloading the chain | |
# sequenteally sending GET_BLOCKS msg | |
# we specify number of blocks we want | |
# to get, recomendec value [1..120] | |
max.blocks.ask = 100 | |
# minimal peers count | |
# used in sync process | |
# sync may use more peers | |
# than this value | |
# but always trying to get | |
# at least this number from discovery | |
peer.count = 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment