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

Fail to upload snapshot to nextcloud (RequestError: read ECONNRESET) ! #231

Open
reinvk opened this issue Feb 14, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@reinvk
Copy link

reinvk commented Feb 14, 2024

Describe the bug
Backup large files > 2GB fail to upload to Nextcloud backup share. Small file <1GB have no issues

To Reproduce
Steps to reproduce the behavior:
Every time when i start a schduled or manually backup the upload is failed.

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

System information
Core 2024.2.1
Supervisor 2024.01.1
Operating System 11.5
Frontend 20240207.1

  • Nextcloud Version : 28
  • Addon version : 1,17
  • If any, reverse proxy in fort on Nextcloud : nginx proxy

Additional context
Add any other context about the problem here.

debug error log

[2024-02-14 00:44:22] [info]: Stopping addons...
[2024-02-14 00:44:22] [info]: ... Ok
[2024-02-14 00:44:22] [info]: Creating new snapshot...
[2024-02-14 00:44:22] [debug]: Addon to backup:
[2024-02-14 00:44:22] [debug]: a0d7b954_adguard,a0d7b954_ssh,5c53de3b_esphome,a0d7b954_grafana,a0d7b954_influxdb,core_mosquitto,d5369777_music_assistant_beta,229cc4d7_nextcloud_backup,a0d7b954_sqlite-web,a0d7b954_vscode,core_vlc
[2024-02-14 00:44:22] [debug]: Folders to backup:
[2024-02-14 00:44:22] [debug]: homeassistant,ssl,share,media,addons/local
[2024-02-14 00:44:22] [debug]: Is password protected ? false
[2024-02-14 00:44:54] [info]: Snapshot created with id c548c71a
[2024-02-14 00:44:54] [info]: Downloading snapshot c548c71a...
[2024-02-14 00:44:54] [debug]: Snapshot size: 3391.31
[2024-02-14 00:45:10] [info]: Download success !
[2024-02-14 00:45:10] [debug]: Snapshot dl size : 3391.3125
[2024-02-14 00:45:10] [info]: Uploading snap...
[2024-02-14 00:45:10] [debug]: ...URI: https://host.hiden/remote.php/webdav/HABackup/Manual/Manual-2024.2.1-2024-02-14_0044.tar
[2024-02-14 00:45:10] [debug]: ...rejectUnauthorized: false
[2024-02-14 00:47:59] [error]: Fail to upload snapshot to nextcloud (RequestError: read ECONNRESET) !
[2024-02-14 00:47:59] [error]: RequestError: read ECONNRESET
at ClientRequest. (file:///opt/nextcloud_backup/node_modules/got/dist/source/core/index.js:767:107)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)

@reinvk reinvk added the bug Something isn't working label Feb 14, 2024
@EBenkler
Copy link

EBenkler commented Jan 8, 2025

I experience the same error

Screenshot_20250108_180618_Home Assistant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants