# An unexpected error occured UnexpectedUpdate: AuthorizationResource

**URL:** <https://community.letsencrypt.org/t/an-unexpected-error-occured-unexpectedupdate-authorizationresource/7097>\
**Category:** Help\
**Created:** [December 15, 2015, 6:46pm UTC](https://community.letsencrypt.org/t/an-unexpected-error-occured-unexpectedupdate-authorizationresource/7097 "2015-12-15T18:46:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![derp](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@derp](https://community.letsencrypt.org/u/derp)\
**Post date:** [December 15, 2015, 6:46pm UTC](https://community.letsencrypt.org/t/an-unexpected-error-occured-unexpectedupdate-authorizationresource/7097/1 "2015-12-15T18:46:39Z")

</div>

After having ran the ./letsencrypt-auto and ./letsencrypt-auto --apache after selecting the domain, i get the following error:

2015-12-15 18:34:27,441:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): [acme-v01.api.letsencrypt.org](http://acme-v01.api.letsencrypt.org)  
2015-12-15 18:34:27,652:DEBUG:requests.packages.urllib3.connectionpool:“HEAD /acme/new-authz HTTP/1.1” 405 0  
2015-12-15 18:34:27,657:DEBUG:root:Received \<Response [405]\>. Headers: {‘Content-Length’: ‘0’, ‘Pragma’: ‘no-cache’, ‘Expires’: ‘Tue, 15 Dec 2015 18:34:27 GMT’, ‘Server’: ‘nginx’, ‘Connection’: 'k$  
2015-12-15 18:34:27,659:DEBUG:acme.client:Storing nonce: '!\x10p\xb0\x90\x89\x80mD\xdc\_\x1f\x1dN~\x95\xd2O\x0c!\xf6\xe8\<\\x03ow/\x84HYl’  
2015-12-15 18:34:27,660:DEBUG:acme.jose.json\_util:Omitted empty fields: expires=None, challenges=None, status=None, combinations=None  
2015-12-15 18:34:27,660:DEBUG:acme.client:Serialized JSON: {“identifier”: {“type”: “dns”, “value”: “[AiAi.nl](http://AiAi.nl)”}, “resource”: “new-authz”}  
2015-12-15 18:34:27,662:DEBUG:acme.jose.json\_util:Omitted empty fields: x5c=(), crit=(), kid=None, jwk=None, x5t=None, x5tS256=None, cty=None, x5u=None, typ=None, alg=None, jku=None  
2015-12-15 18:34:27,667:DEBUG:acme.jose.json\_util:Omitted empty fields: x5c=(), crit=(), kid=None, nonce=None, x5tS256=None, cty=None, x5t=None, x5u=None, typ=None, jku=None  
2015-12-15 18:34:27,668:DEBUG:root:Sending POST request to [https://acme-v01.api.letsencrypt.org/acme/new-authz](https://acme-v01.api.letsencrypt.org/acme/new-authz). args: (), kwargs: {‘data’: '{“header”: {“alg”: “RS256”, “jwk”: {“e”: “AQAB”, “kty”: $  
2015-12-15 18:34:27,669:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): [acme-v01.api.letsencrypt.org](http://acme-v01.api.letsencrypt.org)  
2015-12-15 18:34:27,930:DEBUG:requests.packages.urllib3.connectionpool:“POST /acme/new-authz HTTP/1.1” 201 560  
2015-12-15 18:34:27,935:DEBUG:root:Received \<Response [201]\>. Headers: {‘Content-Length’: ‘560’, ‘Expires’: ‘Tue, 15 Dec 2015 18:34:27 GMT’, ‘Strict-Transport-Security’: ‘max-age=604800’, ‘Server’$  
2015-12-15 18:34:27,937:DEBUG:acme.client:Storing nonce: '\xec\x8f\xb2\xf7\x05\xe5\xe6\x9c\xab\xc2\xa2\x98\x1fF\xabt@g\xf7\xcb^\xba\xd1!\<\xd7\xe4\xe3/\x81\xc9\xd7’  
2015-12-15 18:34:27,937:DEBUG:acme.client:Received response \<Response [201]\> (headers: {‘Content-Length’: ‘560’, ‘Expires’: ‘Tue, 15 Dec 2015 18:34:27 GMT’, ‘Strict-Transport-Security’: 'max-age=6$  
2015-12-15 18:34:27,942:DEBUG:letsencrypt.cli:Exiting abnormally:  
Traceback (most recent call last):  
File “/home/youno/.local/share/letsencrypt/bin/letsencrypt”, line 11, in   
sys.exit(main())  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py”, line 1283, in main  
return args.func(args, config, plugins)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py”, line 470, in run  
lineage = \_auth\_from\_domains(le\_client, config, domains)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py”, line 336, in \_auth\_from\_domains  
lineage = le\_client.obtain\_and\_enroll\_certificate(domains)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py”, line 283, in obtain\_and\_enroll\_certificate  
certr, chain, key, \_ = self.obtain\_certificate(domains)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py”, line 266, in obtain\_certificate  
return self.\_obtain\_certificate(domains, csr) + (key, csr)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py”, line 224, in \_obtain\_certificate  
authzr = self.auth\_handler.get\_authorizations(domains)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/auth\_handler.py”, line 74, in get\_authorizations  
domain, self.account.regr.new\_authzr\_uri)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py”, line 215, in request\_domain\_challenges  
typ=messages.IDENTIFIER\_FQDN, value=domain), new\_authz\_uri)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py”, line 198, in request\_challenges  
return self.\_authzr\_from\_response(response, identifier)  
File “/home/youno/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py”, line 179, in \_authzr\_from\_response  
raise errors.UnexpectedUpdate(authzr)  
UnexpectedUpdate: AuthorizationResource(body=Authorization(status=Status(pending), challenges=(ChallengeBody(chall=TLSSNI01(token='PSce\xc5r\x03L\x7fx\xa7\x83\x05\xce\xe3@\x19.\x008\x88\x98\xdb\xe$

some help would be really appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![webperf](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/webperf/32/3328_2.png) [@webperf](https://community.letsencrypt.org/u/webperf)\
**Post date:** [December 15, 2015, 8:20pm UTC](https://community.letsencrypt.org/t/an-unexpected-error-occured-unexpectedupdate-authorizationresource/7097/2 "2015-12-15T20:20:01Z")

</div>

There was some issues on the production API today which are resolved now ([http://letsencrypt.status.io/](http://letsencrypt.status.io/)). Maybe that caused the problem you are seeing.

---

<div class="post-metadata">

**Author:** ![derp](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@derp](https://community.letsencrypt.org/u/derp)\
**Post date:** [December 15, 2015, 9:13pm UTC](https://community.letsencrypt.org/t/an-unexpected-error-occured-unexpectedupdate-authorizationresource/7097/3 "2015-12-15T21:13:05Z")

</div>

Nope, nothing has changed.

---

<div class="post-metadata">

**Author:** ![derp](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@derp](https://community.letsencrypt.org/u/derp)\
**Post date:** [December 16, 2015, 1:21pm UTC](https://community.letsencrypt.org/t/an-unexpected-error-occured-unexpectedupdate-authorizationresource/7097/4 "2015-12-16T13:21:51Z")

</div>

bump… 👽👽👽

---

<div class="post-metadata">

**Author:** ![Recovery868](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@Recovery868](https://community.letsencrypt.org/u/Recovery868)\
**Post date:** [December 17, 2015, 7:01pm UTC](https://community.letsencrypt.org/t/an-unexpected-error-occured-unexpectedupdate-authorizationresource/7097/5 "2015-12-17T19:01:05Z")

</div>

Same issue. Haven’t been able to get a cert. Clean system (Ubuntu 14.04)  
UnexpectedUpdate: AuthorizationResource(body=Authorization(status=Status(pending), challenges=(…
