nextcloud / nextcloud/server

[Bug]: Federated Cloud Sharing from Public Link Fails

Open
#52,633 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 30-feedback bug feature: federation feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

When attempting to add a public shared file to a user's Nextcloud instance via the "Add to your Nextcloud" button, the process fails. This occurs when using the Federated Cloud Sharing.

Steps to reproduce
  1. Create a file, then create a public share.
  2. Copy the Federated Cloud ID from /settings/user/sharing.
  3. Open the public share in a different browser or a private browsing session.
  4. Click "Add to your Nextcloud" in the top-right corner.
  5. A warning dialog appears

"Error while adding the public link to your Nextcloud"
Warning box:
Sharing of "TestShare" failed because [exampleUser1@examplecloud.com] was not found. The server may be unreachable or is using a self-signed certificate.

Expected behavior

A prompt should allow the user to add the file or folder to their own Nextcloud instance via a federated share, and the process should complete successfully.

Nextcloud Server version

30.0.8.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure from a public share using the Federated Cloud ID from /settings/user/sharing, then follow the “Add to your Nextcloud” flow and its warning dialog. Trace the federated sharing request from the public-share entry point to identify why the remote user is reported as not found. Done means a public file or folder can be added successfully to another Nextcloud instance through Federated Cloud Sharing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend, cloud, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.