{"action":"opened","issue":{"url":"https://api.github.com/repos/prometheus/blackbox_exporter/issues/342","repository_url":"https://api.github.com/repos/prometheus/blackbox_exporter","labels_url":"https://api.github.com/repos/prometheus/blackbox_exporter/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/blackbox_exporter/issues/342/comments","events_url":"https://api.github.com/repos/prometheus/blackbox_exporter/issues/342/events","html_url":"https://github.com/prometheus/blackbox_exporter/issues/342","id":343318522,"node_id":"MDU6SXNzdWUzNDMzMTg1MjI=","number":342,"title":"Don't try ipv6 if there is no ipv6 available","user":{"login":"ptman","id":24669,"node_id":"MDQ6VXNlcjI0NjY5","avatar_url":"https://avatars0.githubusercontent.com/u/24669?v=4","gravatar_id":"","url":"https://api.github.com/users/ptman","html_url":"https://github.com/ptman","followers_url":"https://api.github.com/users/ptman/followers","following_url":"https://api.github.com/users/ptman/following{/other_user}","gists_url":"https://api.github.com/users/ptman/gists{/gist_id}","starred_url":"https://api.github.com/users/ptman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptman/subscriptions","organizations_url":"https://api.github.com/users/ptman/orgs","repos_url":"https://api.github.com/users/ptman/repos","events_url":"https://api.github.com/users/ptman/events{/privacy}","received_events_url":"https://api.github.com/users/ptman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-21T11:00:55Z","updated_at":"2018-07-21T11:00:55Z","closed_at":null,"author_association":"NONE","body":"### Host operating system: output of `uname -a`\r\nhttps://hub.docker.com/r/prom/blackbox-exporter/\r\n\r\n### blackbox_exporter version: output of `blackbox_exporter -version`\r\n```\r\nblackbox_exporter, version 0.12.0 (branch: HEAD, revision: 4a22506cf0cf139d9b2f9cde099f0012d9fcabde)\r\n  build user:       root@634195974c8e\r\n  build date:       20180227-11:50:29\r\n  go version:       go1.10\r\n```\r\n\r\n### What is the blackbox.yml module config.\r\nThe default.\r\n\r\n### What logging output did you get from adding `&debug=true` to the probe URL?\r\n    ts=2018-07-21T10:55:17.532698702Z caller=icmp.go:139 module=icmp target=::1 level=warn msg=\"Error writing to socket\" err=\"write ip6 ::->::1: sendto: cannot assign requested address\"\r\n\r\n### What did you do that produced an error?\r\n\r\nBy default docker doesn't enable ipv6 for containers. The default for preferred_ip_protocol is 'ip6'. If the environment which blackbox exporter runs in doesn't have any ipv6 address, even ::1, it really shouldn't even try to connect via ipv6.\r\n\r\n### What did you expect to see?\r\n\r\n   probe_success 1\r\n\r\n### What did you see instead?\r\n\r\n    probe_success 0"}}
{"actor":{"display_login":"ptman"}}