anyproto / anytype-heart

Shared library for Anytype clients
https://anytype.io
Other
244 stars 47 forks source link

Failed to get a paymentnode peer #1747

Closed mrusme closed 1 week ago

mrusme commented 2 weeks ago

Have you read a contributing guide?

Current Behavior

I'm on a paid AnyType plan (Builder). When I run the desktop client (Linux) I see the following output on the CLI:

{"level":"ERROR","ts":"2024-10-24T16:08:48.674-0500","logger":"any-pp.drpcclient","msg":"failed to get a paymentnode peer. maybe you're on a custom network","error":"unable to connect"}

It repeats every 10 seconds. My peers are on the same network, my desktop should allow AnyType to connect to the LAN and it should allow AnyType to reach out to WAN.

Expected Behavior

Not seeing this error every 10 seconds.

Steps To Reproduce

I don't know really, I just run the AppImage.

Environment

- OS: Gentoo Linux
- Version: `Anytype-0.43.1.AppImage`

Anything else?

No response

AnthonyAkentiev commented 2 weeks ago

@mrusme Thx for your support and patience!

Could you please send me your "N83gJpVd9MuNRZAuJLZ7LiMntTThhPc6DtzWWVjb1M3PouVU.yml" file contents?

  1. Go to "File -> Show Directory -> Data"
  2. Then go to dir with your Anytype ID (e.g.: AAqBjmjtMa3NJiM3mpv7HaouQXk2TfDfjzTK2DVH9b8HfL62)
  3. Then go to nodeconf dir

In my case the path is: ./AAqBjmjtMa3NJiM3mpv7HaouQXk2TfDfjzTK2DVH9b8HfL62/nodeconf/N83gJpVd9MuNRZAuJLZ7LiMntTThhPc6DtzWWVjb1M3PouVU.yml

mrusme commented 2 weeks ago

@AnthonyAkentiev thank you for your reply! These are the contents of the Yaml file you requested:

id: 662ba74a3a2fdb6a4f9c26ea
networkId: N83gJpVd9MuNRZAuJLZ7LiMntTThhPc6DtzWWVjb1M3PouVU
nodes:
    - peerId: 12D3KooWCywWYgfDZmamJxvWKAvMT5AYDdRG8MMhCpYLHjW8aX7K
      addresses:
        - prod-any-sync-node1.anyclub.org:443
        - prod-any-sync-node1.anyclub.org:1443
        - quic://prod-any-sync-node1.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWKtaDnWNAb6DHHZBCEyB3tEQjLTcRFUSpRsjeSRq34Sgp
      addresses:
        - prod-any-sync-node2.anyclub.org:443
        - prod-any-sync-node2.anyclub.org:1443
        - quic://prod-any-sync-node2.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWHBN58eZ9RAt3qhoSECtScJtwwugtQhumPC2KqfuuHFx2
      addresses:
        - prod-any-sync-node3.anyclub.org:443
        - prod-any-sync-node3.anyclub.org:1443
        - quic://prod-any-sync-node3.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWAxCweKe8aZV6UGXYYXo9Q6W1gF7h7zhpD4FVpEqYXxts
      addresses:
        - prod-any-sync-node4.anyclub.org:443
        - prod-any-sync-node4.anyclub.org:1443
        - quic://prod-any-sync-node4.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWSrpbLQcX9teCjc29FEZByFVgMufY3UetwEfLLGyZk9ta
      addresses:
        - prod-any-sync-node5.anyclub.org:443
        - prod-any-sync-node5.anyclub.org:1443
        - quic://prod-any-sync-node5.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWMs2Vom8ukyAU7NBMm49UVXQnA7oVwo9kUFhgqdCdwSYe
      addresses:
        - prod-any-sync-node6.anyclub.org:443
        - prod-any-sync-node6.anyclub.org:1443
        - quic://prod-any-sync-node6.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWNgyZ4yDBZfpoiT7ijbSQfsYHBVq3cZ6hKC1na4Ybq7QE
      addresses:
        - prod-any-sync-node7.anyclub.org:443
        - prod-any-sync-node7.anyclub.org:1443
        - quic://prod-any-sync-node7.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWQi2Avyc8NmZJBJXK62Ux9ZeTyXy86nxF5S25jfXfmfEo
      addresses:
        - prod-any-sync-node8.anyclub.org:443
        - prod-any-sync-node8.anyclub.org:1443
        - quic://prod-any-sync-node8.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWLNJbA9gUwccuhxyWvn2uyrNUt7AHYCaQV5FWTq6Ss7AR
      addresses:
        - prod-any-sync-node9.anyclub.org:443
        - prod-any-sync-node9.anyclub.org:1443
        - quic://prod-any-sync-node9.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWMdKkq7SjrBMAqHXprtrbg86JudGUyf1Nk9WQQzKsWonJ
      addresses:
        - prod-any-sync-node10.anyclub.org:443
        - prod-any-sync-node10.anyclub.org:1443
        - quic://prod-any-sync-node10.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWMRghjHoSh3biVythJuChAQ6PddYvXjd1dR2H46jUXMtU
      addresses:
        - prod-any-sync-node11.anyclub.org:443
        - prod-any-sync-node11.anyclub.org:1443
        - quic://prod-any-sync-node11.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWC69WV4sU31YesYLuFovP92PS8LZkqLbJAmxCEb28UyCo
      addresses:
        - prod-any-sync-node12.anyclub.org:443
        - prod-any-sync-node12.anyclub.org:1443
        - quic://prod-any-sync-node12.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWG7R2VEmeUoyh8vtHUNp6cmKdih7K31a6vDT8BHezgQ1b
      addresses:
        - prod-any-sync-node13.anyclub.org:443
        - prod-any-sync-node13.anyclub.org:1443
        - quic://prod-any-sync-node13.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWD27VZCngpb5QeGyHJFUCDoQpgePTbvnmEsZYZxknmrpK
      addresses:
        - prod-any-sync-node14.anyclub.org:443
        - prod-any-sync-node14.anyclub.org:1443
        - quic://prod-any-sync-node14.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWEGtP8w6CtqGFi597i5HToSm8XFTBiK51NJrjLAUAfdZx
      addresses:
        - prod-any-sync-node15.anyclub.org:443
        - prod-any-sync-node15.anyclub.org:1443
        - quic://prod-any-sync-node15.anyclub.org:5430
      types:
        - tree
    - peerId: 12D3KooWBk6PrHAVFLV4zbWFVUjX9MGomVhvcQdGg3UFWz24pBPY
      addresses:
        - prod-any-sync-filenode1.anyclub.org:443
        - prod-any-sync-filenode1.anyclub.org:1443
        - quic://prod-any-sync-filenode1.anyclub.org:5430
      types:
        - file
    - peerId: 12D3KooWLfWd1B7XmEGThYVMtBi3Vcy1Qsa6YckAivbdHSiwnV6b
      addresses:
        - prod-any-sync-filenode2.anyclub.org:443
        - prod-any-sync-filenode2.anyclub.org:1443
        - quic://prod-any-sync-filenode2.anyclub.org:5430
      types:
        - file
    - peerId: 12D3KooW9wrLnc3SeBt33LZDKsPeWRy82a5VqM23LxLqtrc4so45
      addresses:
        - prod-any-sync-filenode3.anyclub.org:443
        - prod-any-sync-filenode3.anyclub.org:1443
        - quic://prod-any-sync-filenode3.anyclub.org:5430
      types:
        - file
    - peerId: 12D3KooWKStBu7tNGumsNp2AnRWsm1XmcnWjZpcc6pKVrhG17sGc
      addresses:
        - prod-any-sync-coordinator1.anyclub.org:443
        - prod-any-sync-coordinator1.anyclub.org:1443
        - quic://prod-any-sync-coordinator1.anyclub.org:5430
        - prod-any-sync-coordinator1.toolpad.org:443
        - prod-any-sync-coordinator1.toolpad.org:1443
        - prod-any-sync-coordinator1.anytype.io:443
        - prod-any-sync-coordinator1.anytype.io:1443
      types:
        - coordinator
    - peerId: 12D3KooWDWktnygiEzZHqWhjQXoaKqR2KVqJJwrn6AfXHy2BHJqd
      addresses:
        - prod-any-sync-coordinator2.anyclub.org:443
        - prod-any-sync-coordinator2.anyclub.org:1443
        - quic://prod-any-sync-coordinator2.anyclub.org:5430
        - prod-any-sync-coordinator2.toolpad.org:443
        - prod-any-sync-coordinator2.toolpad.org:1443
        - prod-any-sync-coordinator2.anytype.io:443
        - prod-any-sync-coordinator2.anytype.io:1443
      types:
        - coordinator
    - peerId: 12D3KooWK6YnMBfMCQ442pTsW5WvFJDaEv4AzF2UTFWWUNEbENfL
      addresses:
        - prod-any-sync-coordinator3.anyclub.org:443
        - prod-any-sync-coordinator3.anyclub.org:1443
        - quic://prod-any-sync-coordinator3.anyclub.org:5430
        - prod-any-sync-coordinator3.toolpad.org:443
        - prod-any-sync-coordinator3.toolpad.org:1443
        - prod-any-sync-coordinator3.anytype.io:443
        - prod-any-sync-coordinator3.anytype.io:1443
      types:
        - coordinator
    - peerId: 12D3KooWAwesiM8z7XxkFCHWWVyHftX8nuM3jTZGJzcpbAcNcd3p
      addresses:
        - prod-any-sync-consensusnode1.anyclub.org:443
        - prod-any-sync-consensusnode1.anyclub.org:1443
        - quic://prod-any-sync-consensusnode1.anyclub.org:5430
      types:
        - consensus
    - peerId: 12D3KooWJcTe9hk9adMkEBUJVRtSKxs7QYaVEfV3JSsqHMKUekNo
      addresses:
        - prod-any-sync-consensusnode2.anyclub.org:443
        - prod-any-sync-consensusnode2.anyclub.org:1443
        - quic://prod-any-sync-consensusnode2.anyclub.org:5430
      types:
        - consensus
    - peerId: 12D3KooWEbFZ3xfrRDHfwfGHHbmDxE4AqyzqZDCD551e7S31tCjM
      addresses:
        - prod-any-sync-consensusnode3.anyclub.org:443
        - prod-any-sync-consensusnode3.anyclub.org:1443
        - quic://prod-any-sync-consensusnode3.anyclub.org:5430
      types:
        - consensus
    - peerId: 12D3KooWEja7WjymFFfwzUnuYtGy8SJQw1bUBjYoiZvxzxkfuTzY
      addresses:
        - prod-any-sync-ppnode1.anyclub.org:443
        - prod-any-sync-ppnode1.anyclub.org:1443
        - quic://prod-any-sync-ppnode1.anyclub.org:5430
      types:
        - paymentProcessingNode
    - peerId: 12D3KooWPThj9uJmh8sc5kexe1J5JUpg9taWbCZUq3bQaZqx6Rih
      addresses:
        - prod-any-sync-ppnode2.anyclub.org:443
        - prod-any-sync-ppnode2.anyclub.org:1443
        - quic://prod-any-sync-ppnode2.anyclub.org:5430
      types:
        - paymentProcessingNode
    - peerId: 12D3KooWCy5Ng34BB1psTVd6p86aXhgpxivDSc4jy14NKqax681X
      addresses:
        - prod-any-sync-nsnode1.anyclub.org:443
        - prod-any-sync-nsnode1.anyclub.org:1443
        - quic://prod-any-sync-nsnode1.anyclub.org:5430
      types:
        - namingNode
    - peerId: 12D3KooWAZSPR6AbBzNiCdgxUyfdpWR2ET25SKAVTWhujyTSjuDe
      addresses:
        - prod-any-sync-nsnode2.anyclub.org:443
        - prod-any-sync-nsnode2.anyclub.org:1443
        - quic://prod-any-sync-nsnode2.anyclub.org:5430
      types:
        - namingNode
