Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to deploy to beta-2 testnet with https returns an invalid url scheme #793

Closed
kayagokalp opened this issue Nov 28, 2022 · 2 comments · Fixed by #821
Closed

Trying to deploy to beta-2 testnet with https returns an invalid url scheme #793

kayagokalp opened this issue Nov 28, 2022 · 2 comments · Fixed by #821
Assignees
Labels
bug Something isn't working

Comments

@kayagokalp
Copy link
Member

I am not sure if this is related to the deployment configuration or related to here but trying to deploy a contract to the beta-2 test net with forc deploy --url https://node-beta-2.fuel.network/graphql --gas-price 1 returns graphql error: invalid URL, scheme is not http. Switching https://node-beta-2.fuel.network/graphql to http://node-beta-2.fuel.network/graphql fixes this.

@kayagokalp kayagokalp added the bug Something isn't working label Nov 28, 2022
@ControlCplusControlV
Copy link
Contributor

Error: Custom { kind: Other, error: "Graphql error: HttpStream(hyper::Error(Connect, \"invalid URL, scheme is not http\"))" }

Full error message, seems hyper_tls may be needed somewhere

@ControlCplusControlV
Copy link
Contributor

ControlCplusControlV commented Dec 3, 2022

So I've traced the dep, doesn't explain the issue yet but points to where hyper error came from. We use cynic in fuel-client which in the uses surf which then has an upstream dep on hyper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants