-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Description
I’m experiencing a “Port number is missing in the URL” error when trying to connect to Sui Mainnet using Ankr’s RPC URL. I have tried different configurations, including appending :443 to the URL and switching from HTTPS to HTTP, but the issue persists.
Thank you for your help, saw also others having the issue, but couldn't see the solution there.
Steps to Reproduce Issue
$ sui client new-address ed25519
Config file ["/Users/./.sui/sui_config/client.yaml"] doesn't exist, do you want to connect to a Sui Full node server [y/N]?y
Sui Full node server URL (Defaults to Sui Testnet if not specified) :
https://rpc.ankr.com/sui/your-api-key...
Environment alias for [https://rpc.ankr.com/sui/your-api-key...] : ankr
Select key scheme to generate keypair (0 for ed25519, 1 for secp256k1, 2: for secp256r1):
0
Networking or low-level protocol error: Invalid Url: Port number is missing in the URL
Expected Result
Connection to Sui Mainnet without issues.
Actual Result
Networking or low-level protocol error: Invalid Url: Port number is missing in the URL
System Information
• Sui CLI version: 1.34.0-f28674511c84
• Compiler: Apple clang version 15.0.0
• OS: macOS arm64