Skip to content

XMLHttpRequest error while using http post flutter web #143

Open
@deniscass

Description

Describe the bug

I`m attempt use a self installed typesense server to get better search in my Flutter web project.
Is a simple personal project to start learning about typesense. But i get issues to get server access in my flutter web lcoalhost develop machine. with a generic error:

XMLHttpRequest error in search and crud operations to add content to index search.
I`m using Postman client to test my server and all wordks fine, but in Flutter web no.
I check api keys, SSL cert with Letsencrypt certificate, and no work.

I attempt use enable-cors and disable it too, but no working too.

Some tips to get search and upsert functions working?

Thanks in advance

Steps to reproduce the behavior:

  1. Follow steps in pub.dev/typesense
  2. Install typesense-serve in Ubuntu server linux
  3. Setup a new flutter project
  4. Atempt start search or add data to typesense from flutter web

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