johanlund
Hi, my brain won't sync up with the cloud.

"Sync failed: error retrieving remote sync file"

How can I resolve this problem?

TB 9.0.147.0

macOS Sierra 10.12.3
Quote
pthompson
If you mean can you sync while using the Alpha Release version, yes.

Please keep in mind, however, that we are using a test server during this beta period and Brains synced via TheBrain 9 are not synced to webbrain.com (our official server) and are not available on our mobile apps. Our test server also may be down periodically as we continue to make changes and develop it constantly.
Quote
johanlund
It hasn't synced since jan 3 so I think somethings wrong.
What steps can I take to resolve the problem?
Quote
pthompson
Can you provide more information about your issue? Are you receiving an error message when trying to sync? What version are you using? Any additional information you can share will help us troubleshoot this issue. Thank you.
Quote
johanlund
It's the same issue as described here: http://forums.thebrain.com/post/sync-failed-error-retrieving-remote-sync-file-8397777?pid=1294679193

Error message: "Sync failed: Error retrieving Remote Sync File"
Version: 9.0.147.0
OS: macOS Sierra 10.12.3

The following section in the log looks interesting:

2017-02-01 07:41:56.0131 | DEBUG | TheBrain.Client.ClientSyncManager | [316] getting remote delta!
2017-02-01 07:41:56.2071 | INFO | TheBrain.Client.ClientSyncManager | [511] Server status: Server progress: 1%
Exported Brain properties...
2017-02-01 07:42:04.0930 | INFO | TheBrain.Client.RemoteClient | [125] Server unavailable due to exception System.AggregateException: One or more errors occurred. ---> System.Net.WebException: Error getting response stream (ReadDone1): ReceiveFailure ---> System.IO.IOException: Unable to read data from the transport connection: Connection timed out. ---> System.Net.Sockets.SocketException: Connection timed out
at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0
at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x00057] in <1d0bb82c94e7435eb09324cf5ef20e36>:0
at Mono.Net.Security.Private.LegacySslStream.EndRead (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0
at System.Net.WebConnection.ReadDone (System.IAsyncResult result) [0x0002a] in <bd46d4d4f7964dfa9beea098499ab597>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <bd46d4d4f7964dfa9beea098499ab597>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () [0x0041e] in <41c316444c8a4380b9344ba09eeb18de>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Net.Http.HttpClient+<SendAsyncWorker>c__async0.MoveNext () [0x000f3] in <41c316444c8a4380b9344ba09eeb18de>:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x00034] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
at #Xru.#gEv.#A6A () [0x0002e] in <6e1ea4a9930c4114a2a38313b5753b01>:0
---> (Inner Exception #0) System.Net.WebException: Error getting response stream (ReadDone1): ReceiveFailure ---> System.IO.IOException: Unable to read data from the transport connection: Connection timed out. ---> System.Net.Sockets.SocketException: Connection timed out
at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0
at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x00057] in <1d0bb82c94e7435eb09324cf5ef20e36>:0
at Mono.Net.Security.Private.LegacySslStream.EndRead (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0
at System.Net.WebConnection.ReadDone (System.IAsyncResult result) [0x0002a] in <bd46d4d4f7964dfa9beea098499ab597>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <bd46d4d4f7964dfa9beea098499ab597>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () [0x0041e] in <41c316444c8a4380b9344ba09eeb18de>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Net.Http.HttpClient+<SendAsyncWorker>c__async0.MoveNext () [0x000f3] in <41c316444c8a4380b9344ba09eeb18de>:0 <---

2017-02-01 07:42:20.0404 | INFO | TheBrain.Client.ClientSyncManager | [416] GetServerSyncDeltaChunk totalBytesTransferred: 4194304 of 2470
2017-02-01 07:42:20.2706 | INFO | TheBrain.Client.ClientSyncManager | [458] Uploaded 2421 of 2421 bytes
2017-02-01 07:42:20.4829 | DEBUG | TheBrain.Core.DataExchange.SyncMerger | [48] Starting merge syncId(7f5c63bd-b885-4920-9a62-562c03dbb7c3) start(636214528693676600) end(636215317160131240)
2017-02-01 07:42:20.4833 | DEBUG | TheBrain.Core.DataExchange.SyncMerger | [52] remote zip: /Users/johanlund/.TheBrain/v9/Working/vWNcf4W4IEmaYlYsA9u3ww/remote.brz
2017-02-01 07:42:20.4986 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [313] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Importing Brain.
2017-02-01 07:42:20.5151 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [434] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Attachments - Inserted 0
2017-02-01 07:42:20.5186 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [462] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Links - Inserted 0
2017-02-01 07:42:20.5249 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [489] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Thoughts - Inserted 0
2017-02-01 07:42:20.5284 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [506] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Settings - Inserted 0
2017-02-01 07:42:20.5318 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [521] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Calendar Events - Inserted 0
2017-02-01 07:42:20.5327 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [548] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Tombstones - Inserted 0
2017-02-01 07:42:20.5358 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [564] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished ModificationLogs - Inserted 0
2017-02-01 07:42:20.5389 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [580] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished BrainUsers - Inserted 0
2017-02-01 07:42:20.5397 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [600] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Resurrecting 0 entities (deleting Tombstones).
2017-02-01 07:42:20.5422 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [625] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Brain Access - Inserted 0
2017-02-01 07:42:20.7441 | INFO | TheBrain.Client.ClientSyncManager | [542] Server status: Server progress: 47%
Importing all settings
2017-02-01 07:42:42.0210 | DEBUG | TheBrain.Client.ClientSyncManager | [362] remote ack!
2017-02-01 07:42:42.0244 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [779] SyncId: 7f5c63bd-b885-4920-9a62-562c03dbb7c3, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Sync Points - Inserted 0.
2017-02-01 07:47:54.2776 | DEBUG | TheBrain.Client.ClientSyncManager | [126] running sync brainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b
2017-02-01 07:47:55.3289 | DEBUG | TheBrain.Client.ClientSyncManager | [253] sync.StartDateTime: 2017-01-31 09:47:49 sync.EndDateTime: 2017-02-01 07:47:55
2017-02-01 07:47:55.3292 | DEBUG | TheBrain.Client.ClientSyncManager | [316] getting remote delta!

----------------------------------------------------

And here is the entire log after I deleted it, restarted TB and attempted to sync:



2017-02-01 08:10:28.0924 | INFO | TheBrain.Sys.Localization | [62] Localization file: /Users/johanlund/.TheBrain/v9/Localization/Localization_en-US.txt
2017-02-01 08:10:28.1713 | INFO | TheBrain.Desktop.BrainDesktop | [273]


######################################
# TheBrain Desktop Version 9.0.147.0 #
######################################

2017-02-01 08:10:28.2221 | INFO | TheBrain.Desktop.BrainDesktop | [301] macOS - Version 10.12.3 (Build 16D32)
2017-02-01 08:10:28.5715 | INFO | TheBrain.Desktop.CommandManager | [702] Loading customized input bindings from /Users/johanlund/.TheBrain/v9/CustomInputBindings.txt.
2017-02-01 08:10:28.6888 | DEBUG | TheBrain.Core.Data.Sqlite.Migration.SyncPointMigrator | [30] Schema Version is >= 5 (18)... Skipping Migration.
2017-02-01 08:10:28.6960 | INFO | TheBrain.Desktop.BrainDesktop | [482] Directory.Exists(/Users/johanlund/.TheBrain/v9/Working)=True
2017-02-01 08:10:28.6968 | INFO | TheBrain.Desktop.BrainDesktop | [482] Directory.Exists(/Users/johanlund/.TheBrain/v9/Temp)=True
2017-02-01 08:10:28.7618 | INFO | TheBrain.Desktop.MainWindow | [189] Current version: 9.0.147.0. 0,0800112783333333 hours since last update check
2017-02-01 08:10:29.0566 | DEBUG | TheBrain.Client.BrainContext | [186] Initializing BrainContext(6a76f946-7551-4e30-80ac-6bc048259576) BrainId(9381bcd1-56e5-44da-d88e-edbe54d5f5a0)
2017-02-01 08:10:29.0916 | DEBUG | TheBrain.Core.Plex.Plex | [130] loading brain plex for brainId: 9381bcd1-56e5-44da-d88e-edbe54d5f5a0
2017-02-01 08:10:29.1123 | DEBUG | TheBrain.Core.BrainTransaction | [61] Rolling back
2017-02-01 08:10:29.2298 | DEBUG | TheBrain.Desktop.PopupDialog | [126] Disposing PopupDialog: #v6w
2017-02-01 08:10:29.3067 | DEBUG | TheBrain.Client.BrainContext | [186] Initializing BrainContext(984f586a-777f-435e-9f38-a2275512530d) BrainId(6c0edc4d-0bfe-43e3-a04a-4adb9affe26b)
2017-02-01 08:10:29.3215 | DEBUG | TheBrain.Core.Plex.Plex | [130] loading brain plex for brainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b
2017-02-01 08:10:29.3398 | DEBUG | TheBrain.Core.BrainTransaction | [61] Rolling back
2017-02-01 08:10:29.8044 | WARN | TheBrain.Core.Utils | [868] Couldn't determine domain for url "omnifocus:///folder/ey5TpiEiDHT "
2017-02-01 08:10:29.8129 | WARN | TheBrain.Core.Utils | [868] Couldn't determine domain for url "omnifocus:///folder/ey5TpiEiDHT "
2017-02-01 08:10:29.8222 | WARN | TheBrain.Core.Utils | [868] Couldn't determine domain for url "omnifocus:///folder/ey5TpiEiDHT "
2017-02-01 08:10:29.8226 | INFO | TheBrain.Desktop.AttachmentInfoWidget | [274] Failed to load icon for omnifocus:///folder/ey5TpiEiDHT
2017-02-01 08:10:29.8271 | INFO | TheBrain.Desktop.ContentView | [860] Attachment ID 89a554ab-a3a5-5147-9814-f02c2a1d15ea not found, skipping.
2017-02-01 08:10:30.3056 | DEBUG | TheBrain.Client.NotesContentController | [318] Loading notes for null - True True True
2017-02-01 08:10:30.3876 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/.TheBrain/v9/Favicons/confluence.fiwe.se-favicon.png
2017-02-01 08:10:30.3876 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/f17e2d65-ad05-5299-98e4-1b272a61518e/.data/Icon.png
2017-02-01 08:10:30.4021 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,01 MB
2017-02-01 08:10:30.4021 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,02 MB
2017-02-01 08:10:30.4048 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/0ad1bfe1-ce43-4c68-a3b4-614c65aaa852/.data/Icon.png
2017-02-01 08:10:30.4048 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/c8c94c4d-e22c-5245-8dd7-37b59dbbe4ef/Fiwe Business KPIs 2015 - 2018.xlsx
2017-02-01 08:10:30.4048 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,03 MB
2017-02-01 08:10:30.4057 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/.TheBrain/v9/Favicons/www-947.ibm.com-favicon.png
2017-02-01 08:10:30.4057 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,03 MB
2017-02-01 08:10:30.4057 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/49236383-4d94-5454-b6b8-ae2d4a8e1845/.data/Icon.png
2017-02-01 08:10:30.4069 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,04 MB
2017-02-01 08:10:30.4069 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/acc93daa-18ef-5952-af21-aa401719f2d0/.data/Icon.png
2017-02-01 08:10:30.4075 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,05 MB
2017-02-01 08:10:30.4075 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/60f2f739-b231-4408-840f-46a6d1e8e1d4/SWOT.pptx
2017-02-01 08:10:30.4686 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,06 MB
2017-02-01 08:10:30.4686 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/1cb5b219-d546-51fe-9ef7-2f37197a7f93/.data/Icon.png
2017-02-01 08:10:30.4686 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,06 MB
2017-02-01 08:10:30.4695 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/2e8d095b-d526-5392-9adc-052f887bb95f/.data/Icon.png
2017-02-01 08:10:30.4695 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,07 MB
2017-02-01 08:10:30.4695 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image TheBrain.Core.Resources.Icons.ExternalFile.png
2017-02-01 08:10:30.4695 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,08 MB
2017-02-01 08:10:30.4695 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/239f7bf7-adc5-46c9-b995-0e67a6be48b8/Fiwe QAS Process.pptx
2017-02-01 08:10:30.4719 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,09 MB
2017-02-01 08:10:30.4719 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image TheBrain.Core.Resources.Icons.Tag.png
2017-02-01 08:10:30.4719 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,11 MB
2017-02-01 08:10:30.4728 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image TheBrain.Core.Resources.Icons.MultipleFileTypes.png
2017-02-01 08:10:30.4728 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,12 MB
2017-02-01 08:10:30.5150 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,13 MB
2017-02-01 08:10:30.6703 | DEBUG | TheBrain.Client.NotesContentController | [318] Loading notes for null - True True True
2017-02-01 08:10:30.7022 | DEBUG | TheBrain.Client.NotesContentController | [261] AttachmentSource will be set to STIM & NCB
2017-02-01 08:10:30.7059 | DEBUG | TheBrain.Client.NotesContentController | [318] Loading notes for STIM & NCB - False True True
2017-02-01 08:10:30.7157 | DEBUG | TheBrain.Client.NotesContentController | [270] AttachmentSource set to STIM & NCB notesEditorWebView.IsEditorReady True
2017-02-01 08:10:30.7335 | DEBUG | TheBrain.Desktop.PopupDialog | [126] Disposing PopupDialog: #v6w
2017-02-01 08:10:31.5025 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/42ce674f-b342-5945-a5f0-45b255b23a17/.data/Icon.png
2017-02-01 08:10:31.5039 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/28bb4f8d-81ff-5982-b693-299ad5db2aa8/.data/Icon.png
2017-02-01 08:10:31.5039 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,15 MB
2017-02-01 08:10:31.5046 | INFO | TheBrain.Graphics.Imaging.ImageManager | [79] Resizing image from {Width=187, Height=33} to {Width=100, Height=18} (/Users/johanlund/Documents/Brains/U01/B01/42ce674f-b342-5945-a5f0-45b255b23a17/.data/Icon.png)
2017-02-01 08:10:31.5046 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,17 MB
2017-02-01 08:10:31.5046 | INFO | TheBrain.Graphics.Imaging.ImageManager | [79] Resizing image from {Width=126, Height=41} to {Width=100, Height=33} (/Users/johanlund/Documents/Brains/U01/B01/28bb4f8d-81ff-5982-b693-299ad5db2aa8/.data/Icon.png)
2017-02-01 08:10:31.5056 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,18 MB
2017-02-01 08:10:31.5056 | INFO | TheBrain.Graphics.Imaging.ImageManager | [113] Loading image /Users/johanlund/Documents/Brains/U01/B01/0013ca1f-2394-567e-a8f5-7a5068807c2f/.data/Icon.png
2017-02-01 08:10:31.5056 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,19 MB
2017-02-01 08:10:31.5056 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,23 MB
2017-02-01 08:10:31.5067 | INFO | TheBrain.Graphics.Imaging.ImageManager | [79] Resizing image from {Width=219, Height=47} to {Width=100, Height=21} (/Users/johanlund/Documents/Brains/U01/B01/0013ca1f-2394-567e-a8f5-7a5068807c2f/.data/Icon.png)
2017-02-01 08:10:31.5067 | INFO | TheBrain.Graphics.Imaging.ImageManagerDataStore | [63] Image cache is now approximately 0,24 MB
2017-02-01 08:10:31.6143 | DEBUG | TheBrain.Client.NotesContentController | [261] AttachmentSource will be set to AMS
2017-02-01 08:10:31.6200 | DEBUG | TheBrain.Client.NotesContentController | [318] Loading notes for AMS - True True True
2017-02-01 08:10:31.6311 | DEBUG | TheBrain.Client.NotesContentController | [270] AttachmentSource set to AMS notesEditorWebView.IsEditorReady True
2017-02-01 08:10:35.2291 | DEBUG | TheBrain.Desktop.BrainDialog | [163] Disposing BrainDialog: #xpv
2017-02-01 08:10:35.2303 | DEBUG | TheBrain.Client.ClientSyncManager | [126] running sync brainId: 9381bcd1-56e5-44da-d88e-edbe54d5f5a0
2017-02-01 08:10:36.2432 | WARN | TheBrain.Client.RemoteClient | [221] Errors returned from HTTP RunRequest:
Login Required
2017-02-01 08:10:38.4135 | DEBUG | TheBrain.Client.ClientSyncManager | [253] sync.StartDateTime: 2017-01-03 17:30:53 sync.EndDateTime: 2017-02-01 08:10:38
2017-02-01 08:10:38.4144 | DEBUG | TheBrain.Client.ClientSyncManager | [316] getting remote delta!
2017-02-01 08:10:38.6082 | INFO | TheBrain.Client.ClientSyncManager | [511] Server status: Server progress: 1%
Exported Brain properties...
2017-02-01 08:10:57.5914 | INFO | TheBrain.Client.ClientSyncManager | [416] GetServerSyncDeltaChunk totalBytesTransferred: 4194304 of 51681358
2017-02-01 08:10:58.1861 | ERROR | TheBrain.Client.ClientSyncManager | [418] GetServerSyncDeltaChunk failed totalBytesTransferred: 4194304. Error: HTTP Response - 500 - InternalServerError
2017-02-01 08:10:59.2190 | DEBUG | TheBrain.Client.ClientSyncManager | [126] running sync brainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b
2017-02-01 08:11:00.0934 | DEBUG | TheBrain.Client.ClientSyncManager | [253] sync.StartDateTime: 2017-01-31 09:47:49 sync.EndDateTime: 2017-02-01 08:11:00
2017-02-01 08:11:00.0936 | DEBUG | TheBrain.Client.ClientSyncManager | [316] getting remote delta!
2017-02-01 08:11:11.6376 | INFO | TheBrain.Client.ClientSyncManager | [416] GetServerSyncDeltaChunk totalBytesTransferred: 4194304 of 2470
2017-02-01 08:11:11.8696 | INFO | TheBrain.Client.ClientSyncManager | [458] Uploaded 2471 of 2471 bytes
2017-02-01 08:11:12.0802 | DEBUG | TheBrain.Core.DataExchange.SyncMerger | [48] Starting merge syncId(75cab008-b13b-4b7a-9287-ad355188f0f5) start(636214528693676600) end(636215334600933790)
2017-02-01 08:11:12.0802 | DEBUG | TheBrain.Core.DataExchange.SyncMerger | [52] remote zip: /Users/johanlund/.TheBrain/v9/Working/CLDKdTuxekuSh601UYjw9Q/remote.brz
2017-02-01 08:11:12.1183 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [313] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Importing Brain.
2017-02-01 08:11:12.1339 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [434] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Attachments - Inserted 0
2017-02-01 08:11:12.1369 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [462] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Links - Inserted 0
2017-02-01 08:11:12.1426 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [489] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Thoughts - Inserted 0
2017-02-01 08:11:12.1457 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [506] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Settings - Inserted 0
2017-02-01 08:11:12.1483 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [521] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Calendar Events - Inserted 0
2017-02-01 08:11:12.1488 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [548] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Tombstones - Inserted 0
2017-02-01 08:11:12.1517 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [564] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished ModificationLogs - Inserted 0
2017-02-01 08:11:12.1542 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [580] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished BrainUsers - Inserted 0
2017-02-01 08:11:12.1548 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [600] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Resurrecting 0 entities (deleting Tombstones).
2017-02-01 08:11:12.1577 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [625] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Brain Access - Inserted 0
2017-02-01 08:11:12.3762 | INFO | TheBrain.Client.ClientSyncManager | [542] Server status: Server progress: 47%
Importing all settings
2017-02-01 08:11:13.7383 | DEBUG | TheBrain.Client.ClientSyncManager | [362] remote ack!
2017-02-01 08:11:13.7427 | DEBUG | TheBrain.Core.DataExchange.JsonImporter | [779] SyncId: 75cab008-b13b-4b7a-9287-ad355188f0f5, BrainId: 6c0edc4d-0bfe-43e3-a04a-4adb9affe26b, Message: Finished Sync Points - Inserted 0.
Quote
mcaton
Thank you for the log file.  Yes, we've recently seen this reported on another thread.  I've added your log to our documentation for review.

Thank you,
Matt
Quote
johanlund
Guys, I am still unable to sync any of my brains. Is there anything I can do to resolve the issue? Can I for example delete the online brains and try syncing up my local brains from scratch again?
Quote
mcaton
Johan,

Thanks for posting. We've been focused on the sync feature recently and we're happy to take a look at your log files after a failed sync.  A recent log file from version 9.0.156 would be great. You can post an output.log here, or email directly to support@thebrain.com and reference this forum thread (8396655).

Also, we've noticed recently that a sync will sometimes fail due to a long file name or path of one of your attachments. If you'd like, you can try a utility, such as http://pathlengthchecker.codeplex.com/ , to find the long file names in your Brain directory (exact location will be specified in Preferences > System Tab > Storage in your Brain application). If file names over 150 characters are discovered, you can rename them accordingly. We do hope to have a solution for this issue in a future build.  We'll also be able to confirm if the sync issue is cause by a long file name when reviewing your Output.log.

Thank you!
Matt
Quote
johanlund
Hi and thanks for getting back to me.
I was unable to try the utility since it seems to be for Windows only  and I'm currently on a Mac.
I have attached a fresh Output.log here in the forum.
Quote
andreas
Johan,

Have a look at this webpage:
https://discussions.apple.com/thread/2590442?tstart=0

It lists the lengths of names on a mac.
I spent an hour going into the corresponding folders and shortening the names of the attached pdfs and websites. Now the synchronization works!

Andreas
Quote
johanlund
I tried this script but I don't seem to have that long paths. Could it be my Swedish characters or spaces or something like that causing issues?
Here is my longest one now:

114 ./U01/B02/4bb5881a-4833-4bf6-833c-ff655f65ca6f/Inställningar drönare/Skärmavbild 2016-02-15 kl. 11.54.51.png

Quote
andreas
At least the Umlaut was no problem for me and also the Å (angstrom unit of length) is very common in my brain.
Quote
mcaton

Johan,

Thank you for the log file and long file name research efforts.  I'll forward this log on to the engineers for a closer look.

Thanks,
Matt

Quote
Xavier
Matt,

I send you a new log file with 9.0.157. I think it's not only cause by a long file name for me.

Thanks for your help.

Xavier
Quote
mcaton
Xavier,

File received and delivered to engineers for further review.  Thank you and we'll keep you posted.

Matt
Quote

Newsletter Signup  Newsletter        Visit TheBrain Blog   Blog       Follow us on Twitter   Twitter       Like Us on Facebook   Facebook         Watch Us on Youtube  YouTube       

TheBrain Mind Map & Mindmapping Software     Download TheBrain Mind Mapping Software