Front end not loading after upgrading to 0.103.0

My front end is no longer loading after upgrading to 0.103.0. Below is my log. Each time i try to load the front end I get another one of the ‘Unable to serialize JSON’ errors added to the log. I am at a loss as to what is happening.

I am running hassio in docker.

2019-12-13 16:31:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-12-13 16:31:42 ERROR (SyncWorker_19) [pyecobee] Error while refreshing tokens from ecobee: 400: {'error': 'invalid_grant', 'error_description': 'The authorization grant, token or credentials are invalid, expired, revoked, do not match the redirection URI used in the authorization request, or was issued to another client.', 'error_uri': 'https://tools.ietf.org/html/rfc6749#section-5.2'}
2019-12-13 16:31:42 ERROR (MainThread) [homeassistant.components.ecobee] Error updating ecobee tokens
2019-12-13 16:31:43 ERROR (MainThread) [homeassistant.components.plex] Plex server (https://192-168-1-204.41c57422c4744d47b1b20f22da15f3e8.plex.direct:32400) could not be reached: [HTTPSConnectionPool(host='192-168-1-204.41c57422c4744d47b1b20f22da15f3e8.plex.direct', port=32400): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))]
2019-12-13 16:31:55 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1210, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service group/set
2019-12-13 16:31:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058317399632] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 7, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notification$
2019-12-13 16:31:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058316023888] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 12, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notificatio$
2019-12-13 16:31:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058348542608] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 11, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notificatio$
2019-12-13 16:31:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058317233360] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 11, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notificatio$
2019-12-13 16:32:01 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058372445584] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 12, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notificatio$
1 Like

It looks like I’m having the same issue after upgrading.

2019-12-14 08:33:47 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1906081904] Unable to serialize to JSON: Object of type date is not JSON serializable

I figured it out for myself. I searched the log for datetime and it lead me to the todoist service, which I disabled and then it started working.

3 Likes

Thanks for the solution, worked for me aswell.

Thanks for the solution. I had the same problem - now it’s fixed!

Anybody already update their HA instance from 0.103 to ,103.1 yet

A few have reported it not working well. Read up from here: 0.103: Happy Holidays, Service calls, StarLine, GeoNet NZ and Proxmox

Mine updated today, 0.103.1 i guess, and the front-end is no longer loading.
edit: rolled back to 103.0 and it’s working again.

I updated to 0.103.1 today and the front-end is also not loading. 0.103.0 worked fine for me.

Darn, I’m now in the same boat, but the worst part is when I rolled back to to 00103.0 but the front end still won’t load.

Same problem here. Went back to 0.103.0 OK now

Interesting, I roll back to 103 and the front end stilled didn’t come up. I even rolled back to 0.102.3 and still nothing and no errors in the log…

Never mind, I fixed my problem with 0.103.0, I was loading the wrong docker image.

Same here, 0.103.1 refused to load, I rolled back to 0.103.0 and I’m back in business.

Are we all using docker?
Is the problem with 0.103.1 only with docker?

no it’s with pretty much everything

I’m also having the issue with docker 0.103.1. When I reverted to 0.103.0 everything worked again.

I didn’t see anything strange in the logs

I see 0.103.2 now… Pulling the pin…

AND… ALL GOOD

1 Like

Yep - 0.103.2 seems to work

How do you reverted?

Are you on Docker by chance? I downloaded the “latest” Docker image again which I assumed to be 0.103.2 but I could not get a response from front-end. I reverted back to 0.103.0 due to time constraints. I’ll try again tonight and if it doesn’t work with the “latest” image I will try a specific download of 0.103.2 and give that a whirl.

Still loving HA, though. It’s awesome! :slight_smile: