URGENT! http://software.virtualmin.com/cgi-bin/ip.cgi is down and "Failed to work out externally visible IP address"

Hi,

I am not able to create domains on a newly installed (if it matters) Virtualmin. Managed to find out that the process of create-domain relies on finding out the external IP address obtained by a service that is down.... Not sure this is the wisest idea.

http://software.virtualmin.com/cgi-bin/ip.cgi returns 404..

If you replace it with ip.nux.ro or ifconfig.me in virtual-server/dynip-lib.pl then one can create domains again.

Worth mentioning my system does not have a private IP address, it's a "proper" IP, but I do have a private IP for the defaul route (standard issue @ Hetzner Cloud).

PS: Oh .. I see the entirety of http://software.virtualmin.com has been nuked. This essentially breaks the installer, doesn't it, as well as apt/yum repos.

Status: 
Closed (fixed)
Virtualmin version: 
6.09
Webmin version: 
1.942

Comments

Title: http://software.virtualmin.com/cgi-bin/ip.cgi is down and "Failed to work out externally visible IP address" » URGENT! http://software.virtualmin.com/cgi-bin/ip.cgi is down and "Failed to work out externally visible IP address"
Body: View changes

Ok, found a workaround as well:

sed -i s/"dns_ip=*"/"dns_ip="/g /etc/webmin/virtual-server/config

Though this will not help people running off private IPs in AWS and elsewhere. Changing the IP "discovery" service as suggested in the main body of the issue should help though.

Ilia's picture
Submitted by Ilia on Tue, 02/02/2021 - 10:14

This has been fixed. Sorry about that.

FYI, I have also added code to cache the external IP (which rarely changes) so that a temporary failure on our side won't cause errors like this.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.