Skip to content
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

Cloudflared integration broken due to UmbrelOS login page #1805

Open
krzwiatrzyk opened this issue Apr 28, 2024 · 1 comment
Open

Cloudflared integration broken due to UmbrelOS login page #1805

krzwiatrzyk opened this issue Apr 28, 2024 · 1 comment

Comments

@krzwiatrzyk
Copy link

krzwiatrzyk commented Apr 28, 2024

TL;DR:

Cloudflare application installed via app store. Portainer app installed via app store, portainer is exposed via 9000 port on Umbrel.

If I will use <local ip>:9000 or umbrel.local:9000 to expose Umbrel via Cloudflare Tunnel, I will get:

  • https to http redirect error
  • redirect to port 2000 for Umbrel authentication.

It can be easily replicated locally, try to login to application using machine IP address, due missing cookie for that address in the browser user will be asked to log in on some random port.

How can I expose application using Cloudflared now? If I get it right, this will cause errors on any attempt to expose applications via custom public domain

Disclaimer: I have bought Umbrel Home and it's kind of disappointing that I am unable to access those apps externally.

@highghlow
Copy link
Contributor

A similar thing happened to transmission: it's rpc port is protected by app_auth, but it's fine because other apps connect to it not by using the external network, but directly inside the docker one. This bypassed app_auth. Based on the screenshots from cloudflate tunnel's appstore page, it also connects to the apps using this method (uses domain names like protoprism_web_1). It the end if cloudflare doesn't work, you can use Tailscale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants