koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
3.89k stars 239 forks source link

Client error on /addons/xxxxxxxx_scrypted/changelog #1458

Closed kksligh closed 1 month ago

kksligh commented 1 month ago

Describe the bug A clear and concise description of what the bug is. The issue tracker is only for reporting bugs in Scrypted, for general support check Discord. Hardrware support requests or assistance requests will be immediately closed.

"ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /addons/XXXXXXXX_scrypted/changelog request 0, message='Attempt to decode JSON with unexpected mimetype: application/octet-stream', url=URL('http://172.30.XX.X/addons/XXXXXX_scrypted/changelog')

Source: components/hassio/handler.py:612 integration: Home Assistant Supervisor (documentation, issues) First occurred: 10:57:28 AM (63 occurrences) Last logged: 4:03:51 PM"

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

Hardware Model (please complete the following information):

Client (please complete the following information, if applicable):

Additional context Add any other context about the problem here.

monsieurlatte commented 1 month ago

I have noticed this as well, however I think it's because .99 was released and then for some reason it was changed back to .98.5 and .99 was not listed as the latest release. I could be wrong but that is my guess.

koush commented 1 month ago

Not enough information. No idea where the error is shown. Probably due to HA update anyways. Would suggest migrating non-add on install in any case.

kksligh commented 1 month ago

What do you mean "non-add on install"? You dont need the add on to use this?

kksligh commented 1 month ago

the error is showing in the main HA Logs

kksligh commented 1 month ago

I also dont understand closing this as others are seeing the same error - if you can point me to where to pull more logs, I will be glad to trouble shoot or provide any info you may need

monsieurlatte commented 1 month ago

The error is in HA because HA is polling the repo for the add on. Again this showed up after the release was changed from .99 to .98.5.

koush commented 1 month ago

The error is in HA because HA is polling the repo for the add on. Again this showed up after the release was changed from .99 to .98.5.

The release is currently .99. Where are you seeing .98.5?

https://github.com/koush/scrypted/blob/1f2187fd6acefed6ac6aeda0439057c8f61ab62d/install/config.yaml#L3

monsieurlatte commented 1 month ago
Screenshot 2024-05-03 at 2 19 52 PM
koush commented 1 month ago

huh that's weird

koush commented 1 month ago

ok that release thing is fixed

monsieurlatte commented 1 month ago

Fyi looks like your repo isn't the only one with this issue, have a read here. https://github.com/home-assistant/core/issues/116470

koush commented 1 month ago

Fyi looks like your repo isn't the only one with this issue, have a read here. home-assistant/core#116470

yeah that's what I thought...

monsieurlatte commented 1 month ago

It's because you don't have changelogs apparently, hopefully HA will fix it so you don't have to.

monsieurlatte commented 1 month ago

If you care to fix the bug, apparently supervisor is looking for this file in the root of your repo CHANGELOG.md.

monsieurlatte commented 1 month ago

This is the format that MQTT is using and it's working now `# Changelog

6.4.0

6.3.1

6.3.0

6.2.1

6.2.0

6.1.3

6.1.2

6.1.1

6.1.0

Note: Mosquitto 2.0.0 did contain some breaking changes. We don't anticipate most users to be affected by them but if you have a heavily customized mosquitto config we would advise reviewing their changelog.

6.0.2

6.0.1

6.0.0

5.1.1

5.1.0

5.0.0

4.3.0

4.2.0

4.1.0

4.0.0