FuelLabs / fuels-rs

Fuel Network Rust SDK
https://fuellabs.github.io/fuels-rs
Apache License 2.0
44.17k stars 1.34k forks source link

Error making HTTP request #1387

Closed SwayStar123 closed 4 months ago

SwayStar123 commented 4 months ago

Reproduction: https://github.com/SwayStar123/testing_proj

Error


thread 'test_proxy' panicked at tests/harness.rs:77:10:
called `Result::unwrap()` on an `Err` value: Provider("io error: Error making HTTP request: error sending request for url (http://127.0.0.1:34031/v1/graphql): connection closed before message completed")

---- test_proxy2 stdout ----
thread '<unnamed>' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fuel-vm-0.49.0/src/interpreter/blockchain.rs:650:18:
source slice length (8) does not match destination slice length (584)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fuel-vm-0.49.0/src/interpreter/blockchain.rs:650:18:
source slice length (8) does not match destination slice length (584)
thread 'test_proxy2' panicked at tests/harness.rs:97:10:
called `Result::unwrap()` on an `Err` value: Provider("io error: Error making HTTP request: error sending request for url (http://127.0.0.1:35479/v1/graphql): connection closed before message completed")```
Br1ght0ne commented 4 months ago

Reproduced, looking into it.

Br1ght0ne commented 4 months ago

Caused by a VM bug: https://github.com/FuelLabs/fuel-vm/pull/736. Thanks to @MujkicA for triage.

Br1ght0ne commented 4 months ago

Fixed in version 0.63 of the SDK. Verified on the repro project.