Hello everyone,
I am encountering a challenging issue on my XWiki instance (version Jetty HSQLDB 15.10.1), hosted on a YunoHost server. After authenticating via OpenID Connect (OIDC), I am redirected to an HTTPS URL that incorrectly includes the port :80
(for example, https://mysite.example.com:80/xwiki/bin/admin/?srid=Flg6M7m5
). This incorrect port inclusion leads to a “secure connection failure” in the browser, as :80 is not the appropriate port for HTTPS connections.
Context:
- The XWiki instance, specifically version Jetty HSQLDB 15.10.1, is configured for OIDC authentication on a YunoHost server.
- This issue arises immediately after the authentication phase, during redirection back to the XWiki interface.
- The base URL (
xwiki.home
) within XWiki’sxwiki.cfg
is set tohttps://mysite.example.com/xwiki
, aiming for HTTPS without specifying a port.
Noteworthy Observation:
- Manually removing
:80
from the URL in the browser allows me to access the XWiki interface correctly, and I am found to be logged in successfully.
Attempted Solutions:
- The
xwiki.home
setting inxwiki.cfg
is confirmed to behttps://mysite.example.com:443/xwiki/
, which seems correct, but the issue with the incorrect port remains. - I implemented a specific Nginx configuration aiming to redirect or correct these URLs, as follows:
Unfortunately, this has not resolved the issue.server { listen 80; server_name mysite.example.com; return 301 https://$host$request_uri; }
Seeking Guidance:
I am reaching out for any advice, insights, or solutions that the community might offer. If anyone has experienced a similar issue, or has suggestions on potential fixes, your input would be greatly appreciated.
Thank you for your time and assistance.