I get the following error when I try to deploy my contract:
request returned an error: error trying to connect: invalid URL, scheme is not http
Error: Custom { kind: Other, error: “Graphql error: HttpStream(hyper::Error(Connect, "invalid URL, scheme is not http"))” }
4 Likes
This is a known issue when trying to deploy to beta-2. This will be fixed in the new version of fuel-core
. Follow the progress here - Trying to deploy to beta-2 testnet with https returns an invalid url scheme · Issue #793 · FuelLabs/fuel-core · GitHub
The workaround for this as of now is to run the deploy command without the http prefix: forc deploy --url node-beta-2.fuel.network/graphql --gas-price 1
3 Likes
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.