Nabu Casa connection problems

Is anyone else getting problems connecting to Nabu Casa? I just keep getting 503, Invalid response errors.

Thanks

1 Like

Same here.

Unable to connect: 504, message='Invalid response status', url=URL('wss://cloud.nabucasa.com/websocket')
10:29:30 AM – (WARNING) /usr/local/lib/python3.9/site-packages/hass_nabucasa/iot_base.py - message first occurred at 10:07:53 AM and shows up 20 times

Unfortunately, I can confirm this. Connection problems for about 30 minutes.

Same here.

seems to be back online

And the connection problems are back. :frowning:

Possibly related; and of course this happens the night before I go on a 11day vacation.

Logger: hass_nabucasa.remote
Source: /usr/local/lib/python3.9/site-packages/hass_nabucasa/remote.py:437
First occurred: April 26, 2022, 6:04:52 PM (1 occurrences)
Last logged: April 26, 2022, 6:04:52 PM

Unexpected error in Remote UI loop
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1081, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1111, in _create_connection_transport
    await waiter
  File "/usr/local/lib/python3.9/asyncio/sslproto.py", line 528, in data_received
    ssldata, appdata = self._sslpipe.feed_ssldata(data)
  File "/usr/local/lib/python3.9/asyncio/sslproto.py", line 188, in feed_ssldata
    self._sslobj.do_handshake()
  File "/usr/local/lib/python3.9/ssl.py", line 944, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'remote-sni-api.nabucasa.com'. (_ssl.c:1129)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/remote.py", line 401, in _certificate_handler
    if not await self.load_backend():
  File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/remote.py", line 192, in load_backend
    await self._acme.issue_certificate()
  File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/acme.py", line 394, in issue_certificate
    await cloud_api.async_remote_challenge_cleanup(
  File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/cloud_api.py", line 23, in check_token
    return await func(cloud, *args)
  File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/cloud_api.py", line 34, in log_response
    resp = await func(*args)
  File "/usr/local/lib/python3.9/site-packages/hass_nabucasa/cloud_api.py", line 85, in async_remote_challenge_cleanup
    return await cloud.websession.post(
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
    conn = await self._connector.connect(
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 988, in _wrap_create_connection
    raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host remote-sni-api.nabucasa.com:443 ssl:True [SSLCertVerificationError: (1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'remote-sni-api.nabucasa.com'. (_ssl.c:1129)")]

Getting these errors right now again.

I have been getting these errors daily for a few weeks now.
Has anyone from Nabu Casa piped in?

I pay my dues REGULARLY.

Bob.

Unable to connect: 504, message=‘Invalid response status’, url=URL(‘wss://cloud.nabucasa.com/websocket’)

Same here, now also can not control anything with google assistant, say can not reach Nabucasa…

Restart not solves problem

Any solution?

1 Like

Unable to connect: 503, message=‘Invalid response status’, url=URL(‘wss://cloud.nabucasa.com/websocket’

Still getting connection problems, can someone have a look into this issues please :pray:

Unable to connect: 504, message=‘Invalid response status’, url=URL(‘wss://cloud.nabucasa.com/websocket’)

again the same problem, seems that @nabucasa not really is bothered that much by paying members having constant connection problems :frowning:

Having more and more the same issue during the last days.
Maybe its a better idea, to open a service ticket through the account ui at nabu casa.

Will do that and see if it helps :slight_smile:

I did already opened a support ticket within nabucasa account for some time ago now, and just opened a other one again. So far not much luck nor response :frowning:

Same problem here, I already wasted all the afternoon trying to understand the problem and then I found this thread -.-

1 Like

The relayer was redeployed in the past hour or so. Connections should have returned or are returning shortly.

Here is not back yet but hope it happens soon, thanks for your response :slight_smile:

Only question I keep having is why this problem is happening on this high interval (at least once a week)?

Same thing here. I just spent two hours troubleshooting to finally find this thread.
Is this the reason home assistant can’t conect to alexa? Because I have no problems conecting to home assistant remotely (through the app outside my network).

Most likely yes as I have exactly the same also with my connection to Google Home

Same issue here. Discinnected nabu casa from GHome, but now it wont connect anymore