Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless Uploads after Error #285

Open
camsaway opened this issue Dec 28, 2024 · 3 comments
Open

Endless Uploads after Error #285

camsaway opened this issue Dec 28, 2024 · 3 comments

Comments

@camsaway
Copy link

Hi,

I see there are a number of issues logged that sound similar but not exactly the same. At 2216 last night I experience the below error and since then the add-on has been sending continuously - it appears that uploads are not working and it's constantly retrying.

12/27/2024 22:12:23 [34] Error: Failed getting Drive Id. Microsoft.Graph.Models.ODataErrors.ODataError: General exception while processing at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponseAsync(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken)
at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken)
at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken)
at Microsoft.Graph.Drives.DrivesRequestBuilder.GetAsync(Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.GetDriveIdFromAppFolder() in /src/Graph/GraphHelper.cs:line 383 12/27/2024 22:12:23 [34] Error: generalException: General exception while processing. Microsoft.Graph.Models.ODataErrors.ODataError: General exception while processing at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponseAsync(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken)
at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken)
at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken)
at Microsoft.Graph.Drives.DrivesRequestBuilder.GetAsync(Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.GetDriveIdFromAppFolder() in /src/Graph/GraphHelper.cs:line 383 at hassio_onedrive_backup.Graph.GraphHelper.GetItemsInAppFolderAsync(String subPath) in /src/Graph/GraphHelper.cs:line 203

@brzozow
Copy link

brzozow commented Dec 28, 2024

I have the same issue.

@camsaway
Copy link
Author

I have done the following and it has worked for me.

Stop the add-on
Delete all backups on HASS
Delete all backups on OneDrive
Reboot the HASS server

All these steps might not be necessary but just restarting HASS didn't work so I tried fully resetting the add-on.

After this the add-on ran a backup which it uploaded and I wait to see how the next one goes.

@lavinir
Copy link
Owner

lavinir commented Jan 9, 2025

Thanks @camsaway glad you got it working . There may be some residual issues with the migration to the new App Auth system (not sure why it isn't consistent across users) but deleting backups should not be related to this at all and I wouldn't encourage you to do this :)

@brzozow, are you still experiencing this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants