straight-beach-79533
08/06/2026, 6:57 AMerror: after hook "health-check" failed:
rpc error: code = Unavailable desc = error reading from server: EOF
I opened issue github.com/pulumi/pulumi/issues/24158
Am I doing something wrong or is there a bug ?
thanks!echoing-dinner-19531
08/06/2026, 7:08 AMechoing-dinner-19531
08/06/2026, 7:56 AMpublicIp := args.NewOutputs["publicIp"].StringValue() panics trying to call StringValue() on a nil value.straight-beach-79533
08/06/2026, 10:55 AMpublicIp := args.NewOutputs["publicIp"].StringValue() panics trying to call StringValue() on a nil value.
I think that the error on my part was keeping the string "publicIp" when exporting the existing field `server.Ipv6Address`:
ctx.Export("publicIp", server.Ipv6Address)
(see towards the end of the main() function in the issue)
So I think that the code doesn't panic, because the string "publicIp" should be present in args.NewOutputs["publicIp"] ?straight-beach-79533
08/06/2026, 10:57 AMechoing-dinner-19531
08/06/2026, 11:09 AMhcloud.NewServer. The ctx.Export is to set the stack outputs, not the resource outputs.
If you change that string to "ipv6Address" it should see the output on the server.straight-beach-79533
08/06/2026, 11:12 AMechoing-dinner-19531
08/06/2026, 11:16 AM