this has happens because order_override is an empty array [] in my case. dunno where this comes from.
the following code (http_backend.rb line 52) in hiera-http inserts the empty array at position 0 in the paths array:
paths.insert(0, order_override) if order_override
if order_override is an empty array we end up with
[ [ ],"/first", "/second" ]
end the first element [] gets pass all the way down to net/http, which complains rightfully about the empty path.
as a quick fix i changed this to
paths.insert(0, order_override).flatten! if order_override
will open a pull request for this as well.
thanks
toni