TbSync icon indicating copy to clipboard operation
TbSync copied to clipboard

NS_ERROR_UNKNOWN_HOST when pc starts from sleep mode

Open ThomasAusSinsheim opened this issue 6 years ago • 4 comments

TbSync version: 2.11 Installed Thunderbird version: 68a.7.0 (64-bit) Portable Thunderbird version: 68a.7.0 (64-bit)

Expected behavior

My expectation is, when the sync fails, i.e. NS_ERROR_UNKNOWN_HOST, it should try it with a frequency of 5 seconds for 1 minute.

Actual behavior

It fails with NS_ERROR_UNKNOWN_HOST.

Steps to reproduce

  • Set the sync interval of one of the TbSync accounts to 1 (60 seconds)
  • Keep TB running
  • shut down the pc into the sleep mode (Ruhezustand)
  • Wait 2 minutes and start the pc again
  • The first sync fails, because the network access is not available as fast

ThomasAusSinsheim avatar Apr 15 '20 04:04 ThomasAusSinsheim

The next automatic sync will sync correctly, right? You just want to catch the special situation after end-of-sleep and do NOT wait until the next auto sync but retry faster?

jobisoft avatar Jun 15 '20 20:06 jobisoft

That's absolutely right.

ThomasAusSinsheim avatar Jun 16 '20 17:06 ThomasAusSinsheim

This occurs for me all the time. Is anything going to be done about it? Rather than try and detect the specific situation of a restart after sleep/hibernate, it may be easier (and better) to just retry this particular error after 30s for a few times before recording the failure altogether?

Dave-Lowndes avatar Oct 28 '23 09:10 Dave-Lowndes

The project has moved on to a total rewrite, the new official and only supported version on GitHub is v5:

https://github.com/jobisoft/TbSync/releases https://github.com/jobisoft/EAS-4-TbSync/releases

If you can reproduce the issue on v5, please create a new issue with some debug info. Thank you for your support.

jobisoft avatar Jul 29 '26 12:07 jobisoft