Issue on deploying canisters to main network ic

I tried to deploy my canisters to the main network using dfx deploy --network ic and I’m getting the following error when installing stage of canisters The replica returned an HTTP Error: Http Error: status 403 Forbidden, content type "application/cbor", content: Requested canister rejected the message. I have to use my wallet to fix that issue with this cmd dfx deploy --network ic --wallet <wallet-address>. Why is that? Am I missing something?
reference: 5. Deploying On-chain (1 min) :: Internet Computer

1 Like

Did you create the canister with dfx <0.9.0? If so, please see the migration instructions in the changelog.

Basically: dfx <0.9.0 always had an implicit --wallet <wallet-address>, but this has changed to an implicit --no-wallet

No I’m using the latest version of dfx (0.9.3)

You can still use the instruction from the changelog to remove the need for the --wallet proxy:

dfx canister --wallet "$(dfx identity get-wallet)" update-settings --all --add-controller "$(dfx identity get-principal)"

1 Like