4

The PubsubClient::slot_subscribe(&args.endpoint).unwrap(); returns an error ``Err value: ConnectionError(Url(UnsupportedUrlScheme))' when using "https://api.devnet.solana.com"

1
  • Shouldn't you be using the WS url for pubsub?
    – Frank C.
    Aug 13, 2022 at 7:28

1 Answer 1

2

use wss://api.devnet.solana.com as endpoint

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.