You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear all, i am facing issue while trying to run openproject in https !
Problems encountered:
Invalid host_name configuration
When accessing OpenProject via a hostname (e.g., px-openproject.chtiloft), the app responds with Invalid host_name configuration.
Tried setting OPENPROJECT_HOST_NAME in systemd override (override.conf) and /etc/default/openproject with multiple entries (hostname, container IP, localhost, 127.0.0.1), but the error persists.
Tested both via curl and browser; the error occurs when the Host header is the public hostname.
Your application is running with HTTPS mode set to http, but the request is an https request. You will need to set the following configuration value: OPENPROJECT_HTTPS=true
Setting OPENPROJECT_HTTPS=true in systemd override seems not to be picked up correctly by OpenProject.
Systemd override issues
Previous attempts to modify ExecStart and environment variables broke the service entirely (Failed to locate executable /opt/openproject/packager/packager).
The correct packager path does not exist in the current installation (which packager returns nothing), so custom ExecStart lines fail.
Testing observations
Curl tests with Host header variations show that OpenProject only works when Host matches the container IP directly. Hostnames always trigger the host_name error.
Environment variables set in systemd overrides are correctly listed via systemctl show, but OpenProject still rejects them.
Key points needing guidance from the community:
Correct way to configure OPENPROJECT_HOST_NAME for multiple hostnames / IPs in a LXC container setup.
How to ensure OpenProject picks up OPENPROJECT_HTTPS=true correctly with systemd.
Recommended method for enabling HTTPS via reverse proxy (Apache) without breaking OpenProject host validation.
Any caveats specific to the Proxmox community script installation path.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all, i am facing issue while trying to run openproject in https !
Problems encountered:
Invalid host_name configuration
When accessing OpenProject via a hostname (e.g., px-openproject.chtiloft), the app responds with Invalid host_name configuration.
Tried setting OPENPROJECT_HOST_NAME in systemd override (override.conf) and /etc/default/openproject with multiple entries (hostname, container IP, localhost, 127.0.0.1), but the error persists.
Tested both via curl and browser; the error occurs when the Host header is the public hostname.
HTTPS mode mismatch
Direct access via IP (http://192.168.2.135:6000) works.
Access via HTTPS (https://192.168.2.135/openproject/) triggers a warning:
Your application is running with HTTPS mode set to http, but the request is an https request. You will need to set the following configuration value: OPENPROJECT_HTTPS=true
Setting OPENPROJECT_HTTPS=true in systemd override seems not to be picked up correctly by OpenProject.
Systemd override issues
Previous attempts to modify ExecStart and environment variables broke the service entirely (Failed to locate executable /opt/openproject/packager/packager).
The correct packager path does not exist in the current installation (which packager returns nothing), so custom ExecStart lines fail.
Testing observations
Curl tests with Host header variations show that OpenProject only works when Host matches the container IP directly. Hostnames always trigger the host_name error.
Environment variables set in systemd overrides are correctly listed via systemctl show, but OpenProject still rejects them.
Key points needing guidance from the community:
Correct way to configure OPENPROJECT_HOST_NAME for multiple hostnames / IPs in a LXC container setup.
How to ensure OpenProject picks up OPENPROJECT_HTTPS=true correctly with systemd.
Recommended method for enabling HTTPS via reverse proxy (Apache) without breaking OpenProject host validation.
Any caveats specific to the Proxmox community script installation path.
Beta Was this translation helpful? Give feedback.
All reactions