Giter Club home page Giter Club logo

Comments (3)

crusso avatar crusso commented on August 22, 2024

Would you like a repro for this? I could push my dfx project to a repo somewhere.

from agent-rs.

p-shahi avatar p-shahi commented on August 22, 2024

@crusso yes please

from agent-rs.

crusso avatar crusso commented on August 22, 2024

Prithvi, I create a private repo for you here https://github.com/crusso/repro. You'll need to accept the invitation.

Basic example is:

actor {
    public func recurse(n : Nat) : async () {
      if (n <= 0) () else await recurse(n - 1);
    };
};

repro

crusso@crusso-Virtual-Machine:~/dfx0.6.21/repro$ dfx start --background
Feb 01 18:37:42.438 INFO ic-starter. Configuration: ValidatedConfig { replica_path: Some("/home/crusso/.cache/dfinity/versions/0.6.21/replica"), replica_version: "0.1.0", log_level: Warning, subnet_id: fscpm-uiaaa-aaaaa-aaaap-yai, cargo_bin: "cargo", cargo_opts: "", state_dir: "/home/crusso/dfx0.6.21/repro/.dfx/state/replicated_state", http_listen_addr: V4(127.0.0.1:0), http_port_file: Some("/home/crusso/dfx0.6.21/repro/.dfx/replica-configuration/replica-1.port"), metrics_addr: None, hypervisor_create_funds_whitelist: "*", artifact_pool_dir: "/home/crusso/dfx0.6.21/repro/.dfx/state/replicated_state/node-100/ic_consensus_pool", crypto_root: "/home/crusso/dfx0.6.21/repro/.dfx/state/replicated_state/node-100/crypto", state_manager_root: "/home/crusso/dfx0.6.21/repro/.dfx/state/replicated_state/node-100/state", registry_file: "/home/crusso/dfx0.6.21/repro/.dfx/state/replicated_state/registry.proto", bootstrap_registry: None, state_dir_holder: None }, Application: starter
Feb 01 18:37:42.439 INFO Initialize replica configuration "/home/crusso/dfx0.6.21/repro/.dfx/state/replicated_state/ic.json5", Application: starter
Feb 01 18:37:42.458 INFO Executing "/home/crusso/.cache/dfinity/versions/0.6.21/replica" "--replica-version" "0.1.0" "--config-file" "/home/crusso/dfx0.6.21/repro/.dfx/state/replicated_state/ic.json5", Application: starter
Feb 01 18:37:43.489 ERRO s:fscpm-uiaaa-aaaaa-aaaap-yai/n:xeljp-wx75g-cz2dw-kdcv3-uzgnn-3o4us-mouju-lquav-kuhcp-pggov-mae/ic_messaging/xnet_endpoint No XNet configuration for node xeljp-wx75g-cz2dw-kdcv3-uzgnn-3o4us-mouju-lquav-kuhcp-pggov-mae. This is an error in production, but may be ignored in single-subnet test deployments.
Feb 01 18:37:44.496 WARN s:fscpm-uiaaa-aaaaa-aaaap-yai/n:xeljp-wx75g-cz2dw-kdcv3-uzgnn-3o4us-mouju-lquav-kuhcp-pggov-mae/ic_http_handler/ic_http_handler NNS subnet not found in network topology. Skipping fetching the delegation.
Starting webserver on port 45757 for replica at "http://localhost:45757"
binding to: V4(127.0.0.1:8000)
replica(s): http://localhost:45757/
crusso@crusso-Virtual-Machine:~/dfx0.6.21/repro$ dfx canister create --all
Creating canister "repro"...
"repro" canister created with canister id: "rwlgt-iiaaa-aaaaa-aaaaa-cai"
Creating canister "repro_assets"...
"repro_assets" canister created with canister id: "rrkah-fqaaa-aaaaa-aaaaq-cai"
crusso@crusso-Virtual-Machine:~/dfx0.6.21/repro$ dfx build
Building canisters...
Building frontend...
crusso@crusso-Virtual-Machine:~/dfx0.6.21/repro$ dfx canister install --all
Installing code for canister repro, with canister_id rwlgt-iiaaa-aaaaa-aaaaa-cai
Installing code for canister repro_assets, with canister_id rrkah-fqaaa-aaaaa-aaaaq-cai
Uploading assets to asset canister...
crusso@crusso-Virtual-Machine:~/dfx0.6.21/repro$ dfx canister call repro recurse 100
The replica returned an HTTP Error: Http Error: status 400 Bad Request, content type "text/plain; charset=UTF-8", content: Could not convert to a Query or request_status message: InvalidIngressExpiry("Specified ingress_expiry 1612205115636446837ns is less than allowed expiry time 1612205116288686223ns")

from agent-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.