Error reading response length from fastrpc.cgi in firewall cluster

When trying to add a server (or servers in group) to the ipv4 firewall cluster nothing happens with the error

"Server Error reading response length from fastrpc.cgi : is missing the firewall command $2"

none of the servers have ipv6 firewall active, - port 10000 to 10099 is open on remote server en fastrpc is tested (and working) via cluster shell commands

regards Jan

Status: 
Active

Comments

First thing to check - does the Linux Firewall module work OK on the remote servers?

Status:
Active
»
Fixed (pending)

Actually, I see the cause of this - it will be fixed in the next Webmin package release.

Status:
Fixed (pending)
»
Closed (fixed)

sry for the late answer.

Yes the firewall module is working ok on the remote servers, but i see you already found the problem. Thank you and happy newyear.

regards Jan

Status: Fixed » Closed (fixed)

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

Status:
Closed (fixed)
»
Active

I have been randomly getting this error and ignoring it thinking its intermittent but it's starting to become more regular now in my scheduled daily backups. It has only appeared since I added backup to Webmin Server (my newly spun up hot backup) as a destination.

Uploading archive to Webmin server 192.*.*.* ..
    .. upload failed! Error reading response length from fastrpc.cgi

My pattern seems to be that it does first few virtual servers without error and then gets to our largest one (data wise - about 2.5 GB tar) and it throws this error.

My destinations are

  1. Save to local diretcory
  2. Save To Webmin Server
  3. Command to run after backup (rclone command to backup to our G Suite drive account)

I have set backup to "Continue, but don't purge old backups" so it completes steps 1 & 3 above. Step 2 stops when it reaches the large domain (and throws above error).

My Specs CentOS 7.7 on source and destination (destination running on Hyper-V VM) Virtualmin 6.08 Pro

Does anything get logged to /var/webmin/miniserv.error on the remote system? Also , how much RAM does the remote server have?

It's a VM which I have only assigned 1GB to - I could up to see if that helps. I see no errors related to this activity in the miniserv.error.

miniserv.log has a single entry root [11/Jan/2020:00:00:08 -0500] "POST /fastrpc.cgi HTTP/1.0" 200 47 That appears to indicate all was ok (this was one of the dates that had an error, last couple of nights have been ok

One thing to try would be increasing the RAM on the VM to at least 3 GB, and see if that helps with a 2.5 GB backup.

Status:
Active
»
Closed (fixed)

Thanks I upped memory to 2GB and did have not experienced the error since. I will consider this closed at this time. Thx

Status:
Closed (fixed)
»
Active

Wow, unbelievable just as I updated this thread I got my latest backup email confirmation (runs at midnight EST) and it failed again - first time in about a week. This time it was an incremental backup which typically max out at about 800 MB so this seems to be an issue beyond RAM allocation.

As a further followup up my full backups I switched the second destination to use SSH to the hot backup VM, instead of Webmin Server. I will do the same now for the incremental backups and see if that cures it. What module is this error related to so I can look possibly at some other logs to debug?

You might also check /var/log/messages on the destination system for any reports of OOMs.

Also, make sure that TCP ports 10000-10100 are open on the destination server, as Webmin uses that range for RPCs.

Firewall ports no issue (using default install which opens this range). If firewall was an issue I would expect it would never work at all, not just bomb on large backups archives.

Nothing in messages log relating to memory issues

I have switched to using SSH on full backup also since my last post, which completed successfully last Sunday evening so it seems it is isolated to Webmin server backup destinations.