cozy-coclyco exception challenge timeout


#1

Bonjour,

cozy-coclyco échoue au moment de la génération d’un certificat en me renvoyant le message d’erreur suivant:

[INF] Issue certificate for {'nuage.afr.pm', 'store.nuage.afr.pm', 'drive.nuage.afr.pm', 'home.nuage.afr.pm', 'photos.nuage.afr.pm', 'settings.nuage.afr.pm'}
[INF] Validate nuage.afr.pm
[FTL] Challenge timeout
Traceback (most recent call last):
  File "/usr/bin/cozy-coclyco", line 11, in <module>
    load_entry_point('cozy-coclyco==1.0', 'console_scripts', 'cozy-coclyco')()
  File "/usr/lib/python3/dist-packages/cozy/coclyco/__init__.py", line 56, in cli
    args.cmd(args)
  File "/usr/lib/python3/dist-packages/cozy/coclyco/pki.py", line 139, in create_instance
    self.__issue_certificate(slug, domain)
  File "/usr/lib/python3/dist-packages/cozy/coclyco/pki.py", line 94, in __issue_certificate
    self._issue_certificate(csr)
  File "/usr/lib/python3/dist-packages/cozy/coclyco/acme.py", line 264, in _issue_certificate
    auth = [self.__authorize_domain(domain) for domain in domains]
  File "/usr/lib/python3/dist-packages/cozy/coclyco/acme.py", line 264, in <listcomp>
    auth = [self.__authorize_domain(domain) for domain in domains]
  File "/usr/lib/python3/dist-packages/cozy/coclyco/acme.py", line 201, in __authorize_domain
    challenges = self._pool_challenge(challenges)
  File "/usr/lib/python3/dist-packages/cozy/coclyco/acme.py", line 173, in _pool_challenge
    Logger.exception("Challenge timeout")
  File "/usr/lib/python3/dist-packages/cozy/coclyco/logger.py", line 52, in exception
    raise Exception(message % tuple(args))
Exception: Challenge timeout

Est-ce que vous auriez une explication? Merci beaucoup!


#2

Bonjour :slight_smile:
Les domaines doivent être accessibles de l’extérieur pour permettre la validation ACME.
En l’occurence ici ça ne semble pas être le cas.