snowzach / doods2

API for detecting objects in images and video streams using Tensorflow
MIT License
232 stars 30 forks source link

Attempt to decode JSON with unexpected mimetype #107

Open stormshaker opened 5 months ago

stormshaker commented 5 months ago

This error is being thrown by HA Supervisor today, when trying to retrieve the changelog:

Logger: homeassistant.components.hassio.handler Source: components/hassio/handler.py:612 integration: Home Assistant Supervisor (documentation, issues) First occurred: 4:23:35 AM (198 occurrences) Last logged: 12:32:24 PM

Client error on /addons/d5f40609_doods2/changelog request 0, message='Attempt to decode JSON with unexpected mimetype: application/octet-stream', url=URL('http://172.30.32.2/addons/d5f40609_doods2/changelog')

snowzach commented 5 months ago

I have no idea what that means... Looks like something with the home assistant addons?

stormshaker commented 5 months ago

I also received the same error for one other addon. Looking at https://github.com/home-assistant/core/issues/116470, it seems this error is now being thrown every 5 minutes for each addon that doesn't have a CHANGELOG.md file.

Could you add that file to the repo I can see if it resolves the issue?

snowzach commented 5 months ago

I'm sure it will... but there's enough add-ons having the issue I am sure they will fix the problem with the supervisor... It's the superivisor looking for a changelog which isn't there (which I don't really want to add for every add-on)