question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple OGCS instances & PreconditionFailed [412] on Sync

See original GitHub issue

Checklist:-

  • Upgrade to the latest release (alpha if available) latest release
  • Reproduce the issue
  • Complete the information below
  • Provide your OGcalsync.log file (see how-to)

OGCS Version: v2.8.4.0 Edition: Installed Sync Direction: O->G

Bug Description
At various times syncing will fail. I receive two messages, one right after the other. One saying the sync failed on a specific item and then that the sync has failed entirely. I’ve noticed that there are multiple instances of OGCS open when this happens most of the time, so I close both down and then manually restart the program. This fixes it for a while but the issues come back (maybe after my computer has gone to sleep and I login, but I’m not entirely sure). I also receive a lot of messages to confirm deletions when I know that an event has not really been cancelled. I assume this is due to the multiple open instances.

This has been happening for at least a few months now. Uninstalling and reinstalling, as well as upgrading to 2.8.4.0 did not solve the issue.

Steps to Reproduce the Issue

  1. Start or wake computer (I have OGCS start on login)

Any other information
Log file and screenshots attached.
📎 Attach your OGcalsync.log file. OGcalsync.log OGCS_error1_revision OGCS_error2_revision

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
TheJacksoniancommented, Sep 20, 2021

My process (due to machine restrictions at work) is to quit out of OGCS, then copy the files over from the Portable.zip, then restart by clicking on the OutlookGoogleCalendarSync.exe process. I’ve just done this with v2.9.1.0 and it’s working fine, I’ve not seen this issue since I reported it in January.

0reactions
phw198commented, Aug 13, 2022

🔗 #1524

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Precondition Failed [412]" error on every sync · Issue #528
This issue has been long running but a resolution is close! There are reports (here, and #1052) that it is caused by multiple...
Read more >
Outlook Google Calendar Sync - OGCS | Release Notes
Warn if multiple instances of OGCS are running with the same configuration ... Resolve “Precondition Failed”, error [412] on sync to Google ...
Read more >
412 Precondition Failed - HTTP - MDN Web Docs - Mozilla
The HyperText Transfer Protocol (HTTP) 412 Precondition Failed client error response code indicates that access to the target resource has been ...
Read more >
1841 412 Precondition failed when creating an event that ...
In both cases CalDav Synchronizer will then try to create one event. But this event already exists. Hence the precondition failed error occurs....
Read more >
Request preconditions | Cloud Storage
If the values don't match, the request fails with a 412 Precondition Failed response. ... You can use multiple preconditions in a single...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found