cloudflare / cloudflare/cloudflared

SSH browser rendering fails if app has a different session duration than others on the same tunnel

Open
#385 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I have a Proxmox server setup with two ingress rules for Cloudflare Tunnel. One is to https://localhost:8006 for the web interface and the other to ssh://localhost:22 for SSH. These are setup as a service using the config.yml method. In the Cloudflare for Teams site, the applications were setup seperately. The SSH domain was setup to render the SSH session as a webpage with a 30 minute session duration. The web interface domain was setup with a 24 hour duration.

After starting the tunnel, the web interface worked fine for the https site, but when going to the SSH domain, it just says it cannot find the application. After playing around for awhile and restarting things a million times, I found that if I made the session durations match, it worked right away. If I set them to match, then go into the SSH web page, then change the duration to something else, it will continue working until the session duraton ends, then fail again.

Right now, I just left them both at 24 hours and it works fine.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.