# Issues with deployment with dfx replica returns not found

**URL:** <https://forum.dfinity.org/t/issues-with-deployment-with-dfx-replica-returns-not-found/12753>\
**Category:** Command Line Tools\
**Created:** [May 5, 2022, 8:12pm UTC](https://forum.dfinity.org/t/issues-with-deployment-with-dfx-replica-returns-not-found/12753 "2022-05-05T20:12:05Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![lastmjs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/lastmjs/32/3406_2.png) [@lastmjs](https://forum.dfinity.org/u/lastmjs)\
**Post date:** [May 6, 2022, 12:58pm UTC](https://forum.dfinity.org/t/issues-with-deployment-with-dfx-replica-returns-not-found/12753/8 "2022-05-06T12:58:22Z")

</div>

This works: [New and Improved Rust CDK: First-class support for Rust Canister Development - #26 by roman-kashitsyn](https://forum.dfinity.org/t/new-and-improved-rust-cdk-first-class-support-for-rust-canister-development/10399/26)

In the next release of Azle a `.gz` version of the binary will automatically be produced that you can use to deploy to mainnet. You just need to manually change your dfx.json to point to the `.gz` file when deploying to mainnet.

---

_[View the full topic](https://forum.dfinity.org/t/issues-with-deployment-with-dfx-replica-returns-not-found/12753)._
