Skip to content

Conversation

@phil-davis
Copy link
Contributor

Description

This is on top of the linked PR.

If I am running the ownCloud federated server(s) on some other port (not on port 80), then the checks for reachability need to include the port number as well as the host. This happens in development, when starting 2 different servers on the same local system for testing, and it could happen in production installs, I suppose.

It is not a problem in CI, because the drone CI configuration starts the 2 test servers in docker containers that have their own host names, and both of them use port 80 at their respective hosts.

Related Issue

PR #41210

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@sonarqubecloud
Copy link

@DeepDiver1975 DeepDiver1975 changed the base branch from master to fix/sharing-external-unreachable-hosts April 23, 2024 09:09
@DeepDiver1975 DeepDiver1975 merged commit 6a58695 into fix/sharing-external-unreachable-hosts Apr 25, 2024
@delete-merged-branch delete-merged-branch bot deleted the sharing-external-unreachable-hosts-port branch April 25, 2024 07:54
DeepDiver1975 added a commit that referenced this pull request Apr 26, 2024
* fix: fail fast if remote is not reachable

* fix: error and url handling ...

* fix: add dedicated connectivty check

* fix: add support for port number (#41237)

---------

Co-authored-by: Phil Davis <phil@jankaritech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants