Troubleshooting
What to do when a step stops with an error, from expired sessions to vCPU limits.
On this page
Almost every step can safely be run again: an interrupted command picks up where it stopped. When in doubt, run it again, and if the error repeats, send the output to your LayerZero contact. Your keys never appear in it.
Signing in and sessions
| You see | Do this |
|---|---|
command not found: zero | You're in a new terminal. Set it up again: Step 1. |
| "session ended", "no usable credentials" or "can't be used" from the tool | The tool's one-hour session ran out. Run the same zero command again: it starts a fresh hour and picks up where it stopped. |
"expired" or "password is empty" from aws or docker login | Sign in to AWS again (for example aws sso login), then run the docker login line from your invite again. |
AccessDenied for AssumeRole from the zero command | Either Step 2 isn't done in this account and Region, or it doesn't name you. Ask your AWS administrator. |
| "runs only as the zero-onboarding role" | You ran the image directly. Use the zero command from Step 1c. |
| "signed in as … root user" | Sign in as an IAM user or role, not the account's root user. |
| "open /dev/fd/…: no such file or directory" | You ran Docker with sudo. Run it as yourself (on Linux, join the docker group). |
| "this account has no zero-onboarding stack in …" | AWS_REGION isn't the Region your administrator used. Paste the export AWS_REGION= line from your invite again. |
Generating your keys
| You see | Do this |
|---|---|
| No code email after a minute | Check your junk folder and that you typed the invited email. Then press Ctrl-C and run zero register again for a new code. |
| A warning about your vCPU quota, or "couldn't check your vCPU quota" | Have your administrator check Running On-Demand Standard (A, C, D, H, I, M, R, T, Z) instances in Service Quotas (Amazon EC2, your Region). If it's below the vCPUs named, ask AWS to raise it now: it can take a day. Step 3 carries on meanwhile. |
| Your validator host's type "isn't offered" in your Region | Step 3 is fine. Ask your LayerZero contact before Step 4. |
REJECTED: <reason> | See If it's rejected. |
| "the keygen instance stopped without storing your public file" | Run the aws ec2 get-console-output command it shows and send the output to your LayerZero contact. Then run zero register again. |
Running your validator
| You see | Do this |
|---|---|
| Step 4 fails on a vCPU limit | Your administrator asks AWS to raise the quota above (it can take a day). Do what the message says: it may ask you to delete the zero-validator stack, which is safe at that point because nothing in it was used. Then run zero validator prepare again. Don't run Step 3 again for this. |
| A failed check, with the end of the host's log | Send it to your LayerZero contact. |
"your validator isn't prepared" on start | Run zero validator prepare first. |
An interrupted zero validator prepare | Run it again. If it had stopped your running validator, the rerun starts it again. |
peers=0 or finalized_height not rising | Check the host is running in EC2, and that nothing blocks TCP 9000 to it. Then send zero validator status to your LayerZero contact. |
Before you delete anything
Don't delete the zero-validator stack to start over unless a zero command tells you to. It keeps your validator's data volume and IP address on purpose, and the tool won't create a new host beside them. Ask LayerZero instead.
For anything not listed here, send the full output to your LayerZero contact.