What about this?

curl :::9999/version  2>  resu_ipv6_registration_fails.stderr
cat resu_ipv6_registration_fails.stderr

Maybe it is a dirty trip, but itshould "print" the error in the stdout managed by the testharness framwork, so enabling using a comparison string in REGEXPECT.