-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview fails to load with status 500 when using proxy #15599
Comments
If I access my selhosted Budibase direct through http://my.internal.ip:10000 everything works just fine. If I access through domain name via traefik proxy (https://my.domain.com) the preview in design fails to load with a 500-error, specifically the page https://my.domain.com/app/preview. Below is the log from budibase
|
Sometimes the holes in the Swiss cheese lines up... In my case creating a public application, upgrading the docker images and app and then changing the access rights for budibase from internal access to external broke just one thing, the preview. It was the last step that broke it, in this case external access policy in traefik had "Referrer-Policy: strict-origin" vs internal that had the default "Referrer-Policy: strict-origin-when-cross-origin". You always learn something new. |
Checklist
Hosting
Describe the bug
Preview in design keeps loading
When looking at source/network I see the following error
"{
"message": "Unable to retrieve app DB - no app ID.",
"status": 500
}"
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
App Export
If possible - please attach an export of your budibase application for debugging/reproduction purposes.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: