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
{{ message }}
Repository navigation
[bug]: Url for images/attachments wrong http instead of https #5827
This behaviour can't be reproduced on the 0.23.1 release (there it's working as intended). I wanted to check the private bucket implementation (protected attachments)
this problem occured in self hosting statble.
i use my own db, so i fix rabbit mq , postgresql , redis setting
and i am already to change web_url, AWS_S3_ENDPOINT_URL, and change my server nginx setting
I'm using Apache2 and added the following to my .conf file:
ProxyPreserveHost On
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}
Problem is because Plane could be behind reverse proxy that adds secure layer.
Exact error line is "apiserver/plane/settings/storage.py:42"
You should not generate url but instead use predefined from env like this
Closing as a duplicate of #6740, which tracks the same root cause. Please follow that thread. If you see something different on a current release, open a new issue with the details.
Activity
tgivslife commentedon Oct 14, 2024
This behaviour can't be reproduced on the 0.23.1 release (there it's working as intended). I wanted to check the private bucket implementation (protected attachments)
plit-leegyubin commentedon Jan 6, 2025
this problem occured in self hosting statble.
i use my own db, so i fix rabbit mq , postgresql , redis setting
and i am already to change web_url, AWS_S3_ENDPOINT_URL, and change my server nginx setting
how can i do to change image api http to https?
docker-compose
env file
muhamadsyahrulmubarok commentedon Jan 7, 2025
Same problem with me, the api https://domain.com/api/assets/v2.../attachments got result:
"upload_data": {
"url": "http://127.0.0.1:8099/uploads",
}
the url should be domain.com
plit-leegyubin commentedon Jan 7, 2025
i solve my problem to change some option in my dns server
i use cloudflare . so i set "HTTPS Rewrites"
muhamadsyahrulmubarok commentedon Jan 7, 2025
Thank you, i have already solved.
I'm using Apache2 and added the following to my .conf file:
ProxyPreserveHost On
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}
KonstantinPlotnikov commentedon Feb 12, 2025
Problem is because Plane could be behind reverse proxy that adds secure layer.
Exact error line is "apiserver/plane/settings/storage.py:42"
You should not generate url but instead use predefined from env like this
BTW I think lines
are unnecessary, but I'm not sure. Why use aws endpoint if MinIO is enabled???
obergodmar commentedon Feb 12, 2025
I have Plane running behind an Apache proxy, and after a recent Plane upgrade, I encountered the same issue.
I was able to resolve it by adding the following headers to the Apache proxy virtual server config:
I haven’t changed anything related to the Plane configuration after the upgrade.
Hope it helps.
mrxdata commentedon May 28, 2025
Faced similiar issue with v0.26.0.
Request looks like:
Spoodry commentedon Aug 9, 2025
In nginx, you would add this to location /
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Port $server_port;gregoriusus commentedon Sep 8, 2025
Same issue here. Plane behind proxy. I could make it work if I disable USE_MINIO=0 and add this:
AWS_S3_ENDPOINT_URL=${WEB_URL}
But then file is uploaded but cannot be seen
akshat5302 commentedon Sep 24, 2026
Closing as a duplicate of #6740, which tracks the same root cause. Please follow that thread. If you see something different on a current release, open a new issue with the details.