home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.15k stars 29.83k forks source link

synology surveillance station thumbnails #124325

Closed fredim closed 5 days ago

fredim commented 3 weeks ago

The problem

thumbnails for the cameras are down, they used to show a delayed current image.

What version of Home Assistant Core has the issue?

core-2024.8.2

What was the last working version of Home Assistant Core?

core-2024.8.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

synology_dsm

Link to integration documentation on our website

https://www.home-assistant.io/integrations/synology_dsm

Diagnostics information

config_entry-synology_dsm-fcab1ae762a4c48661d7dd6faeb06477 (3).json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 weeks ago

Hey there @hacf-fr, @quentame, @mib1185, mind taking a look at this issue as it has been labeled with an integration (synology_dsm) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `synology_dsm` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign synology_dsm` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


synology_dsm documentation synology_dsm source (message by IssueLinks)

mib1185 commented 3 weeks ago

There hasn't been any related code change in the synology_dsm integration between 2024.8.0 and 2024.8.2, so i would assume either an issue with your nas or with the frontend. To check this further, please enable debug logging, restart the integration and download and provide the log file after the issue occur again. thx 👍

fredim commented 3 weeks ago

Thanks for the response - There was some issue with the upgrade to 2024.8.1, and I was hoping maybe something related. But if no code has changed, the other thing that happened was that the credentials were reset, when I logged in, I used an admin account that required a secondary MFA code. Is it possible that the authentication round trip takes too long? Clicking on a camera entity pulls open the video pop-up, and it takes a while before the feed comes in?

Is there a way to reset the auth credentials?

On Wed, Aug 21, 2024 at 11:04 AM Michael @.***> wrote:

There hasn't been any related code change in the synology_dsm integration between 2024.8.0 and 2024.8.2, so i would assume either an issue with your nas or with the frontend. To check this further, please enable debug logging https://www.home-assistant.io/docs/configuration/troubleshooting/#debug-logs-and-diagnostics, restart the integration and download and provide the log file after the issue occur again. thx 👍

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/124325#issuecomment-2302667800, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJL6RR4OIOOMQBJV74GV3ZSTJBNAVCNFSM6AAAAABM2RS5BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBSGY3DOOBQGA . You are receiving this because you authored the thread.Message ID: @.***>

mib1185 commented 3 weeks ago

There was only one code change, which should fix the re-connect to the Synology after a reboot of it with an 2fa enabled account.

To check your issue further, please enable debug logging, restart HA and provide the home-assistant.log after youve clickt on the camera entity and the stream starts. To do so add the following to your configuration.yaml:

logger:
  default: info
  logs:
    homeassistant.components.synology_dsm: debug
    homeassistant.components.stream: debug
    synology_dsm: debug
fredim commented 3 weeks ago

here you go!

looks like i get a 502 trying to fetch the camera image

thanks! Fred

On Wed, Aug 21, 2024 at 2:09 PM Michael @.***> wrote:

There was one nly one code change, which should fix the re-connect to the Synology after a reboot of it with an 2fa enabled account.

To check your issue further, please enable debug logging, restart HA and provide the home-assistant.log https://www.home-assistant.io/integrations/logger#viewing-logs after youve clickt on the camera entity and the stream starts. To do so add the following to your configuration.yaml:

logger: default: info logs: homeassistant.components.synology_dsm: debug homeassistant.components.stream: debug synology_dsm: debug

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/124325#issuecomment-2303017536, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJL6Q45INTRY36G4Z733TZST6YLAVCNFSM6AAAAABM2RS5BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBTGAYTONJTGY . You are receiving this because you authored the thread.Message ID: @.***>

mib1185 commented 3 weeks ago

Please don't respond via email to GitHub, attachments get lost and comments looks ugly. Please use the web interface of GitHub to reply on issues, thx 👍

fredim commented 3 weeks ago

home-assistant_syno.log hopefully this is better!

mib1185 commented 2 weeks ago

The error is returned by the NAS itself. There hasn't been any related change between 2024.8.0 and 2024.8.2 in the Synology DSM integrations code - did you update the nas itself, too? Could you please verify, if the issue still persists in 2024.8.0?

issue-triage-workflows[bot] commented 6 days ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

fredim commented 5 days ago

Sorry, I think this is closeable -- I set the configuration option "Quality level of camera snapshots" to "Low" and it takes an extra second or so, but the image does come back!