When Sync server is unavailable, sync status is misleadingly shown as working (green)

Steps to reproduce

Wait till sync server is down (as it is now).
Wait for 3 attempts to log in to fail, then wait a bit more until “Waiting to connect to server” is shown up in the sync log.

Expected result

Sync icon is red, clearly signaling the fact that sync is not working.

Actual result

After turning red briefly, sync icon changes to all good green.
image
While in the sync log:

2022-10-07 10:36 - Connecting to server
2022-10-07 10:37 - Did not respond to login request: {"op":"pong"}
2022-10-07 10:37 - Connecting to server
2022-10-07 10:37 - Did not respond to login request: {"op":"pong"}
2022-10-07 10:37 - Connecting to server
2022-10-07 10:38 - Did not respond to login request: {"op":"pong"}
2022-10-07 10:38 - Waiting to connect to server
2022-10-07 10:38 - Connecting to server
2022-10-07 10:39 - Did not respond to login request: {"op":"pong"}
2022-10-07 10:39 - Waiting to connect to server
2022-10-07 10:39 - Connecting to server
2022-10-07 10:40 - Did not respond to login request: {"op":"pong"}
2022-10-07 10:40 - Waiting to connect to server

And nothing is actually synced.

Environment

  • Operating system: both on Windows (0.15.9) and Android (1.3.2)
  • Debug info:
SYSTEM INFO:
	Obsidian version: v0.15.9
	Installer version: v0.15.9
	Operating system: Windows 10 Pro 10.0.19044
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: light
	Community theme: Primary
	Snippets enabled: 1
	Restricted mode: off
	Plugins installed: 11
	Plugins enabled: 8
		1: Hotkeys for templates v1.4.3
		2: Breadcrumbs v3.6.3
		3: Dataview v0.5.46
		4: Style Settings v0.4.11
		5: Contextual Typography v2.2.4
		6: Recent Files v1.3.3
		7: Advanced URI v1.27.1
		8: Advanced Tables v0.17.3

RECOMMENDATIONS:
	Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Additional information

Had the same thing a few minutes ago but working now. Also wasn’t able to log into my account on obsidian.md, but now I can.

Yeah, the server is working now, but the bug report is specifically about the misleading status when it’s not working.

My apologies - didn’t read it properly.

1 Like

thanks

1 Like