creationTime: 2024-04-26T08:08:26-05:00

On a side-note, when launching AnyType now I'm seeing the following output on the CLI:

[21181:1028/161923.260279:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[21181:1028/161923.260329:ERROR:select_file_dialog_linux_portal.cc(291)] Failed to read portal version property
[ConfigManager].init: {
  channel: 'latest',
  theme: 'dark',
  debug: {},
  flagsMw: {},
  hideMenuBar: true,
  languages: [ 'en-US' ],
  systemInfo: true
}
[Server] start /tmp/.mount_AnytypFXes6I/resources/app.asar.unpacked/dist/anytypeHelper /home/mrus/.config/anytype
mw grpc: build on 2024-10-24 15:39:45 +0000 UTC at #13f78eee798bc655c87d8aa98a4d50fa42fe1140 (dirty)

gRPC server started at: 127.0.0.1:46005
gRPC Web proxy started at: 127.0.0.1:35923

[UpdateManager].init, channel:  latest
[InstallNativeMessaging] Manifest skipped: Chrome
[InstallNativeMessaging] Manifest written: /home/mrus/.config/chromium/NativeMessagingHosts/com.anytype.desktop.json
[InstallNativeMessaging] Manifest skipped: Brave
[InstallNativeMessaging] Manifest skipped: BraveFlatpak
Error occurred in handler for 'Api': [Error: The name org.freedesktop.secrets was not provided by any .service files]
(node:21181) UnhandledPromiseRejectionWarning: Error: The name org.freedesktop.secrets was not provided by any .service files
(Use `anytype --trace-warnings ...` to show where the warning was created)
(node:21181) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
16:19:32.677 › 2024/10/28 16:19:32 failed to sufficiently increase send buffer size (was: 208 kiB, wanted: 7168 kiB, got: 2048 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.

2024/10/28 16:19:32 failed to sufficiently increase send buffer size (was: 208 kiB, wanted: 7168 kiB, got: 2048 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.

16:19:32.744 › {"level":"ERROR","ts":"2024-10-28T16:19:32.744-0500","logger":"fileobject","msg":"delete migrated files in non personal spaces: space not exists"}

{"level":"ERROR","ts":"2024-10-28T16:19:32.744-0500","logger":"fileobject","msg":"delete migrated files in non personal spaces: space not exists"}

16:19:32.763 › {"level":"INFO","ts":"2024-10-28T16:19:32.762-0500","logger":"core.block.editor.spaceview","msg":"set space persistent info","spaceId":"xxx","spaceId":"xxx","accountStatus":"Unknown"}

{"level":"INFO","ts":"2024-10-28T16:19:32.762-0500","logger":"core.block.editor.spaceview","msg":"set space persistent info","spaceId":"xxx","spaceId":"xxx","accountStatus":"Unknown"}

16:19:32.766 › {"level":"INFO","ts":"2024-10-28T16:19:32.766-0500","logger":"core.block.editor.spaceview","msg":"set space persistent info","spaceId":"xxx","spaceId":"xxx","accountStatus":"Unknown"}

{"level":"INFO","ts":"2024-10-28T16:19:32.766-0500","logger":"core.block.editor.spaceview","msg":"set space persistent info","spaceId":"xxx","spaceId":"xxx","accountStatus":"Unknown"}

16:19:32.769 › {"level":"INFO","ts":"2024-10-28T16:19:32.768-0500","logger":"core.block.editor.spaceview","msg":"set space persistent info","spaceId":"bafyreia2qh5fpn6b4yv2stsbjixttzwub2vrobc6l4d2zvmbllfy2sadwq.1bzy9qe0x3o0s","spaceId":"bafyreia2qh5fpn6b4yv2stsbjixttzwub2vrobc6l4d2zvmbllfy2sadwq.1bzy9qe0x3o0s","accountStatus":"Deleted"}

{"level":"INFO","ts":"2024-10-28T16:19:32.768-0500","logger":"core.block.editor.spaceview","msg":"set space persistent info","spaceId":"bafyreia2qh5fpn6b4yv2stsbjixttzwub2vrobc6l4d2zvmbllfy2sadwq.1bzy9qe0x3o0s","spaceId":"bafyreia2qh5fpn6b4yv2stsbjixttzwub2vrobc6l4d2zvmbllfy2sadwq.1bzy9qe0x3o0s","accountStatus":"Deleted"}

16:19:32.932 › {"level":"ERROR","ts":"2024-10-28T16:19:32.932-0500","logger":"client.space","msg":"no extra state found"}

{"level":"ERROR","ts":"2024-10-28T16:19:32.932-0500","logger":"client.space","msg":"no extra state found"}

16:19:33.001 › {"level":"ERROR","ts":"2024-10-28T16:19:33.000-0500","logger":"anytype-mw-subscription","msg":"can't get relation spaceMainChatId: datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.000-0500","logger":"anytype-mw-subscription","msg":"can't get relation spaceMainChatId: datastore: key not found"}

16:19:33.617 › {"level":"ERROR","ts":"2024-10-28T16:19:33.617-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.617-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.624 › {"level":"ERROR","ts":"2024-10-28T16:19:33.624-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.624-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.630 › {"level":"ERROR","ts":"2024-10-28T16:19:33.630-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.630-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.641 › {"level":"ERROR","ts":"2024-10-28T16:19:33.640-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.640-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.648 › {"level":"ERROR","ts":"2024-10-28T16:19:33.648-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.648-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.657 › {"level":"ERROR","ts":"2024-10-28T16:19:33.657-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.657-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.665 › {"level":"ERROR","ts":"2024-10-28T16:19:33.665-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.665-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.666 › {"level":"ERROR","ts":"2024-10-28T16:19:33.666-0500","logger":"anytype-mw-subscription","msg":"can't get relation pageCover: datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.666-0500","logger":"anytype-mw-subscription","msg":"can't get relation pageCover: datastore: key not found"}

16:19:33.675 › {"level":"ERROR","ts":"2024-10-28T16:19:33.675-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.675-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.676 › {"level":"ERROR","ts":"2024-10-28T16:19:33.676-0500","logger":"anytype-mw-subscription","msg":"can't get relation pageCover: datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.676-0500","logger":"anytype-mw-subscription","msg":"can't get relation pageCover: datastore: key not found"}

16:19:33.684 › {"level":"ERROR","ts":"2024-10-28T16:19:33.684-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.684-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:33.685 › {"level":"ERROR","ts":"2024-10-28T16:19:33.685-0500","logger":"anytype-mw-subscription","msg":"can't get relation pageCover: datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.685-0500","logger":"anytype-mw-subscription","msg":"can't get relation pageCover: datastore: key not found"}

16:19:33.699 › {"level":"ERROR","ts":"2024-10-28T16:19:33.698-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

{"level":"ERROR","ts":"2024-10-28T16:19:33.698-0500","logger":"anytype-mw-subscription","msg":"can't get relation : datastore: key not found"}

16:19:42.878 › {"level":"WARN","ts":"2024-10-28T16:19:42.877-0500","logger":"anytype-mw-configfetcher","msg":"periodic call error","error":"unable to connect"}

{"level":"WARN","ts":"2024-10-28T16:19:42.877-0500","logger":"anytype-mw-configfetcher","msg":"periodic call error","error":"unable to connect"}

16:19:43.086 › {"level":"WARN","ts":"2024-10-28T16:19:43.085-0500","logger":"anytype-telemetry","msg":"grpc unary request is taking too long","method":"MembershipGetStatus","ver":2,"in_progress":true,"goroutines":"ultra-long-base-string","total":10081}

16:19:43.088 › {"level":"WARN","ts":"2024-10-28T16:19:43.086-0500","logger":"anytype-telemetry","msg":"grpc unary request is taking too long","method":"MembershipGetTiers","ver":2,"in_progress":true,"goroutines":"ultra-long-base-string","total":10080}

16:19:43.918 › {"level":"INFO","ts":"2024-10-28T16:19:43.917-0500","logger":"common.commonspace.headsync","msg":"sync done:","spaceId":"xxx","newIds":0,"changedIds":0,"removedIds":0,"already deleted ids":0,"peerId":"12D3KooWLNJbA9gUwccuhxyWvn2uyrNUt7AHYCaQV5FWTq6Ss7AR"}
{"level":"INFO","ts":"2024-10-28T16:19:43.917-0500","logger":"common.commonspace.headsync","msg":"sync done:","spaceId":"xxx","newIds":0,"changedIds":0,"removedIds":0,"already deleted ids":0,"peerId":"12D3KooWLNJbA9gUwccuhxyWvn2uyrNUt7AHYCaQV5FWTq6Ss7AR"}
{"level":"INFO","ts":"2024-10-28T16:19:43.918-0500","logger":"common.commonspace.headsync","msg":"sync done:","spaceId":"bafyreiehu5syifd2tk75hx4d3sk3wwbntfgb3b6k35susi2jjtbcxnugoe.1bzy9qe0x3o0s","newIds":0,"changedIds":0,"removedIds":0,"already deleted ids":0,"peerId":"12D3KooWLNJbA9gUwccuhxyWvn2uyrNUt7AHYCaQV5FWTq6Ss7AR"}

{"level":"INFO","ts":"2024-10-28T16:19:43.917-0500","logger":"common.commonspace.headsync","msg":"sync done:","spaceId":"xxx","newIds":0,"changedIds":0,"removedIds":0,"already deleted ids":0,"peerId":"12D3KooWLNJbA9gUwccuhxyWvn2uyrNUt7AHYCaQV5FWTq6Ss7AR"}
{"level":"INFO","ts":"2024-10-28T16:19:43.917-0500","logger":"common.commonspace.headsync","msg":"sync done:","spaceId":"xxx","newIds":0,"changedIds":0,"removedIds":0,"already deleted ids":0,"peerId":"12D3KooWLNJbA9gUwccuhxyWvn2uyrNUt7AHYCaQV5FWTq6Ss7AR"}
{"level":"INFO","ts":"2024-10-28T16:19:43.918-0500","logger":"common.commonspace.headsync","msg":"sync done:","spaceId":"bafyreiehu5syifd2tk75hx4d3sk3wwbntfgb3b6k35susi2jjtbcxnugoe.1bzy9qe0x3o0s","newIds":0,"changedIds":0,"removedIds":0,"already deleted ids":0,"peerId":"12D3KooWLNJbA9gUwccuhxyWvn2uyrNUt7AHYCaQV5FWTq6Ss7AR"}

16:19:44.450 › {"level":"WARN","ts":"2024-10-28T16:19:44.450-0500","logger":"anytype-telemetry","msg":"grpc unary request took too long","method":"MembershipGetStatus","ver":2,"error":null,"in_progress":false,"goroutines":"ultra-long-base-string","total":11446}

{"level":"WARN","ts":"2024-10-28T16:19:44.450-0500","logger":"anytype-telemetry","msg":"grpc unary request took too long","method":"MembershipGetStatus","ver":2,"error":null,"in_progress":false,"goroutines":"ultra-long-base-string","total":11446}

[repeats]

16:23:04.106 › {"level":"INFO","ts":"2024-10-28T16:23:04.106-0500","logger":"common.commonspace.headsync","msg":"sync done:","spaceId":"xxxx","newIds":0,"changedIds":0,"removedIds":0,"already deleted ids":0,"peerId":"12D3KooWLNJbA9gUwccuhxyWvn2uyrNUt7AHYCaQV5FWTq6Ss7AR"}

And yes, to prevent confusion: AnyType launches and asks me for the mnemonic every time, which is probably from where the first few lines of output come from. I once managed to get it to talk to KeePassXC and store its key there, but at some point it stopped working and I didn't bother to fix it yet.

AnthonyAkentiev commented 2 weeks ago

@mrusme Thank you very much for your help! I see a lot of messages like "grpc unary request is taking too long" and "unable to connect".

What's your current network setup? You said you're working in the "LAN" environment?

mrusme commented 2 weeks ago

@AnthonyAkentiev correct, right now I'm in a 10.0.0.0/24 network, where .1 is an OpenWRT router that NATs connections into three different networks, based on pre-configured metrics:

Each of the networks has .1, which is an ISP router/LTE router/Starlink router, that does who-knows-what and NATs connections to the internet. Tl;dr: I'm working behind a double NAT, in case that should be of relevance for AnyType.

Connections are secured using a Wireguard VPN. I have already tried disabling the VPN to see if the "unable to connect" messages disappear -- without success.

One other thing to mention is that I'm running OpenSnitch on my laptop, which however shows allow for anything *-anyhelper-related. I'm assuming it shouldn't be a local firewall issue.

I just picked any host from the Yaml you previously requested and tried a few things to see if it is reachable:

▲ ~ grpcurl prod-any-sync-node9.anyclub.org:443 describe
Failed to dial target host "prod-any-sync-node9.anyclub.org:443": remote error: tls: no application protocol
▲ ~ nc prod-any-sync-node9.anyclub.org 443
GET /index.html HTTP/1.1

▲ ~ curl https://prod-any-sync-node9.anyclub.org
curl: (35) OpenSSL/3.3.2: error:0A000460:SSL routines::tlsv1 alert no application protocol
▲ ~ ping prod-any-sync-node9.anyclub.org
PING prod-any-sync-node9.anyclub.org (16.62.211.6) 56(84) bytes of data.
64 bytes from ec2-16-62-211-6.eu-central-2.compute.amazonaws.com (16.62.211.6): icmp_seq=1 ttl=242 time=176 ms
64 bytes from ec2-16-62-211-6.eu-central-2.compute.amazonaws.com (16.62.211.6): icmp_seq=2 ttl=242 time=168 ms
^C
--- prod-any-sync-node9.anyclub.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 168.325/172.233/176.141/3.908 ms

It appears as if this specific host is reachable from my network. If you have any hints on how to debug this issue further I'm happy to do so. Thank you!

AnthonyAkentiev commented 2 weeks ago

@mrusme Thx!

Can you do a ping to one of our payment nodes? It seems like there is no connection to it from your network.

ping prod-any-sync-ppnode2.anyclub.org
alexjp commented 1 week ago

@AnthonyAkentiev Is this check really necessary every "10 seconds"?

Could it not be something like every minute or every 5 minutes? Since the timeframes for subscriptions are yearly or 3 years, doesn't "10 seconds" seem overkill?

Thanks! (and thanks for disabling it for local and custom network)

AnthonyAkentiev commented 1 week ago

@alexjp You are absolutely right. Here is the fix for local/custom modes - https://github.com/anyproto/anytype-heart/pull/1768

I will increase the timeout soon which will help you. Still, connectivity issue should be treated as an error and logged. So you still will get log msgs, but much less.

Thank you again for your help!

mrusme commented 1 week ago

@AnthonyAkentiev I have tried a different network, same issue.

A ping to the host you mentioned works flawlessly.