Unknown reference block of peer

Peering from command line gives me this error:

$ duniter peer peer.duniter.org 8999
2016-09-27T18:37:04+00:00 - debug: Plugging file system...
2016-09-27T18:37:04+00:00 - debug: Loading conf...
2016-09-27T18:37:04+00:00 - debug: Loading crypto functions...
2016-09-27T18:37:05+00:00 - debug: Upgrade database...
2016-09-27T18:37:05+00:00 - info: Fetching peering record at peer.duniter.org:8999...
2016-09-27T18:37:05+00:00 - info: Apply peering ...
2016-09-27T18:37:05+00:00 - error: Unknown reference block of peer
2016-09-27T18:37:05+00:00 - error:  Error: Exiting
    at Error (native)
    at /opt/duniter/sources/app/cli.js:236:15
    at process._tickCallback (node.js:412:9)
2016-09-27T18:37:05+00:00 - error:  Error: Error: Exiting
    at Error (native)
    at /opt/duniter/sources/app/cli.js:828:15
    at process._tickCallback (node.js:412:9)
2016-09-27T18:37:05+00:00 - error:  Error: Error: Exiting
    at Error (native)
    at /opt/duniter/sources/app/cli.js:828:15
    at process._tickCallback (node.js:412:9)

Is there something wrong with my setup or with peer.duniter.org ?

Strange, may be an other ticket :smile_cat:

OK, hang on… this seems to happen when doing a duniter peer ... before any duniter sync ... has been issued. After a successful first sync, the error does not occur anymore.

Maybe not a bug then? Just needs a “catch” and more meaningful terminal message?

Yes, probably :slight_smile: