Http fail

Raise error on HTTP fetch error. Fixes #1185.