Sync: frequently disconnects when uploading files

Steps to reproduce

  1. Open a new Sync vault and connect it to a large local vault.
  2. When uploading files, the Sync plugin disconnects quite frequently. Here is my error log (filtered out successful uploads):
2023-09-12 12:07 - Disconnected 9 = Past/2017/School/$/Reinier, The Gods of Change - Early American Lit.pdf
2023-09-12 12:07 - Connecting to server
2023-09-12 12:07 - Connection successful. Detecting changes...
2023-09-12 12:07 - Ignoring remote file name with illegal characters 9 = Past/2018/School/+/Prosocial Education Class Readings/Background:Examples/Notes - Level Up.pdf
2023-09-12 12:08 - Disconnected 9 = Past/2022/Ethnomusicology/+/babiracki_whats-difference.pdf.pdf
2023-09-12 12:08 - Connecting to server
2023-09-12 12:08 - Connection successful. Detecting changes...
2023-09-12 12:08 - Disconnected _ Config/readings/liebermann_serlin_in-conversation.pdf
2023-09-12 12:08 - Connecting to server
2023-09-12 12:08 - Waiting to connect to server
2023-09-12 12:08 - Connection successful. Detecting changes...
2023-09-12 12:08 - Deleting remote file 9 = Past/2018/School/+/Prosocial Education Class Readings/Background:Examples/Notes - Level Up.pdf
2023-09-12 12:08 - Deleting remote folder 9 = Past/2018/School/+/Prosocial Education Class Readings/Background:Examples
2023-09-12 12:08 - Ignoring remote file name with illegal characters 9 = Past/2018/School/+/Prosocial Education Class Readings/Background:Examples/Notes - Level Up.pdf
2023-09-12 12:08 - Ignoring remote file name with illegal characters 9 = Past/2018/School/+/Prosocial Education Class Readings/Background:Examples
2023-09-12 12:08 - Disconnected 9 = Past/2017/School/'/Neuroscience notes.pdf
2023-09-12 12:08 - Connecting to server
2023-09-12 12:08 - Connection successful. Detecting changes...
2023-09-12 12:08 - Disconnected .obsidian/themes/Sanctum/theme.css
2023-09-12 12:09 - Connecting to server
2023-09-12 12:09 - Waiting to connect to server
2023-09-12 12:09 - Connection successful. Detecting changes...
2023-09-12 12:09 - Disconnected _ Config/attachments/2008566.pdf
2023-09-12 12:09 - Connecting to server
2023-09-12 12:09 - Waiting to connect to server
2023-09-12 12:09 - Connection successful. Detecting changes...
2023-09-12 12:09 - Disconnected 9 = Past/2022/Thesis Research/+/mall and music.pdf
2023-09-12 12:10 - Connecting to server
2023-09-12 12:10 - Connection successful. Detecting changes...
2023-09-12 12:10 - Disconnected .obsidian/plugins/execute-code/main.js
2023-09-12 12:10 - Connecting to server
2023-09-12 12:10 - Waiting to connect to server
2023-09-12 12:10 - Connection successful. Detecting changes...
2023-09-12 12:10 - Disconnected 9 = Past/2019/Ekphrasis/+/Yovkov_Shibil.pdf
2023-09-12 12:10 - Connecting to server
2023-09-12 12:10 - Connection successful. Detecting changes...
2023-09-12 12:10 - Disconnected 9 = Past/2019/Ekphrasis/+/Yovkov_Shibil.pdf
2023-09-12 12:11 - Connecting to server
2023-09-12 12:11 - Connection successful. Detecting changes...
2023-09-12 12:11 - Disconnected .obsidian/plugins/file-order/main.js
2023-09-12 12:11 - Connecting to server
2023-09-12 12:11 - Connection successful. Detecting changes...
2023-09-12 12:11 - Disconnected 9 = Past/2017/School/$/Death and Dollars- Implied Moral Judgements in the DICE Model.pdf
2023-09-12 12:11 - Connecting to server
2023-09-12 12:11 - Connection successful. Detecting changes...
2023-09-12 12:12 - Disconnected _ Config/readings/ammons_glare.pdf
2023-09-12 12:12 - Connecting to server
2023-09-12 12:12 - Waiting to connect to server
2023-09-12 12:12 - Connection successful. Detecting changes...
2023-09-12 12:12 - Disconnected _ Config/readings/borges_labyrinths.pdf
2023-09-12 12:13 - Connecting to server
2023-09-12 12:13 - Connection successful. Detecting changes...
2023-09-12 12:13 - Disconnected _ Config/attachments/2007915.pdf
2023-09-12 12:13 - Connecting to server
2023-09-12 12:13 - Waiting to connect to server
2023-09-12 12:13 - Connection successful. Detecting changes...
2023-09-12 12:14 - Server pushed [Joshua's Hand Computer] .obsidian/core-plugins.json
2023-09-12 12:14 - Downloading file .obsidian/core-plugins.json
2023-09-12 12:14 - Downloading complete .obsidian/core-plugins.json
2023-09-12 12:14 - Accepted .obsidian/core-plugins.json
2023-09-12 12:14 - Disconnected 9 = Past/2018/School/+/Prosocial Education Class Readings/Teacher Training/Berman - 5 Educational Interventions and Social Responsibility.pdf
2023-09-12 12:14 - Connecting to server
2023-09-12 12:14 - Connection successful. Detecting changes...
2023-09-12 12:15 - Disconnected _ Config/readings/schmitt-ericemannuel_monsieur-ibrahim-et-les-fleurs-du-coran.pdf
2023-09-12 12:15 - Connecting to server
2023-09-12 12:15 - Waiting to connect to server
2023-09-12 12:15 - Connection successful. Detecting changes...
2023-09-12 12:16 - Disconnected _ Config/readings/pinch_trocco_analog-days.pdf
2023-09-12 12:16 - Connecting to server
2023-09-12 12:16 - Waiting to connect to server
2023-09-12 12:16 - Connection successful. Detecting changes...
2023-09-12 12:16 - Disconnected _ Config/readings/sommers_on-revision-strategies.pdf
2023-09-12 12:16 - Connecting to server
2023-09-12 12:16 - Connection successful. Detecting changes...
2023-09-12 12:16 - Disconnected _ Config/readings/szybist_girls-overheard-while-assembling-a-puzzle.pdf
2023-09-12 12:17 - Connecting to server
2023-09-12 12:17 - Connection successful. Detecting changes...
2023-09-12 12:17 - Disconnected _ Config/writings/handout-ways-of-seeing_2021.pdf
2023-09-12 12:17 - Connecting to server
2023-09-12 12:17 - Connection successful. Detecting changes...
2023-09-12 12:17 - Disconnected _ Config/readings/gilman_yellow-wall-paper.pdf
2023-09-12 12:18 - Connecting to server
2023-09-12 12:18 - Connection successful. Detecting changes...
2023-09-12 12:18 - Disconnected _ Config/readings/stevens_collected-poems.pdf
2023-09-12 12:18 - Connecting to server
2023-09-12 12:18 - Connection successful. Detecting changes...
2023-09-12 12:19 - Disconnected _ Config/readings/flores_anchor-anthology-modern-french-poetry.pdf
2023-09-12 12:19 - Connecting to server
2023-09-12 12:19 - Waiting to connect to server
2023-09-12 12:19 - Connection successful. Detecting changes...
2023-09-12 12:19 - Disconnected 9 = Past/2017/School/+/Elecrostatics 9-1.pdf
2023-09-12 12:19 - Connecting to server
2023-09-12 12:19 - Connection successful. Detecting changes...
2023-09-12 12:19 - Disconnected 9 = Past/2017/School/+/Elecrostatics 9-1.pdf
2023-09-12 12:20 - Connecting to server
2023-09-12 12:20 - Connection successful. Detecting changes...
2023-09-12 12:20 - Disconnected _ Config/readings/roumain_gouverneurs-de-la-rosee.pdf
2023-09-12 12:20 - Connecting to server
2023-09-12 12:20 - Waiting to connect to server
2023-09-12 12:20 - Connection successful. Detecting changes...
2023-09-12 12:20 - Disconnected 9 = Past/2022/Les Isles Créoles/+/Gouverneurs de la rosée.pdf
2023-09-12 12:21 - Connecting to server
2023-09-12 12:21 - Connection successful. Detecting changes...
2023-09-12 12:21 - Disconnected _ Config/readings/Matt/Role-playing game materials/Plane Shift Innistrad.pdf
2023-09-12 12:22 - Connecting to server
2023-09-12 12:22 - Connection successful. Detecting changes...
2023-09-12 12:23 - Disconnected _ Config/readings/zuboff-shoshana_surveillance-capitalism.pdf
2023-09-12 12:23 - Connecting to server
2023-09-12 12:23 - Waiting to connect to server
2023-09-12 12:23 - Connection successful. Detecting changes...
2023-09-12 12:23 - Disconnected _ Config/readings/zuboff-shoshana_surveillance-capitalism.pdf
2023-09-12 12:23 - Connecting to server
2023-09-12 12:23 - Waiting to connect to server
2023-09-12 12:23 - Connection successful. Detecting changes...
2023-09-12 12:23 - Disconnected _ Config/readings/zuboff-shoshana_surveillance-capitalism.pdf
2023-09-12 12:24 - Connecting to server
2023-09-12 12:24 - Connection successful. Detecting changes...
2023-09-12 12:24 - Disconnected _ Config/readings/Matt/Role-playing game materials/D_D 5E - The Rise of Tiamat.pdf
2023-09-12 12:24 - Connecting to server
2023-09-12 12:24 - Connection successful. Detecting changes...
2023-09-12 12:24 - Disconnected _ Config/attachments/2007989.pdf
2023-09-12 12:25 - Connecting to server
2023-09-12 12:25 - Connection successful. Detecting changes...

Did you follow the troubleshooting guide? Y

Expected result

Less frequent disconnects

Actual result

Disconnecting multiple times a minute in some cases

Environment

SYSTEM INFO:
Obsidian version: v1.4.9
Installer version: v1.3.5
Operating system: Darwin Kernel Version 22.6.0: Mon Aug 21 19:42:34 PDT 2023; root:xnu-8796.141.3.700.7~2/RELEASE_ARM64_T8103 22.6.0
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Border v1.2.16
Snippets enabled: 6
Restricted mode: on

This sync logs come from where?

It seems that it happens in PDF. Are those large files, perhaps you had a network issue while uploading theme? (files larger than 100MB won’t sync)

I agree with that - they are large PDFs, I was syncing several gigabytes of them.