Skip to content

Error when importing PST files - 403 Cross-site POST from submissions are forbidden #52

@corentinaltepe

Description

@corentinaltepe

When the application's port is mapped with Docker as follows, then the PST file import fails. The HTTP POST http://<host>:3005/api/v1/upload request returns 403 cross-site POST from submissions are forbidden.

services:
  open-archiver:
    image: logiclabshq/open-archiver:v0.2.0
    ports:
      - 3005:3000

The solution was to add the environment variable ORIGIN=http://<host>:3005 (replace host with your own host value you will use to upload your PST files.

Perhaps we should document this work-around?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions