# AnySync Netcheck Tool

A simple tool that checks the ability to connect to Anytype nodes. It was created to test network and TLS (sync) issues.

The *Netcheck* Tool opens a connection to the coordinator nodes to establish communication with the libp2p protocol and *AnySync* handshakes, to attempt to execute network configuration requests.

***

### Download <a href="#p-42130-download-2" id="p-42130-download-2"></a>

You can download the version for your OS here:

{% embed url="<https://github.com/anyproto/any-sync-tools/releases>" %}

The .zip contains all our tools, but the sync check procedure requires only **“any-sync-netcheck”**.\
(The other file is our [self-hosting tool](https://github.com/anyproto/any-sync-tools/blob/main/any-sync-network/README.md).)

### Installation <a href="#p-42130-installation-3" id="p-42130-installation-3"></a>

**Build from source:**

`go install github.com/anyproto/any-sync-tools/any-sync-netcheck@latest`

***

#### Running The Tool <a href="#p-42130-runing-the-tool-5" id="p-42130-runing-the-tool-5"></a>

Execute the file named:

* `any-sync-netcheck`
* *or* `any-sync-netcheck -v` for a verbose output

***

#### Result <a href="#p-42130-result-6" id="p-42130-result-6"></a>

* If your sync is **working as expected**, your output log should look something like this:\\

  <figure><img src="https://2112047522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJbcKxgThRdSa4vZyLbvH%2Fuploads%2Fgit-blob-5424ac3596451291732b1577467b40017f5db64a%2FScreenshot%202023-08-02%20at%2016.40.02.png?alt=media" alt=""><figcaption></figcaption></figure>
* **If the tool detects any errors:** please provide all details about your network setup, including VPN, proxy, firewalls, and antivirus. In this event, we may request you to run a trace-route or other system tools for further analysis later on.

***

#### Send to Anyteam <a href="#p-42130-send-to-anyteam-7" id="p-42130-send-to-anyteam-7"></a>

Send the resulting log and your network specs to <support@anytype.io>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.anytype.io/anytype-docs/advanced/troubleshooting/anysync-netcheck-tool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
