Skip to content

[OCM] The OCM share fails on share creating if the federated instance is not reachable. #11046

@2403905

Description

@2403905

Describe the bug

The OCM share fails on share creating if the federated instance is not reachable.

Steps to reproduce

  1. Establish the ScienceMesh connection between the ocis and ocisocm instances
  2. Stop ocisocm
  3. Try to share the folder f1 to ocisocm -> Error 500 "message": "error doing request: Post \"https://localhost:10200/ocm/shares\": dial tcp [::1]:10200: connect: connection refused"
  4. Run ocisocm
  5. Try to share the folder f1 to ocisocm -> Error 409 ` "message": "add grant: error: already exists: 892db45a-e62a-49c7-8492-1d1b06ac25c6/f1"

Expected behavior

A clear and concise description of what you expected to happen.

Actual behavior

A clear and concise description of what happened.

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

OCIS_XXX=somevalue
OCIS_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions