My iOS companion app suddenly refused to establish a connection off the local network. I have a current nabu-casa subscription. When I check my account, it says i’m subscribed. The remote access section in my nabu-case account shows anInstance ID, but status: Not connected.
Checking my HA Cloud settings, the Remote Access section just shows “Your certificate is loading”.
I tried following the instructions here: https://support.nabucasa.com/hc/en-us/articles/26205061961373-Remote-access-is-being-prepared
- Reboot HA
- Disable IPv6 & reboot
- Reset cloud data, reboot and reauthenticate
Still no joy, so I enabled logging which shows:
(ERROR)/usr/local/lib/python3.13/site-packages/hass_nabucasa/remote.python3
The full error log shows:
Logger: hass_nabucasa.remote
Source: /usr/local/lib/python3.13/site-packages/hass_nabucasa/remote.py:563
First occurred: 16:23:18 (1 occurrence)
Last logged: 16:23:18
Unexpected error in Remote UI loop
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/hass_nabucasa/acme.py", line 258, in _create_client
regr = self._acme_client.new_account(
messages.NewRegistration.from_data(
...<2 lines>...
),
)
File "/usr/local/lib/python3.13/site-packages/acme/client.py", line 64, in new_account
response = self._post(self.directory['newAccount'], new_account)
File "/usr/local/lib/python3.13/site-packages/acme/client.py", line 466, in _post
return self.net.post(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/acme/client.py", line 840, in post
return self._post_once(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/acme/client.py", line 855, in _post_once
response = self._check_response(response, content_type=content_type)
File "/usr/local/lib/python3.13/site-packages/acme/client.py", line 704, in _check_response
raise messages.Error.from_json(jobj)
acme.messages.Error: urn:ietf:params:acme:error:malformed :: The request message was malformed :: Unable to validate JWS :: Invalid Content-Type header on POST. Content-Type must be "application/jose+json"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/hass_nabucasa/remote.py", line 522, in _certificate_handler
if not await self.load_backend():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/hass_nabucasa/remote.py", line 263, in load_backend
await self._recreate_acme(domains, email)
File "/usr/local/lib/python3.13/site-packages/hass_nabucasa/remote.py", line 202, in _recreate_acme
await self._acme.reset_acme()
File "/usr/local/lib/python3.13/site-packages/hass_nabucasa/acme.py", line 524, in reset_acme
await self.cloud.run_executor(self._create_client)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/hass_nabucasa/acme.py", line 265, in _create_client
raise AcmeClientError(f"Can't register to ACME server: {err}") from err
hass_nabucasa.acme.AcmeClientError: Can't register to ACME server: urn:ietf:params:acme:error:malformed :: The request message was malformed :: Unable to validate JWS :: Invalid Content-Type header on POST. Content-Type must be "application/jose+json"
Running on RPi4
Core 2025.7.2
Supervisor 2025.07.1
Operating System 16.0