Deploying error: The replica returned an HTTP Error: Http Error: status 404 Not Found, content type "text/html"

Creating UI canister on the ic_pro network.
The replica returned an HTTP Error: Http Error: status 404 Not Found, content type "text/html", content: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.21.3</center>
</body>
</html>

when i deploy canister on a special network like below:

"ic_pro": {
    "providers": ["https://ic0.app"],
    "type": "persistent"
  }

All canisters had been created, but get the http error when installing the canister code

1 Like

I’m facing the same issue right know. Did you find the solution?
Could someone help me on what to do.

it was my first trial of Dfinity and it works perfectly when i try get greet response in command line but it show 404 not found in the browser

Likely you don’t have a wallet set for the combination of identity and network. Also, there’s a bunch of better error messages in the latest version of dfx if you fancy upgrading…

I’m facing the same issue.
After “dfx deploy --network ic”
terminal showing
Creating a wallet canister on the ic network.

Error: The replica returned an HTTP Error: Http Error: status 404 Not Found, content type “text/html”, content:

404 Not Found

404 Not Found


nginx/1.21.3 ```
1 Like

Do you have a wallet configured for this identity on the network ic? Also, what version of dfx are you running?