Forum archive
is anyone else seeing dodgy connections in Webmin?
I build and throw away a lot of Turnkey VMs just doing what I do, and the last several I've done have had the same problem with Webmin choking on the first one to three (?) connection attempts every so often ... so like, hit https://box:12321/ and get connection error, reload once or twice, get the login page. Log in, maybe stuff works. Then maybe log into adminer, and go thru the same song & dance after which you're logged into adminer and it works fine for a while longer.
All these VMs are running on one of two Proxmox hosts, actual VM not LXC, running on old but unremarkable Intel based PCs.
This is happening quite reliably for me... anyone else out there seeing it?
Thanks for reporting. It certainly doesn't sound ideal.
Thanks too for the explicit note that it's in a VM (not LXC).
When it fails in your browser if you refresh a few times it eventually works right? Is this only immediately after boot? If so does firstboot, reboot or clean boot make any difference? Or does it happen after it's been idle a while? Or can it occur any time?
Also, I'm not 100% clear whether you're saying that Adminer login is initially problematic too or not? If Adminer is displaying similar behavior my guess is something lower level, maybe network related? FYI Webmin run's on it's own mini-server and is reverse proxied by stunnel; Adminer is hosted by Apache - so system network seems the only common factor.
If it's just Webmin, then I'd assume that it's probably stunnel, or maybe webmin itself. If it's just after boot, then it'd be interesting to see the boot logs (i.e. from the journal). If it's not just at boot but is after it's been sitting idle for a while. Perhaps check resource usage/availability?
TBH, very occasionally I've noticed similar behavior when I'm doing my final manual pre-release testing (on LXC as well). I rarely use Webmin so the only time I've experienced it has been immediately after firstboot or a reboot. As it has been rare and there seemed to be no rhyme or reason to it and it always resolved itself with no apparent longer term issue, I have always just assumed that on those occasions I was too quick (hit it before it had finished starting).
Intermittent issues are the worst. Usually if you can work out the exact steps to reproduce an issue, you can have a red hot go at fixing it. By their nature, the requirements of intermittent issues are obscure, or at least obscured - making them really hard to diagnose. You can really only diagnose it while the problem is occurring and even then it can be hard.