Skip to content

🐛 Bug Report: Cors error if using sdk v. 15 #242

Closed
@FabiKel

Description

@FabiKel

👟 Reproduction steps

Update existing flutter web project, using the sdk version 14.0.0 to 15.0.0.

👍 Expected behavior

Should work the same as before the update?

👎 Actual Behavior

It throws and CORS error in Firefox. Does work in Chromium browsers.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sub.mydomain.com/v1/account/sessions/current?. (Reason: CORS request did not succeed). Status code: (null).

🎲 Appwrite version

Version 2.0.x

💻 Operating system

Windows

🧱 Your Environment

Flutter webapp (3.29.2) is hosted on Firebase with Appwrite Cloud as API backend.

I usually don't write web applications, so it is possible, that I configured something wrong. But I only updated the sdk and changed nothing else. Even the browser version is the same.

I also noticed this old issue #116. I registered the app as flutter web app and as website, with wildcard and without. No change.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

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