Skip to content

Error Domain=NSURLErrorDomain Code=-1011 "There was a bad response from the server." #16

@danhdevelop

Description

@danhdevelop

Loop receiving NSURLErrorDomain error

Error Domain=NSURLErrorDomain Code=-1011 "There was a bad response from the server."

I am following the ReadMe.md and trying to init realtime connection, but only receive error as above. I checked the source code and look like there is no place to attach access_token to the connection. I believe that is the main reason of the error ( but not really sure yet)

To Reproduce

  1. Create an iOS sample project with Xcode
  2. Add package supabase realtime-swift
  3. Follow their ReadMe.md to declare the client instance and try to init the connection.

Screenshots

image

System information

  • Version of supabase realtime-swift: 0.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions