Skip to content

PouchDB - Capella => CORS Issue #9107

@alexbran8

Description

@alexbran8

When trying to sync / replicate PouchDB from Capella (from frontend/browswer), using App Services, we get a CORS Error:
Acces to fetch ____ has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

We have added the URL origin in the App Services / Advanced tab + the following custom headers: Content-Type, Authorization, Access-Control-Allow-Origin => now there is an Acces-Control-Allow-Origin="" error.

Has anyone faced this issue?

The single solution we found so far, was to set up a proxy server which fixes the CORS issues.

I do mention, we have also posted on the Capella Forum, but still waiting for response.

Any help here would be much appreciated! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions