Since the Webmin upgrade a while ago, we have been experiencing a lost connection after logging in to our Webmin URL via port 18888. Accessing the dashboard is OK, but then we went to File Explorer or other modules and found that “Lost Connection” popped up.
The only way to deal with this is to restart the Webmin service. Occasionally, we can access the File Explorer, and sometimes, we can’t!
Basic troubleshooting so far:
Update the package. Still no go!
Increase the connection in the Webmin configuration from 50 to 200. Still no go!
I appreciate your feedback.
SYSTEM INFORMATION
B
OS type and version
UBUNTU 20.04
Webmin version
2.111
UPDATE INFORMATION:
I have two servers, and both have the same issue.
Ran the command for: sudo tail -f /var/webmin/miniserv.error
Those 101.113.205.41 are my local machine accessing the browser via Webmin URL, which is a bit odd - too many connection as I am accessing the URL only on the single tab of the Chrome browser ?!?! I also tested it with another browser, Mozilla Firefox, and it’s the same issue.
This wouldn’t be a DoS attack? Either that it maybe some sort of loop happening on connection.
If you have a fixed IP maybe restarted webmin or reboot server to reset those connections
and limit the IP’s that can connect to the server (this on work if you have a fixed IP else you will get locked out.
In our environment, we used Chrome with many tabs and multiple accounts (many Chrome browser instances opened). But only two tabs have a URL to go to Webmin (one for each server).
We do have software running, such as the VPN client and EndPoint Security. However, the VPN is disabled during this connection.
However, we tested it with the TOR browser, which seems to work.
We also tested this on other LAN environments via Azure, and it works OK.
So, it seems related to the browser itself. I’m still investigating this.
But at the moment, we have a work-around solution.
Also, we don’t have a Static IP on our environment, so it the modem reset or leased expired, it will change the IP.
We tested this using Firefox, and it’s the same issue. We even close all active Chrome browsers prior accessing this and the same issue.
However, soon, we used the TOR browser, and everything was good. I believe TOR is using a different IP address while browsing, isn’t it? I’m not sure why our IP address caused the Webmin to have too many connections. Any ideas?
We could technically restart the modem and hoping to get a new IP address.
on your local network turn off (or unplug from network) all but one computer and see if it still happens, this way you can identify which PC is causing the issue.
Maybe you have an email app that keep trying to connect many times.
Check the firewall logs on Webmin
These will not fix the problem but will help you identify which one is causing it.