-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Supervisor api returning (HTTPError: Response code 400 (Bad Request)) ! #102
Comments
Hi, do you have any checked add-on inside |
Hi guys I am getting also code 400, I have been using it for months, auto backups every day. The last backup was 1.1.2022, since this last update I am getting "Can't create new snapshot (Response code 400 (Bad Request))" Which is inside the addon in the status tab. I have checked the password, username and everything is right. I have no autostop add-ons. Cant make it work again. |
@xxgmxx, do you have any error in your supervisor logs ? (Not the addon logs but supervisor one) |
Something change with the authentication method in the supervisor API, it's maybe related to this. But it's very strange because I don't have this issue with my setup. |
@Sebclem I do not see any error in the supervisor log. I did try to set the "Auto Clean Nextcloud Backups" to a lower amount than I had before and it deleted the old backups successfully. If it had no access to NC it would not delete it, so there is something different wrong. I tried to make another backup from the addon, and it keep "waiting" and waiting for more than 45min now. |
Hello everyone to solve the problem, I had to uninstall the add-on then reinstall it, it worked for 4 saves and then the error came back |
I'm having this issue aswell. I have tried reinstalling, and manage to get a few uploads to nextcloud, but then it fails with the error message. Another thing is that recently it seems to crash Home assistant while in the end stage of uploading. Home assistant becomes unresponsive and reboots. Supervisor logs are not super helpful:
|
Hello everyone, I have create a new version with the new auth method for the hassio api. Finally, I have temporary disabled the home assistant entities, I have found that my implementation flood the core api, I think this is the issue you are experiencing @jappish84 when HA is not responding. I need to find some times to rebuild this. So, if you can try this new version and tell me is this is getting better, thanks. EDIT: Don't forget to change the log level to |
Thank you for a fast response @Sebclem I have now updated to the latest release and pushed for a manual update and everything seems to be working as expected again. Will make sure to report back if I find any further issues. Thanks a lot and keep up the great work, much appreciated! :) |
I just tried to use this today and got this error. The log file has:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@xxgmxx please take a look at this: #111 (comment) |
So I increased the timeout that caused the "Can't create new snapshot (Timeout awaiting 'request' for 5400000ms)" and the manual snapshot was created, but while the auto snapshot I got this error.
|
Ok I have found something interesting. If you try to create a backup (here with the addon ), but, if HA is already generating a backup, the supervisor API return you a Did you have any backup creation pending during your test ? Like another backup addon or a manually triggered one ? |
I have to say, that for me it was probably caused by HA generating a backup while NC Backup also tried to create a backup, or rather another addon (samba backup) starting backup while NC backup was in process of backuping. The last 4 days are all successfully uploaded and NC backup is waiting for the next backup. Thank you for suggesting this. |
Hello
I installed this addon to make automatic backups as I did on jeedom.
the first test we were ok in manual, after I schedule a backup every day at 3:00 am, and I look at the logs and I see this error:
Error
Fail to start addons (HTTPError: Response code 400 (Bad Request))!
So I look at my nextcloud account if all goes well, and no problem the account works, I redo a password in case, and always the same error, I restart HA and always the same error:
here are the logs:
System information
System Health
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Lovelace
The text was updated successfully, but these errors were encountered: