{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/ethereumj/issues/1140","repository_url":"https://api.github.com/repos/ethereum/ethereumj","labels_url":"https://api.github.com/repos/ethereum/ethereumj/issues/1140/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/ethereumj/issues/1140/comments","events_url":"https://api.github.com/repos/ethereum/ethereumj/issues/1140/events","html_url":"https://github.com/ethereum/ethereumj/issues/1140","id":346890716,"node_id":"MDU6SXNzdWUzNDY4OTA3MTY=","number":1140,"title":"ethereumj + parity no peer","user":{"login":"vachrushev","id":42025533,"node_id":"MDQ6VXNlcjQyMDI1NTMz","avatar_url":"https://avatars1.githubusercontent.com/u/42025533?v=4","gravatar_id":"","url":"https://api.github.com/users/vachrushev","html_url":"https://github.com/vachrushev","followers_url":"https://api.github.com/users/vachrushev/followers","following_url":"https://api.github.com/users/vachrushev/following{/other_user}","gists_url":"https://api.github.com/users/vachrushev/gists{/gist_id}","starred_url":"https://api.github.com/users/vachrushev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vachrushev/subscriptions","organizations_url":"https://api.github.com/users/vachrushev/orgs","repos_url":"https://api.github.com/users/vachrushev/repos","events_url":"https://api.github.com/users/vachrushev/events{/privacy}","received_events_url":"https://api.github.com/users/vachrushev/received_events","type":"User","site_admin":false},"labels":[{"id":99167535,"node_id":"MDU6TGFiZWw5OTE2NzUzNQ==","url":"https://api.github.com/repos/ethereum/ethereumj/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-02T07:25:50Z","updated_at":"2018-08-02T07:39:44Z","closed_at":null,"author_association":"NONE","body":"Hello. My ethereumj app not sync block chain.\r\n**App:** (Link in pastebin [https://pastebin.com/tPmkXM41](url))\r\n```\r\npublic class Main extends EthereumListenerAdapter {\r\n    public static void main(String[] args) {\r\n        Ethereum ethereum = EthereumFactory.createEthereum();\r\n        ethereum.addListener(new Main());\r\n    }\r\n}\r\n```\r\n**ethereumj.conf :** (Link in pastebin https://pastebin.com/uRBrqDiU)\r\n```\r\npeer = {\r\n    discovery.enabled = false\r\n    listen.port = 0\r\n    active = [\r\n        {url = \"enode://f43e4c5d672d3054786aa5eb4e7efe9bcb41d9b5faa6858dd0176d516c37373f56e073b71e0b80ec487b29d087e9e747eb5d76c80b9cfb7c626c047f8f0fa1e6@192.168.0.114:30303\"}\r\n      ]\r\n}\r\npeer.networkId = 8690\r\npeer.p2p.eip8 = false\r\nblockchain.config.name = \"testnet\"\r\ndatabase {\r\n    # place to save physical storage files\r\n    dir = database-parity\r\n}\r\npeer.discovery.enabled = true\r\ndatabase.reset = false\r\nsync.enabled = true\r\nsync.fast.enabled = true\r\nkeyvalue.datasource = rocksdb\r\n```\r\n**Parity start:**\r\nparity --config dev \r\n\r\n**Parity logs:**\r\n```\r\n018-08-02 12:13:49  Starting Parity-Ethereum/v2.0.1-beta-e7dc0be-20180726/x86_64-linux-gnu/rustc1.27.2\r\n2018-08-02 12:13:49  Keys path /home/user/.local/share/io.parity.ethereum/keys/DevelopmentChain\r\n2018-08-02 12:13:49  DB path /home/user/.local/share/io.parity.ethereum/chains/DevelopmentChain/db/1484bce8c021f2ca\r\n2018-08-02 12:13:49  State DB configuration: fast\r\n2018-08-02 12:13:49  Operating mode: active\r\n2018-08-02 12:13:49  Configured for DevelopmentChain using InstantSeal engine\r\n2018-08-02 12:13:54  Public node URL: enode://f43e4c5d672d3054786aa5eb4e7efe9bcb41d9b5faa6858dd0176d516c37373f56e073b71e0b80ec487b29d087e9e747eb5d76c80b9cfb7c626c047f8f0fa1e6@192.168.0.114:30303\r\n2018-08-02 12:14:24     0/25 peers   9 KiB chain 32 KiB db 0 bytes queue 448 bytes sync  RPC:  0 conn,    0 req/s,    0 µs\r\n2018-08-02 12:14:54     0/25 peers   9 KiB chain 32 KiB db 0 bytes queue 448 bytes sync  RPC:  0 conn,    0 req/s,    0 µs\r\n....\r\n```\r\n\r\n**App logs:**\r\n\r\n```\r\n14:17:03.506 INFO [general]  Config ( yes ): default properties from resource 'ethereumj.conf'\r\n14:17:03.506 INFO [general]  Config ( no  ): user properties from -Dethereumj.conf.res resource 'null'\r\n14:17:03.507 INFO [general]  Config ( no  ): user properties from resource 'user.conf'\r\n14:17:03.507 INFO [general]  Config ( no  ): user properties from file '/home/user/work/ethereum/config/ethereumj.conf'\r\n14:17:03.507 INFO [general]  Config ( no  ): test properties from resource 'test-ethereumj.conf'\r\n14:17:03.507 INFO [general]  Config ( no  ): test properties from resource 'test-user.conf'\r\n14:17:03.507 INFO [general]  Config ( no  ): user properties from -Dethereumj.conf.file file 'null'\r\n14:17:03.507 INFO [general]  Config ( no  ): config passed via constructor\r\n14:17:03.525 INFO [general]  Running frontier.json,  core version: 1.8.1-RELEASE\r\n14:17:03.526 INFO [general]  git.hash: [a47945b]\r\n14:17:03.526 INFO [general]  build.time: [GMT]-[26/Jun/2018]-[18:27]\r\n14:17:03.527 INFO [general]  Created database version file\r\n14:17:03.527 INFO [general]  capability eth version: [62, 63]\r\n14:17:03.527 INFO [general]  capability shh version: [3]\r\n14:17:03.527 INFO [general]  capability bzz version: [0]\r\n14:17:04.110 INFO [general]  New nodeID generated: c43d9c4970fa1f336723981e1113fa893f2a84a244d9b7da83545e99b0963f2d39d997bb0ff4f34c6b3c83e7a5caab16bc931ad7b821475ae9393bac0ae86344\r\n14:17:04.110 INFO [general]  Generated nodeID and its private key stored in database-parity/nodeId.properties\r\n14:17:04.332 INFO [general]  rocksdb key-value data source created: peers\r\n14:17:04.345 INFO [general]  External IP wasn't set, using checkip.amazonaws.com to identify it...\r\n14:17:04.799 INFO [general]  External address identified: 192.168.0.114\r\n14:17:04.818 INFO [discover]  Pinging discovery nodes...\r\n14:17:04.856 INFO [general]  rocksdb key-value data source created: blockchain\r\n\r\n14:17:04.984 INFO [general]  EthereumJ node started: enode://c43d9c4970fa1f336723981e1113fa893f2a84a244d9b7da83545e99b0963f2d39d997bb0ff4f34c6b3c83e7a5caab16bc931ad7b821475ae9393bac0ae86344@192.168.0.114:0\r\n14:17:04.991 INFO [general]  DB is empty - adding Genesis\r\n14:17:05.115 INFO [general]  Genesis block loaded\r\n14:17:05.134 INFO [general]  Bind address wasn't set, Punching to identify it...\r\n14:17:05.199 INFO [general]  UDP local bound to: 192.168.0.114\r\n14:17:05.199 ERROR [discover]  Discovery can't be started while listen port == 0\r\n14:17:05.205 INFO [sync]  Sync Manager: ON\r\n14:17:05.205 INFO [sync]  Initializing SyncManager.\r\n14:17:05.210 INFO [sync]  FastSync: looking for best block number...\r\n14:17:05.269 INFO [general]  Ethereum listener added\r\n14:17:10.212 INFO [sync]  FastSync: waiting for at least 5 peers or 54 sec to select pivot block... (0 peers so far)\r\n14:17:15.203 INFO [net]  TCP: Speed in/out 256b / 255b(sec), packets in/out 12/17, total in/out: 2Kb / 2Kb\r\n14:17:15.203 INFO [net]  UDP: Speed in/out 0b / 0b(sec), packets in/out 0/0, total in/out: 0b / 0b\r\n14:17:15.206 INFO [sync]  Sync state: PivotBlock (9 of 60), last block #0, best known #0\r\n14:17:15.214 INFO [sync]  FastSync: waiting for at least 5 peers or 49 sec to select pivot block... (0 peers so far)\r\n14:17:20.216 INFO [sync]  FastSync: waiting for at least 5 peers or 44 sec to select pivot block... (0 peers so far)\r\n14:17:25.202 INFO [net]  TCP: Speed in/out 187b / 183b(sec), packets in/out 9/12, total in/out: 4Kb / 4Kb\r\n14:17:25.203 INFO [net]  UDP: Speed in/out 0b / 0b(sec), packets in/out 0/0, total in/out: 0b / 0b\r\n14:17:25.205 INFO [sync]  Sync state: PivotBlock (19 of 60), last block #0, best known #0\r\n14:17:25.217 INFO [sync]  FastSync: waiting for at least 5 peers or 39 sec to select pivot block... (0 peers so far)\r\n14:17:30.219 INFO [sync]  FastSync: waiting for at least 5 peers or 34 sec to select pivot block... (0 peers so far)\r\n14:17:35.202 INFO [net]  TCP: Speed in/out 187b / 183b(sec), packets in/out 9/12, total in/out: 6Kb / 6Kb\r\n14:17:35.202 INFO [net]  UDP: Speed in/out 0b / 0b(sec), packets in/out 0/0, total in/out: 0b / 0b\r\n14:17:35.205 INFO [sync]  Sync state: PivotBlock (29 of 60), last block #0, best known #0\r\n14:17:35.206 INFO [sync]  Peer stats:\r\nActive peers\r\n============\r\nOther connected peers\r\n============\r\n\r\n14:17:35.206 INFO [sync]  \r\n\r\n14:17:35.220 INFO [sync]  FastSync: waiting for at least 5 peers or 29 sec to select pivot block... (0 peers so far)\r\n14:17:40.222 INFO [sync]  FastSync: waiting for at least 5 peers or 24 sec to select pivot block... (0 peers so far)\r\n14:17:45.202 INFO [net]  TCP: Speed in/out 250b / 255b(sec), packets in/out 12/17, total in/out: 8Kb / 8Kb\r\n14:17:45.202 INFO [net]  UDP: Speed in/out 0b / 0b(sec), packets in/out 0/0, total in/out: 0b / 0b\r\n14:17:45.205 INFO [sync]  Sync state: PivotBlock (39 of 60), last block #0, best known #0\r\n14:17:45.223 INFO [sync]  FastSync: waiting for at least 5 peers or 19 sec to select pivot block... (0 peers so far)\r\n14:17:50.225 INFO [sync]  FastSync: waiting for at least 5 peers or 14 sec to select pivot block... (0 peers so far)\r\n14:17:55.202 INFO [net]  TCP: Speed in/out 250b / 244b(sec), packets in/out 12/16, total in/out: 11Kb / 10Kb\r\n14:17:55.202 INFO [net]  UDP: Speed in/out 0b / 0b(sec), packets in/out 0/0, total in/out: 0b / 0b\r\n14:17:55.205 INFO [sync]  Sync state: PivotBlock (49 of 60), last block #0, best known #0\r\n14:17:55.227 INFO [sync]  FastSync: waiting for at least 5 peers or 9 sec to select pivot block... (0 peers so far)\r\n14:18:00.228 INFO [sync]  FastSync: waiting for at least 5 peers or 4 sec to select pivot block... (0 peers so far)\r\n14:18:05.202 INFO [net]  TCP: Speed in/out 194b / 194b(sec), packets in/out 9/13, total in/out: 12Kb / 12Kb\r\n14:18:05.202 INFO [net]  UDP: Speed in/out 0b / 0b(sec), packets in/out 0/0, total in/out: 0b / 0b\r\n14:18:05.205 INFO [sync]  Sync state: PivotBlock (59 of 60), last block #0, best known #0\r\n14:18:05.206 INFO [sync]  Peer stats:\r\nActive peers\r\n============\r\nOther connected peers\r\n============\r\n\r\n14:18:05.206 INFO [sync]  \r\n\r\n14:18:05.230 INFO [sync]  FastSync: waiting for at least 5 peers or 0 sec to select pivot block... (0 peers so far)\r\n14:18:10.231 INFO [sync]  FastSync: waiting for at least 5 peers or -5 sec to select pivot block... (0 peers so far)\r\n14:18:15.202 INFO [net]  TCP: Speed in/out 250b / 255b(sec), packets in/out 12/17, total in/out: 15Kb / 15Kb\r\n...\r\n```\r\n\r\nWhy ethereumj not found my private node?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ethereum/ethereumj/issues/comments/409835979","html_url":"https://github.com/ethereum/ethereumj/issues/1140#issuecomment-409835979","issue_url":"https://api.github.com/repos/ethereum/ethereumj/issues/1140","id":409835979,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTgzNTk3OQ==","user":{"login":"mkalinin","id":1892772,"node_id":"MDQ6VXNlcjE4OTI3NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1892772?v=4","gravatar_id":"","url":"https://api.github.com/users/mkalinin","html_url":"https://github.com/mkalinin","followers_url":"https://api.github.com/users/mkalinin/followers","following_url":"https://api.github.com/users/mkalinin/following{/other_user}","gists_url":"https://api.github.com/users/mkalinin/gists{/gist_id}","starred_url":"https://api.github.com/users/mkalinin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkalinin/subscriptions","organizations_url":"https://api.github.com/users/mkalinin/orgs","repos_url":"https://api.github.com/users/mkalinin/repos","events_url":"https://api.github.com/users/mkalinin/events{/privacy}","received_events_url":"https://api.github.com/users/mkalinin/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T07:39:44Z","updated_at":"2018-08-02T07:39:44Z","author_association":"CONTRIBUTOR","body":"Can you just remove `listen.port = 0` from your configuration. `discovery.enabled = false` definition is pretty enough. and a question: why do you need to disabled `eip8` handshake format? This option was added for test causes"}}
{"actor":{"display_login":"mkalinin"}}