Problem with Proof-Server

Hi guys. I’m trying to learn about midnight and I’m having issues when trying to use Midnight’s Proof-Server 4.0.0.

The problem is simply that it is not working on certain linux setups. For example, I’m using an intel celeron N4500 with Linux Mint w. 16GB RAM and it won’t run that version. I could manage to make it run in another pc through WSL with Ubuntu 24.04 and also in another pc with linux (Ubuntu 24.04 as well.
I thought it might be the hardware that is not very capable, however, the previous version does run with no issues at all, so I wonder if that’s not the case. Also, my friend with a debian setup can’t run last version and thus we cannot correctly run the tutorial examples.

The server just crashes, it gets stuck retrievieng the zkir stuff. It simply breaks there and never starts to actually lisent. Any idea who could solve this issue?

1 Like

Hey @gonza could you share with me the configuration of the proof-server service? The ones I use in the quick starter (testnet.yml and standalone.yml) work without a problem. I’m sure they could help you.

They are very similar for TestNet or Standalone, here is the example:

  proof-server:
    container_name: 'quick-starter-proof-server'  ## -------> Use the appropriate for your service
    image: 'midnightnetwork/proof-server:4.0.0'
    entrypoint: ['midnight-proof-server', '--network', 'undeployed', '--verbose'] ## -------> If you are in testnet replace undeployed flag with 'testnet'.
    ports:
      - "6300:6300"
    volumes:
      - ${PWD}/.cache/midnight/zk-params:/.cache/midnight/zk-params
    environment:
      RUST_BACKTRACE: "full"
      RUST_LOG: "trace,actix_web::middleware::logger=trace,actix_web=trace"
1 Like

I’m using ‘midnightnetwork/proof-server:4.0.0’, the same that you are using in the quick starter. Also in the testnet. The weird thing is that it does work in one of the computeres but not on the other, and both following the same steps as the tutorial

1 Like

Strange, what error are you getting? Can you attach a screenshot? The funny thing is, it should work on Linux without any problems!

1 Like

It simply never starts to listen and crashes.

1 Like

Hey @gonza I don’t see anything that could be an error. What it says there is that it can’t find something, it searches for it, and downloads it correctly.

Could you send me your .yml file where you have the configuration for the container?

Question: Why are you using docker run? If you do, you must specify everything in the .yml, and you’re not doing that there.

Try this command:

docker compose -f testnet.yml up

And please send me a screenshot of what it does!

If you’re using the same configurations I used in the quick starter, it should work.

1 Like

I’m just following the steps from the tutorial. There’s no manual .yml I’ve just use the command that appears on midnights docs to run the proof-server

1 Like

@gonza can you send me the yml file you’re using here please?

1 Like