Skip to content

Web socket fails on Web #1216

Closed
Closed
@Arpit1496

Description

@Arpit1496

Describe the issue
Web socket connection fails on browser. The exact same code works on ubuntu 18.04, but fails on web.

To Reproduce (MUST BE PROVIDED)

To help us to understand what is going on and what is the easy way to resolve this bug
we ask to describe the issue with a small code example, or if the problem is easy you can
describe the issue as follows:

  1. When I use 'WebSocketLink' to try 'web sockets in flutter'
  2. I receive the following 'websocket failed to connect' on web.But the same link connects on ubuntu. I have seen for any cors issue and also used the CORS extention for chrome but had no success.
  3. See error also the error if any
  4. But I would like to receive know why the same link with same auth and tokens and initial payloads work in 1 platform but not in web.

device / execution context
I run code on ubuntu with ws://api.kryptonait.com url for socket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⌛ reproduction neededIssue is subtle and requires a true accessible reproduction to debugPriority: Waiting to be assignedTo be inside the next release process, it need to be marked with some level of priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions