Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mina-archive does not work #8082

Closed
sm1ck opened this issue Mar 2, 2021 · 6 comments
Closed

mina-archive does not work #8082

sm1ck opened this issue Mar 2, 2021 · 6 comments

Comments

@sm1ck
Copy link

sm1ck commented Mar 2, 2021

  1. Running Block Producer as docker image minaprotocol/mina-daemon-baked:1.0.0-fd39808
  2. Running mina-archive as daemon mina-archive=1.0.0-fd39808
    Error:
{
      "sexp": [
        [
          "rpc_error",
          [
            "Bin_io_exn",
            [
              [ "location", "server-side rpc query un-bin-io'ing" ],
              [
                "exn",
                [
                  "Failure",
                  "bin_read_t: version read 260000000 does not match expected version 1"
                ]
              ]
            ]
          ]
        ],
        [ "connection_description", "<created-directly>" ],
        [ "rpc_tag", "Send_archive_diff" ],
        [ "rpc_version", "0" ]
      ]
    }
  ],
  "length": 5,
  "tags": [
    {
      "tag":
        "Could not send archive diff data to archive process after 5 tries. The process may not be running, please check the daemon-argument",
      "sexp": [
        [ "host_and_port", [ "host.docker.internal", "3086" ] ],
        [ "daemon-argument", "--archive-address" ]
      ]
    }

In the previous testnet everything worked fine but now it does not.

@mnguyen-io
Copy link

I'm also seeing this same issue.

mina-testnet-postake-medium-curves=1.0.0-fd39808
mina-archive=0.4.2-245a3f7

@bkase bkase added this to Discuss in MainNet Mar 2, 2021
@psteckler
Copy link
Member

I think the mina-archive container needs to be updated.

@psteckler
Copy link
Member

@sm1ck Did you mean that's the version of coda-archive (not mina-archive)?

@garethtdavies
Copy link
Contributor

garethtdavies commented Mar 2, 2021

I have this issue https://discord.com/channels/484437221055922177/799597981762453535/816159739016380456

Others have seen the same behavior https://discord.com/channels/484437221055922177/799597981762453535/816328426545348699 where we have stored blocks 1 through 4 and also block 53 (that's probably a decent clue) and that's it... Otherwise it fails with {"sexp":[["rpc_error",["Bin_io_exn",[["location","server-side rpc query un-bin-io'ing"],["exn",["Failure","bin_read_t: version read 260000000 does not match expected version 1"]

I'm running gcr.io/o1labs-192920/coda-archive:1.0.0-fd39808 which is also published via DockerHub now.

@psteckler
Copy link
Member

@garethtdavies yes, we're seeing it in the testnet deploy

@sm1ck
Copy link
Author

sm1ck commented Mar 2, 2021

@sm1ck Did you mean that's the version of coda-archive (not mina-archive)?

It's coda-archive in /usr/local/bin but package named mina-archive

apt-get install mina-archive
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mina-archive is already the newest version (1.0.0-fd39808).

@aneesharaines aneesharaines moved this from Discuss to To do in MainNet Mar 2, 2021
@aneesharaines aneesharaines changed the title mina-archive does not work with new final testnet and docker node (version read 260000000 does not match expected version 1) mina-archive does not work Mar 2, 2021
@aneesharaines aneesharaines added this to the Mina 1.0.1 milestone Mar 3, 2021
@aneesharaines aneesharaines moved this from To do to In Review in MainNet Mar 4, 2021
@nholland94 nholland94 moved this from In Review to Done in MainNet Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

8 participants