nextcloud / social

🎉 Social can be used for work, or to connect to the fediverse!
https://apps.nextcloud.com/apps/social
GNU Affero General Public License v3.0
488 stars 59 forks source link

Social using incorrect port #1800

Open qstambaugh opened 1 year ago

qstambaugh commented 1 year ago

Describe the bug Originally, I had to setup my nextcloud server on a nonstandard port for HTTPS due to restrictions by my ISP. I've switched my servers over to a new ISP and have access to all the port now. I switched my Nextcloud over to port 443 without any issue. I updated Apache2 and Nextcloud's config.php.

After I switched over to port 443, I decided to give Social a try. It can't find anyone from other instances nor could anyone find me. I did some checking and it seems Social is trying to use the old port. When mousing over my profile link under my avatar in Social Home, it has my Social URL as https://nextcloud.example.com:55760/index.php/apps/social/@user instead of https://nextcloud.example.com/index.php/apps/social/@user

To Reproduce Steps to reproduce the behavior:

  1. Setup Nextcloud with a nonstandard HTTPS port (something other than 443)
  2. Switch to using the standard HTTPS port (update config.php to reflect changes)
  3. Install Social
  4. Try connecting with any ActivityPub instance

Expected behavior To be able to find other users using their ActivityPub ID (@user@example.com)

Client details:

Server details **Social app version:** 0.6.1 **Operating system**: Debian 12 **Web server:** Apache2 2.4.57-2 **Database:** mysql 10.11.3 **PHP version:** 8.2.7 **Nextcloud version:** (see Nextcloud admin page) 26.0.3