Comments (3)
Would you like a repro for this? I could push my dfx project to a repo somewhere.
from agent-rs.
@crusso yes please
from agent-rs.
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)
- support `no_std` HOT 2
- Question: How to list transfers from a specified date? HOT 2
- I canβt add rust agent to my wasn? HOT 6
- Unable to verify a caller based on a public key HOT 14
- Async streaming of request body and response HOT 1
- `icx-cert`: reqwest response does not contain the ic-certificate header HOT 1
- Handle spec change IC-1462
- PR Title checker fails for breaking canges.
- Clean up imports introduced in PR #422
- Add AgentError variant for invalid replica data.
- Links in ic-agent module doc are 404
- Refactor ic-utils to not require Send for candid::Type HOT 2
- could not compile `ic-agent` (lib) due to 2 previous errors HOT 1
- Ed25519 pkcs8/pem has a wrong format
- ic-utils documentation broken url
- [ic-agent]async `sign` function in Identity trait HOT 1
- ic-agent example code : Might use `candid::encode_one()` method is better ? HOT 4
- agent err: DerKeyLengthMismatch { expected: 133, actual: 222 }
- upgrade to reqwest 0.12
- Is fetch_subnet_by_canister already functional? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agent-rs.