{"action":"opened","issue":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1719","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1719/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1719/comments","events_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1719/events","html_url":"https://github.com/letsencrypt/letsencrypt/issues/1719","id":120349478,"number":1719,"title":"max_attempts in poll_and_ri should be per-authorization","user":{"login":"kuba","id":106176,"avatar_url":"https://avatars.githubusercontent.com/u/106176?v=3","gravatar_id":"","url":"https://api.github.com/users/kuba","html_url":"https://github.com/kuba","followers_url":"https://api.github.com/users/kuba/followers","following_url":"https://api.github.com/users/kuba/following{/other_user}","gists_url":"https://api.github.com/users/kuba/gists{/gist_id}","starred_url":"https://api.github.com/users/kuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuba/subscriptions","organizations_url":"https://api.github.com/users/kuba/orgs","repos_url":"https://api.github.com/users/kuba/repos","events_url":"https://api.github.com/users/kuba/events{/privacy}","received_events_url":"https://api.github.com/users/kuba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/acme","name":"acme","color":"888888"},{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T07:35:37Z","updated_at":"2015-12-04T07:35:37Z","closed_at":null,"body":"`poll_and_request_issuance([authz1, authz2], max_attempt=1)` is the simplest example, where the code fails, because `max_attempts` counts total number of attempts for all authorizations, instead of counting per authorization. With default limit of 10, this causes problems in practice - usually when people are using more than 10 domains.\r\n\r\nCore is not affected, because it doesn't use this retry loop. https://github.com/kuba/simp_le, however, is (and any other client using our library)."}}