You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HTTP/HTTPS file target generates errors and does not work #1431
level=ERROR source=internal/rds/file/file.go:257 msg="file(https://raw.githubusercontent.com/cloudprober/cloudprober/refs/heads/main/examples/targets/file/targets.textpb): error while reading file: Get \"raw.githubusercontent.com/cloudprober/cloudprober/refs/heads/main/examples/targets/file/targets.textpb\": unsupported protocol scheme \"\"" system=cloudprober probe=all-endpoints
Additional context
Problem is caused by the strip of the schema for all file remote file type (s3/gcs/http/https). This ok for gcs and s3 as the result is use as the objectPath but http does not work. The golang lib net/http need the scheme to work.
Activity
[internal/file]: http:// should not be stripped down (cloudprober#1431)
[internal/file]: http:// should not be stripped down (cloudprober#1431)
manugarg commentedon Sep 28, 2026
Fixed by #1432