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

The operation couldn’t be completed #5973

Open
3 tasks done
mehakdeep1898 opened this issue Sep 6, 2024 · 1 comment
Open
3 tasks done

The operation couldn’t be completed #5973

mehakdeep1898 opened this issue Sep 6, 2024 · 1 comment

Comments

@mehakdeep1898
Copy link

  • Bug report
  • Support request
  • What is the current behavior and expected behavior?
    I'm requesting with the wss://westend-rpc.polkadot.io node endpoint for the websocket; however, I'm not able to establish a connection with the endpoint.

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.

  • ** What is the motivation for changing the behavior?**
    Currently, I'm trying to establish a connection, and retrieve data. However, I cannot go to the next step, due to this issue.

Screenshot 2024-09-06 at 3 28 13 PM

Screenshot 2024-09-06 at 3 29 14 PM

  • Please tell us about your environment:

    "@polkadot/api": "^12.4.2",
    "react": "18.3.1",
    "react-native": "0.75.2",

    • Version:

    • Environment:

      React-native

    • Language:

      • TypeScript (include tsc --version)
@TarikGul
Copy link
Member

TarikGul commented Sep 6, 2024

under const api = ...

could you try await api.isReady.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants