Can't deploy canisters that I once could

A few weeks ago I was able to deploy my canister to Sodium just fine. Now I’m getting errors.
Here’s the repo: https://github.com/phase-all/phase-all
Using DFX 0.6.12.
The first error is below:
Deploying all canisters.
All canisters have already been created.
Building canisters…
Executing ‘cargo build --target wasm32-unknown-unknown --package controller’
Finished dev [unoptimized + debuginfo] target(s) in 2.14s
Building frontend…
Installing canisters…
Installing code for canister controller, with canister_id x5lkf-zecaa-aaaaa-aaaaa-eaaaa-aaaaa-aaaaa-q
An error occured:
AgentError(
TimeoutWaitingForResponse,
)

I tried deploying again after that:
Deploying all canisters.
All canisters have already been created.
Building canisters…
Executing ‘cargo build --target wasm32-unknown-unknown --package controller’
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Building frontend…
Installing canisters…
Installing code for canister controller, with canister_id x5lkf-zecaa-aaaaa-aaaaa-eaaaa-aaaaa-aaaaa-q
replica error. attempting install
Installing code for canister controller, with canister_id x5lkf-zecaa-aaaaa-aaaaa-eaaaa-aaaaa-aaaaa-q
Replica error (code 5): IC0512: Only the controller of canister x5lkf-zecaa-aaaaa-aaaaa-eaaaa-aaaaa-aaaaa-q can control it.
Expected controller: 726dh-cwnyy-3jxzk-i74cb-zl4na-m3kky-sml7m-3szg4-o7yki-qmnqq-rae
Actual controller: qpajs-gadcf-vdfkt-hmzxt-anxby-i6ioz-xotfv-quray-rnlwe-mxr7n-7ae

I deleted canister_ids.json and tried again, still getting errors:

Deploying all canisters.
Creating canisters...
Creating canister "controller"...
"controller" canister created on network "ic" with canister id: "ika5d-cujaa-aaaaa-aaaaa-eaaaa-aaaaa-aaaaa-q"
Creating canister "frontend"...
"frontend" canister created on network "ic" with canister id: "vadqz-2ekaa-aaaaa-aaaaa-eaaaa-aaaaa-aaaaa-q"
Building canisters...
Executing 'cargo build --target wasm32-unknown-unknown --package controller'
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
Building frontend...
Installing canisters...
Installing code for canister controller, with canister_id ika5d-cujaa-aaaaa-aaaaa-eaaaa-aaaaa-aaaaa-q
Installing code for canister frontend, with canister_id vadqz-2ekaa-aaaaa-aaaaa-eaaaa-aaaaa-aaaaa-q
Replica error (HTTP status 400): Could not convert to Ingress message: InvalidIngressExpiry("Specified ingress_expiry 1604681425771641876ns is not in the expected time range [1604681065802961770 .. 1604681365802961770]")

After deleting canister_ids.json multiple times somehow it deployed :slight_smile: Here’s the URL if that’s helpful: https://i3sny-2eiaa-aaaaa-aaaaa-caaaa-aaaaa-aaaaa-q.ic0.app/

1 Like