The introducing commit suggested in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944139#15 doesn't look right to me. I had success reverting the active part of https://salsa.debian.org/debian/debmirror/-/commit/82bf56b2246bdf22470fd2751b359c82932c3833#81f3803dd9887f397ffdeebc8973c6de39a38df9 instead of that one. I didn't try the more constructive suggestion from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944139#20, sorry, because it was easier for me if the arguments remain compatible with older versions. I could be persuaded to try it.
There's clearly something amiss with archive.debian.org. https://archive.kernel.org/debian-archive/debian/dists/wheezy/Release mentions eg: 1a5452264b2c147411a53afd4a13b311 12683375 main/binary-all/Packages ... but there is no binary-all directory in https://archive.kernel.org/debian-archive/debian/dists/wheezy/main/. Perhaps getting that fixed would be too hard? Making debmirror cope doesn't seem to be too difficult.