I have been using Argo tunnels for two weeks so far, and I have created a cloudflare account just for this specific feature. My interest was to use an argo tunnel to expose internal web applications externally, instead of using a VPN or a port forward.
My environment is relatively simple: ubuntu 16.04 with Jenkins running in a docker container, and reachable at http://127.0.0.1:8080. I am running the cloudflared program on the same machine, redirecting traffic to jenkins on port 8080 to make it externally accessible with something like https://jenkins.mydomain.com.
I used cloudflared login to authorize the tunnel and configure my cert.pem file, and it worked quite well. The problem is that the tunnel eventually fails in some way. I tweaked settings to disable all forms of caching, since I want to reduce possible interference caused by it until I have everything running stable. Restarting cloudflared usually “solved” the problem, but today I have a new problem: half the time, my tunnel loads a “503 Service Unavailable - The origin has been unregistered from Argo Tunnel” page instead of the good page. What is weird is that the other half of the time, I do get the right page loaded. I really looks like the page is somehow load balanced to an incorrect page.
I tried everything: purging the cache, deleting my cert.pem and doing cloudflared login again, increasing log verbosity, nothing works. When I get the incorrect page loaded, nothing shows up in the cloudflared log, so it doesn’t reach my origin. The cloudflared logs show that everything is up and running, and when the good page loads I do see it in the logs.
I subscribed to cloudflared just for the Argo tunnels, and I am really excited about the product in general. However, I find that there is still a lack in documentation and stability. Can anybody provide some guidance on how to resolve the issue and end up with a reliable tunnel that won’t fail once in a while? I have already wasted a lot of time on this, so I may end up having to go back to using port forwarding instead of argo tunnels if I can’t get this resolved soon.