improve error message for failed fetch (fix #8702): print where to file issues (URL if possible)

(cherry picked from commit b2844a96093b4517b617cc677d132039e401e31a)
ref: #8711