Hello,
I have 2 clouds:
- mycloud.com: installed natively
Nextcloud version:23.0
Operating system and version:debian 10
Apache or nginx version:Apache 2.4.38
PHP version:7.3
- othercloud.com : installed with docker and behind reverse proxy
Nextcloud version :23.0.4
Operating system and version:Ubuntu 20.04
Apache or nginx version :Apache 2.4.41
PHP version :8.0.18
(used inside docker)
The issue you are facing:
I’ve added them to both to trusted servers in Federated Cloud Sharing. When I try to share something from mycloud.com to a user on othercloud.com the url appears with the original port on which the docker container is running e.g. user@othercloud.com:8080
In the other direction I got the correct uri but the share does not appear after accepting it on mycloud.com. When deleting the share on othercloud.com I got the following error:
Error deleting the share: Wrong share -ID, or shared folder does not exist
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
-
Share file from mycloud.com to user on othercloud.com. Instead of user@mycloud.com I see user@mycloud.com:8080
No output in Nextcloud error log -
Share file from othercloud.com to mycloud.com. The user on mycloud.com receives an invite from user@othercloud.com (thus without the port number) for the share. Upon clicking on the invite, the file does not appear.
Error log:
{“reqId”:“eZ5ZOrNymsvyACCjVgC0”,“level”:3,“time”:“2022-05-06T07:40:50+00:00”,“remoteAddr”:“192.168.X.X,“user”:“wouterVE”,“app”:“no app in context”,“method”:“PROPFIND”,“url”:”/remote.php/dav/files/wouterVE/",“message”:“error while sending notification for federated share: Server error:
POST https://othercloud.com/ocm/notifications
resulted in a501 Not Implemented
response:\n{"message":"Action \"Server does not support federated cloud sharing\" not supported or implemented."}\n”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.9 Safari/537.36”,“version”:“23.0.0.10”,“id”:“6274d123058c5”}
FYI: Federation app is enabled on both clouds
Relevant information form othercloud.com config.php
:
'overwrite.cli.url' => 'https://othercloud.com',
'overwritehost' => 'othercloud.com,
'overwriteprotocol' => 'https',
Sharebymail does generate the correct links.
What other option could solve this?