It seems a problem of haproxy script.

Maybe just try to install haproxy-nossl?

If still cannot, maybe just reset the firmware and start over.