A beautiful home server OS for self-hosting with an app store. Buy a pre-built Umbrel Home with umbrelOS, or install on a Raspberry Pi or any x86 system.
When creating a tunnel with Cloudflare to expose my Umbrel instance, the tunnel creation works without problems. However, when using HTTPS, I face issues accessing the new URL. Since I am using HTTPS, all requests must be executed with HTTPS; otherwise, the browser blocks requests made via HTTP.
Identified Cause:
After investigating and debugging the system, I realized that the issue occurs because, in the file /containers/app-proxy/utils/manager.js, where axios is instantiated, the HTTP protocol is being used as a fixed value instead of reading the variable from the constants defined in the const.js file.
Relevant Code:
The code snippet where the issue occurs is as follows:
When creating a tunnel with Cloudflare to expose my Umbrel instance, the tunnel creation works without problems. However, when using HTTPS, I face issues accessing the new URL. Since I am using HTTPS, all requests must be executed with HTTPS; otherwise, the browser blocks requests made via HTTP.
Identified Cause: After investigating and debugging the system, I realized that the issue occurs because, in the file /containers/app-proxy/utils/manager.js, where axios is instantiated, the HTTP protocol is being used as a fixed value instead of reading the variable from the constants defined in the const.js file.
Relevant Code: The code snippet where the issue occurs is as follows:
The issue is in the line:
As a suggestion to resolve the issue, the line could be modified to:
I have submitted a pull request with the requested change: https://github.com/getumbrel/umbrel/pull/1841.