polkadot-js / api

Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
Apache License 2.0
1.07k stars 350 forks source link

The operation couldn’t be completed #5973

Open mehakdeep1898 opened 1 week ago

mehakdeep1898 commented 1 week ago

Current Behavior: I'm trying to retrieve the api through inputting the wss://westend-rpc.polkadot.io endpoint into the websocket. However, it returns this message: API-WS: disconnected from wss://westend-rpc.polkadot.io: 1006:: The operation couldn’t be completed. (OSStatus error -9836.)

while running on android it is connected but giving issue in ios.

Expected Behavior: Establish a connection with the wss://westend-rpc.polkadot.io node endpoint.

Screenshot 2024-09-06 at 3 28 13 PM

Screenshot 2024-09-06 at 3 29 14 PM

TarikGul commented 1 week ago

under const api = ...

could you try await api.isReady.